• Activities
    • Health
    • Education
    • Mobile
    • Sports
    • PSL
  • Economy
    • Auto Industry
    • Crypto Currency
    • Economy
    • Smart Devices
  • Tech
    • Startups
    • Social
    • Telecom
    • Technology
  • TechX World
+92 323 8324975
Wednesday, March 22, 2023
TechX Pakistan | Startups | FinTech | Crypto | EdTech | Reviews
Advertisement
  • Home
  • News
  • Premium Content
  • How To
  • Advertisement
  • Contact
  • About
No Result
View All Result
  • Home
  • News
  • Premium Content
  • How To
  • Advertisement
  • Contact
  • About
No Result
View All Result
TechX Pakistan | Startups | FinTech | Crypto | EdTech | Reviews
No Result
View All Result
  • Home
  • News
  • Premium Content
  • How To
  • Advertisement
  • Contact
  • About
Home How To

How To install WordPress manually using cPanel

Muhammad Kamal by Muhammad Kamal
November 22, 2022
in How To
Reading Time: 7 mins read
A A
Buy author a coffee
How To install WordPress manually using cPanel

WordPress (WP) is a popular content-management system (CMS). Its ease of use, numerous themes and plugins, and strong community support have propelled it to the top of the world’s solutions list. WordPress is used for a wide range of purposes, from simple blogs to complex websites.

What exactly is cPanel?

Your web hosting server account is managed through cPanel. Many control panels, such as Softaculous, will include automated WordPress installation script installers.

Download WordPress

The most recent official version of the CMS can be downloaded from the WordPress website. Download and save the zip file to your desktop computer.

After downloading the zip file, navigate to its directory and extract the entire archive. Make a note of the extracted content’s location and upload it to your web server.

Upload WordPress Install Script to Server

  1. Go to your cPanel account. You will find it by browsing to your_domain_name.com/cpanel.
  2. Enter your user credentials and log in.
  3. Find the File Manager tool and open it.
  4. Look for the public_html directory. The public_html directory is your web root, the directory in which you want to store all your websites.
  5. You need to decide on the location of your WordPress site. There are two options:
  • In the root directory of your domain (e.g., your_domain_name.com/)

Upload all contents of the WordPress folder, but not the folder itself. After the upload, all WP files and subfolders should reside in public_html.

  • In a subfolder of your domain (e.g., your_domain_name.com/site1).

Upload the entire WordPress folder. When finished, rename the WordPress folder to your desired name (e.g. techx.pk)

  1. Once you’ve extracted the WordPress installation archive, remove the zip file from your web server. Delete the zip file by right-clicking it.

The files should be extracted into a WordPress folder. That folder should contain all of the necessary WordPress folders and files. You can start the WordPress installation right now by going to your domain name.com/wordpress.

However, before you begin the installation process, you will need the following:

  • MySQL is a database.
  • A MySQL Database User with the necessary user credentials.
  • A database server.
  • If you want to run multiple WordPress sites in a single database, use a table prefix.
  • A One-of-a-Kind Phrase and Salt Key.

Return to cPanel to create a MySQL database and database user if you haven’t already.

Create a MySQL database and user

Use the MySQL Database Wizard in cPanel to accomplish this. This tool can be found under the Database tab.

  1. Create a database as the first step. Give your database a name. It will be prefixed with the name of your hosting account.
  2. Keep your database name in mind. It will come in handy later.
  3. Select Next Step to begin creating the database.

Users for the Database

The wizard will then ask you to create a database user.

  1. Create a username (no more than seven characters) and a password. The strength metre should ideally turn green and read Very Strong, indicating that the password is bulletproof. The username will be prefixed with the name of your hosting account.
  2. Note your password

Assign a User to the Database and Permissions

The newly created user does not have database access.

  1. Navigate to the page’s Add User To Database section.
  2. Select your newly created user from the User drop-down menu.
  3. From the Database drop-down menu, select your newly created database and click Add.
  4. The next step is to assign database permissions. Select the All Privileges checkbox for the first database user.
  5. Click Make Changes to assign the user privileges.
  6. To double-check, go back and scroll down to view the most recent databases. There should be a database and a privileged user associated with it.

Edit wp-config.php File

The database has been created, and the newly created super user has been assigned to the database. To complete the process, you must edit the wp-config-sample.php file using a text editor.

Admins need to insert four (4) pieces of information to complete the process. The lines below are an example, and the information you insert may look different.

// ** MySQL settings – You can get this info from your web host ** //
/** The name of the database for WordPress */
define(‘DB_NAME’, ‘paterpaker_demowp’);
/** MySQL database username */
define(‘DB_USER’, ‘paterpaker_dbuser’);
/** MySQL database password */
define(‘DB_PASSWORD’, ‘abc.123.!@#’);
/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

The important pieces of information are:

  • DB_NAME. Database name.
  • DB_USER. Username of the database user.
  • DB_PASSWORD. This is the database user password.
  • DB_HOST. In 99% of cases, it’s ‘localhost.’
    Make sure to include the prepended parts when typing the value for DB_NAME and DB_USER. Additionally, bear in mind that for most cPanel hosts, the DB_HOST value is ‘localhost.’

Run WordPress Install Scripts

To finish the installation, run the install script by browsing to your WP’s directory.

  • If you uploaded the files to the root directory, browse to http://your_domain_name.com/wp-admin/install.php
  • If you uploaded WP installation files to a subfolder, browse to http://your_domain_name.com/site1/wp-admin/install.php

In each case, once the install scripts are initiated, WordPress will prompt you to enter database details and write them in a new wp-config.php file. If this fails, you can go back and edit and upload the wp-config.php file yourself.

Complete the WordPress Installation

The next step is the well-known five-minute WP installation procedure. Enter details such as Site Title, your desired WordPress Username and Password, and your Email Address. Please note that the username and password are for this instance of WordPress only. Do not enter the same username and password you used for your database user.

All of this information can be changed later in the WordPress Admin.

Once you are finished, click Install WordPress. When the installation procedure is completed, WP will redirect you to the login screen.

Conclusion

If you have followed this tutorial step-by-step, you should have accomplished the following:

  • Downloaded and extracted the latest version of WordPress installation files.
  • Uploaded the files to your desired directory.
  • Created a MySQL database and database user.
  • Successfully updated the wp-config-sample.php file and renamed it to wp-config.php.
  • Run WordPress installation scripts, created your first WordPress admin user and named your website.
  • Installed and logged into WordPress.

To read our blog on “How To protect WordPress site from cyberattacks,” click here

 

 

Share48Tweet30Share8Send
Muhammad Kamal

Muhammad Kamal

Related Posts

How-to-use-smartboard-in-a-classroom-to-make-it-playful
How To

How to use Smartboard in a classroom to make it playful

by Huma Gull
March 16, 2023
how-to-use-ChatGPT-with-ease-in-an-effective-way
Technology

How to use ChatGPT with ease in an effective way

by Huma Gull
March 16, 2023
MS-Word-page-numbering;-How-to-do-it
How To

MS Word page numbering; How to do it

by Huma Gull
March 16, 2023
how-pakistan-can-avoid-the-risk-of-being-default
How To

How Pakistan can avoid the risk of being default

by Asad Hassan
March 2, 2023
how-to-recover-deleted-data-from-tecno-phones
How To

How to recover deleted Data from Tecno phones?

by Asad Hassan
January 30, 2023

Follow Us

Promoted

upcoming-phones-releases-which-ones-are-worth-waiting-for

Upcoming phones releases: Which ones are worth waiting for?

by Asad Hassan
March 21, 2023
0

Even if 2022 was a fantastic year to release excellent smartphones, 2023 is no less than 2022! In reality, everyone...

hostingwalay-participating-in-cxo-global-summit-expo-in-islamabad

HostingWalay participating in CXO Global Summit in Islamabad

by Asad Hassan
January 18, 2023
0

Everyday living involves the use of technology, and our Pakistani IT entrepreneurs are using their expertise to make their communities...

Gitex makes its debut in Africa, holding its first exhibition in Morocco in May 2023

Gitex makes its debut in Africa, holding its first exhibition

by Bilquees Anwar
November 28, 2022
0

Gitex, Dubai's premier technology exhibition, said on Tuesday that it was expanding into Africa. The first Gitex Africa will be...

Welcome to GITEX GLOBAL

Are you ready for the biggest tech event? GITEX Global

by Bilquees Anwar
September 2, 2022
0

As the year started with the global tech rout, ongoing inflationary concerns, and the recent rebound, yet the tech industry...

Recent News

Winners of the Microsoft Imagine Cup 2023 announced by HEC

Winners of the Microsoft Imagine Cup 2023 announced by HEC

March 22, 2023
Ramadan Timings for educational institutions announced by Edu. ministry

Ramadan Timings for educational institutions announced by Edu. ministry

March 22, 2023
lgs-16-mm-thin-laptop-gram-has-color-changing-feature

LG’s 16 mm thin laptop ‘Gram’ has color changing feature

March 22, 2023
meezan-bank-noted-as-best-islamic-retail-bank-in-world

Meezan Bank noted as ‘Best Islamic Retail Bank in the World

March 22, 2023
to-battle-apple-google-microsoft-plans-games-app-store

To battle Apple & Google, Microsoft plans games app store

March 22, 2023
Wyoming prohibits transgender from playing girls' sports

Wyoming prohibits transgender from playing girls’ sports

March 22, 2023
Currently Playing

Presence of Pakistan, Connexion Lounge sponsored by @MinistryofITTelecomPakistan @GitexTechWeek

Presence of Pakistan, Connexion Lounge sponsored by @MinistryofITTelecomPakistan @GitexTechWeek

00:01:40

#ITCN Asia ’22 | 21st International IT and Telecom Show | Curtains Opened | TechX Pakistan

00:05:28

London Tech Week 2022 Highlights | #Pakistan #Software

00:02:58

#Zindigi Future Fest ’22 Curtains Opened | Day 01 Glimpses | Tour | TechX Pakistan

00:03:13

Wait is Over, ITCN Asia Pakistan Tech Fest 2022 is live now!

00:01:44

CXO Meetup Dubai by Tech Destination Pakistan - P@SHA x PSEX x MoITT

00:02:41

Workshop on IT Investment Opportunities by Tech Destination Pakistan

00:00:56

Pakistan Pavilion at GITEX Dubai 2021

00:01:39

#GITEX 2021 Curtains Opened | Day 01 Glimpses | 5G | Technology | Tour | TechX Pakistan

00:01:33

GITEX Technology Week 2020 by TechX Pakistan - Official Media Partner

00:01:27
TechX Pakistan | Startups | FinTech | Crypto | EdTech | Reviews

In 2019, Mohammad Owais took the initiative of launching the TechX Pakistan. It is a blog project by assessing the gap in Local Technology & Social blogging. It has one simple goal of creating awareness about latest technological development in the world and especially in Pakistan. We break news, cover interviews, seminars and exhibitions locally and internationally both, related to IT Startups, IT best practices, Businesses, Automobiles, Smartphone Technology and Social Media.

© 2019 - 2023 TechX.PK - All Rights Reserved

No Result
View All Result
  • Home
  • News
  • Premium Content
  • How To
  • Advertisement
  • Contact
  • About

© 2019 - 2023 TechX.PK - All Rights Reserved

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

Are you sure want to unlock this post?
Unlock left : 0
Are you sure want to cancel subscription?
Go to mobile version