Skip to main content

How To Install WordPress Manually on your Cpanel



Image result for wordpress cpanel



Just simply follow the steps. 

Step 1:

Download the most recent version of WordPress to a location of your choice at  WordPress.org

Download-WordPress
  • Google+
  • Facebook
  • Twitter

Step 2:

Upload and extract the WordPress .ZIP file to your desired installation directory.
Okay so at this point I am assuming that you already have a hosting provider using cPanel and that you have already created an Add-On Domain or Subdirectory.
Within the File Manager, locate and navigate to that directory. From the top toolbar of the cPanel, select “Upload” and browse for the file you downloaded from WordPress.org. Once the .ZIP file has finished uploading, return to the directory by clicking the “← Go Back to “/home/yourserverhere/public_html/yoursitehere” link.
Within the directory root you will now see the wordpress.zip file. Click on this file to select it and then from the cPanel tool bar at the top, click “extract”. After that click “reload” in the cPanel toolbar and you will see the extracted wordpress folder. You can now delete the .ZIP file in order to keep everything nice and clean.

Step 3:

Move files from the wordpress folder back into the directory root.
Double click on the newly extracted “wordpress” folder and you should now see all the WordPress files. From the cPanel toolbar, click on the box “Select All”. All of the WordPress files should now be highlighted. In the cPanel toolbar select “Move File” and a modal will pop up with a directory link “/public_html/yourdirectoryname/wordpress”. Remove the “/wordpress” tail from the end of the path and click Move File(s). All files should now be moved to your directory root and click “Up One Level” from the toolbar to view them.

Step 4:

Create a database and database user
We have finished the initial steps and now it’s time to setup the database that will power your website. Navigate to your cPanel’s main dashboard and locate/click the icon “MySQL Database Wizard”.
cPanel-X---Create-DB
  • Google+
  • Facebook
  • Twitter
Once inside the Database Wizard you will be prompted to create a New Database. Your database prefix will appear followed by an underscore and a blank area for you to populate your database name “yourserver_blankarea“. In the blank area you will enter your database name and keep it in a safe spot for a future step. The database name should be at least 3 characters and only contain alphanumeric characters. After filling in the name click “next step”.
cPanel-X---MySQL®-Database-Wizard-1
  • Google+
  • Facebook
  • Twitter
You will now be prompted to create a Database User. Your database prefix will appear again followed by an underscore and a blank area for you to populate your database username “yourserver_username“. The database username cannot contain more than seven alphanumeric characters. Save the username to a safe location for future use. Now either manually enter a password of your choice or use the provided “Password Generator”… just make sure that your password is strong and secure. Now click on the button “Create User”.
wordpress-database-user
  • Google+
  • Facebook
  • Twitter
Now that you have created the Database User, you will be brought to a page that asks you to assign privileges. Tick the box at the top that reads “All Privileges” and then click the button “Next Step”. Your database is now set up and you can now move on to plugging the database information into the wp-config.php file.

Step 5:

Populate the wp-config.php file with your database information
Okay now it is time to navigate back to the proper directory in the file manager with your database information handy. In your site’s directory root, locate the file named “wp-config-sample.php“. Click on this file and then select “Code Editor” from the top toolbar, click “Edit” and open the .php file.
Now that the wp-config-sample.php file is open in the Code Editor, it is time to start adding your database information…
Locate the line that reads “define(DB_NAMEdatabase_name_here);” and add your database name.
Locate the line that reads “define(DB_USERusername_here);” and add your database username.
Locate the line that reads “define(DB_PASSWORDpassword_here);” and add your database password.
cPanel-File-Manager-sample-config-file
  • Google+
  • Facebook
  • Twitter

Step 6:

Replace default Unique Keys and Salts
With your wp-config-sample.php file still open in the Code Editor, navigate to the section that reads “*Authentication Unique Keys and Salts”. Copy URL and paste it to your browser. Copy the Unique Phrase and Salt Keys generated by the WordPress API and replace the default ones located in the wp-config-sample.php file. Once you are finished with that, hit “Save” and exit the Code Editor and return to the directory root.
WordPress wp-config salt keys
  • Google+
  • Facebook
  • Twitter

Step 7:

Rename “wp-config-sample.php” to “wp-config.php”
Now that you are back in the directory’s root, single click on the wp-config-sample.php file to highlight it. From there click on the “Rename” icon in the top toolbar and rename “wp-config.sample.php” to “wp-config.php”. Click the “Rename File” button and you’re all finished with this phase.
rename-wp-config-file
  • Google+
  • Facebook
  • Twitter

Step 8:

Run the WordPress Installation Script
At this point you are all finished with the cPanel portion of this process… congrats!
Now it is time to run the WordPress Installation Script, you will be brought to a page with the URL “https://example.com/wp-admin/install.php”. Replace the “example.com” with the address of the website you are creating. Hit Return/Enter on your keyboard and the install process will begin.
Once you have arrived at the next screen, select the language of choice for your WordPress install and click “continue”.
You will then be brought to a page prompting you to enter all of your website’s pertinent information such as the site title, your username, your password, and email address. If you are developing a new site at this address, it may also be a good idea to tick the box “Discourage search engines from indexing this site” so Google, Bing, etc. don’t index your site before it is populated with content and ready to launch.
wordpress-install-name-site
  • Google+
  • Facebook
  • Twitter
Once you have filled in all of the information, hit “Install WordPress” and you are all finished! You will be asked to log in to your new site with your provided username and password and you can now begin to build your masterpiece.





This is for personal documentation purposes.


THANK YOU!




















Comments

Popular posts from this blog

Reset 120 day RDS Grace period on 2016 and 2019

  Reset 120 day RDS Grace period on 2016 and 2019 Enter the following command to check Grace Period: wmic /namespace:\\root\CIMV2\TerminalServices PATH Win32_TerminalServiceSetting WHERE (__CLASS !=””) CALL GetGracePeriodDays  Confirm-deletion-of-the-timebomb-key-in-the-registry If you have a home lab environment or another lab where you continually test various solutions, licensing, and trial expiration is a challenge that you constantly tend to run into. It is just part of the fun of lab environments. While most trials are fairly “hard and fast” and don’t allow you to reset the trial expiration, if you work with Microsoft Windows Server and Remote Desktop Services (RDS), there is a “hack” that allows you to effectively reset the expiration of  Remote Desktop  Services grace period where you can essentially rewind the clock on your RDS licensing if you are making use of this role inside your lab environment. I am using Windows Server 2019 for my Windows workloads in...

Remote Desktop Services session timeout Setup in RD Session Host in Windows Servers

  If you face a session time-limit policy issue that gets disconnected in the meantime. You can follow the steps below in order to fix the issue, By default, the user’s RDP session in Windows may stay disconnected until the user or administrator terminates, or the computer is restarted. However, it is quite convenient since a user may connect to his old RDP session and go on working with running programs. In order to terminate disconnected RDP/RDS sessions automatically in a specified time period, you need to set session limits (time-outs) correctly. If you are using an RDS server, you will have to configure session time-out parameters from the RDS collection settings in the Session tab menu. You will have to Specify the time period after which you want to disconnect the RDP session. Lastly, a disconnected session option (by default, a session period is unlimited – Never). Thus, you can set the maximum duration of an active session (Active session limit) and end an idle session (Id...

GitLab Repository Command Line Instructions

Start project repository Command line instructions You can also upload existing files from your computer using the instructions below. Git global setup git config --global user.name "Jaime Moncada" git config --global user.email "jaimemoncadajr@gmail.com" Create a new repository git clone https://gitlab.com/jaimemoncadajr/library-system.git cd library-system touch README.md git add README.md git commit -m "add README" git push -u origin master Push an existing folder cd existing_folder git init git remote add origin https://gitlab.com/jaimemoncadajr/library-system.git git add . git commit -m "Initial commit" git push -u origin master Push an existing Git repository cd existing_repo git remote rename origin old-origin git remote add origin https://gitlab.com/jaimemoncadajr/library-system.git git push -u origin --all git push -u origin --tags Credit :  https://gitlab.com OR Simple Way to Push an existing ...