36 articles Linux System Administration Page 3 / 8

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…

Enabling php in Apache on Linux (CentOS 6) by Loading the Module in httpd.conf

Though installing different versions of php using yum should enable php automatically on Apache 2.2, in case there is a problem and it is not enabled this tutorial shows how to enable it. Make Sure php Is Installed We are assuming php has already been installed. If yum was used you can check this way:…