Software Development, Linux, and Windows

Notes on Software Development, Linux, and Windows


Posts about WordPress


Configure WordPress on CentOS to connect to a remote database

Sounds simple enough to do, but I ran into a problem along the way. I also go over the solution here. Login or switch user to root: su – Change directory to your wordpress installation: For me this is in /var/www/html/wordpress. cd /var/www/html/wordpress Edit the WordPress config file: vi wp-config.php Change the “MySQL hostname” setting: [...]

Posted in CentOS, Linux, MySQL, WordPress | Comments Off

Install WordPress on CentOS

Follow these steps to install WordPress on CentOS. Prerequisites: Install MySQL on CentOS 6.2 Install Apache and PHP on CentOS 6.2 Install WordPress: su – wget http://wordpress.org/latest.tar.gz tar -xvzf latest.tar.gz -C /var/www/html Create MySQL Database for WordPress: mysql -u root -p #create new user create user wordpress@localhost identified by “password”; #create new database create database [...]

Posted in Apache, CentOS, Linux, MySQL, WordPress | Comments Off