Installing WordPress Step 1B: Installing the WordPress Directory Directly on Linux (CentOS 6)

This post is part of a step-by-step series on installing WordPress on Linux (CentOS 6) I prefer to install things with yum (or any package manager) when I can, but unfortunately there are some limitations to the epel WordPress package as we discussed in the post about installing WordPress using yum. This post will deal…

Installing WordPress Step 1A: Installing the WordPress Directory Using yum on Linux (CentOS 6)

This post is part of a step-by-step series on installing WordPress on Linux (CentOS 6) I always prefer to install things using a package manager like yum (for RHEL and CentOS), instead of installing manually so I can avoid having to worry about dependencies. Furthermore it makes uninstalling much easier. Installing WordPress is no exception,…

Installing WordPress (Site and MultiSite) on Linux (CentOS 6) Full Step-by-Step Series

The following are the steps I went through to install WordPress on my Linux (CentOS 6). Installing Prerequisites Installing Different Versions of php Using yum on Linux (CentOS 6) Installing MySQL on Linux (CentOS 6) Production Server Installing WordPress Installing the WordPress Directory Using yum Without yum Setting Up MySQL Database Updating wp-config.php with Database…

Solving MySQL ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

I came upon this error after installing the latest version of MySQL using yum and securing it. The Error With mysqld running I tried to run mysql as follows: [ahmed@amayem ~]$ mysql ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) Different failed attempts: Here are more attempts to get it…

Replacing (yum-plugin-replace) one yum install package (php) with another on Linux (CentOS 6)

If you have installed software from one yum repository and want to upgrade it using packages in a different yum repository you may encounter some problems because of conflicts in packages. In those cases you would have to remove the old packages then install the new ones. For example I have installed php using the…