Teo En Ming's Notes on Installing Wordpress Blogging Platform Manually

Subject: Teo En Ming's Notes on Installing Wordpress Blogging Platform Manually


Author: Mr. Turritopsis Dohrnii Teo En Ming (TARGETED INDIVIDUAL)

Country: Singapore

Date: 28 Oct 2021 Thursday Singapore Time


Type of Publication: Plain Text

Document Version: 20211028.01


DETAILED INSTRUCTIONS

=====================


Login to MySQL.


# mysql -u root -p


To get the database name,


mysql> show databases;


To know the database user,


mysql> SELECT user FROM mysql.user;


Changing password for database user,


mysql> SET PASSWORD FOR 'DATABASE USER'@'localhost' = PASSWORD('NEW USER PASSWORD');


mysql> FLUSH PRIVILEGES;


mysql> quit;


# mysql -u <DATABASE USER> -p


Download Wordpress from this link https://wordpress.org/latest.zip


Extract the zip file using 7-zip.


Rename the wordpress folder to blog.


Upload the folder named blog to your hosting account using FTP. You must upload it into the public_html folder.


Uploading thousands of files using FileZilla FTP client is too slow. I will change method.


# cd /home/turritopsis-dohrnii-teo-en-ming/


# cd public_html/


# wget https://wordpress.org/latest.tar.gz


# tar xfvz latest.tar.gz


# mv wordpress/ blog


# cd blog/


# mv wp-config-sample.php wp-config.php


# nano wp-config.php


/** The name of the database for WordPress */

define( 'DB_NAME', 'database_name_here' );


/** MySQL database username */

define( 'DB_USER', 'username_here' );


/** MySQL database password */

define( 'DB_PASSWORD', 'password_here' );


# chown -R turritopsis-dohrnii-teo-en-ming:turritopsis-dohrnii-teo-en-ming blog


# chown turritopsis-dohrnii-teo-en-ming:turritopsis-dohrnii-teo-en-ming latest.tar.gz


Go to https://www.turritopsis-dohrnii-teo-en-ming.com/blog/wp-admin/install.php using your web browser.


Follow "Step 6: Complete the Installation" at the following link.


Link: https://www.hostgator.com/help/article/how-to-install-wordpress-manually


Mr. Turritopsis Dohrnii Teo En Ming, 43 years old as of 28 Oct 2021, is a TARGETED INDIVIDUAL living in Singapore. He is an IT Consultant with a Systems Integrator (SI)/computer firm in Singapore. He is an IT enthusiast.





REFERENCES

===========


[1] https://pastebin.com/raw/A8FVFpF0


Comments

Popular posts from this blog

[24 Mar 2022 Thursday] Erectile Dysfunction and Viagra

Patching Linux Kernel 5.5.7 to Add Support for AUFS Filesystem