Tag Archives: command

Setup MySQL Server on CentOS or RHEL

One of the most common databases is MySQL and the best medium for this database type is Linux. To setup this database, you should follow the following steps in order to install it easily and securely.

These steps contains:

1. Installing MySQL server daemon
2. Installing MySQL module for PHP
3. Starting MySQL daemon
4. Follow security wizard
5. Set MySQL daemon to run at boot

These 5 steps are the most basic things you should do before using your server for business.

Continue reading Setup MySQL Server on CentOS or RHEL

Installing packages on CentOS / RHEL

Most of the times when you want to setup a server for specific matter, it’s recommended to install the OS in minimal mode and install packages you want individually and configure them one by one. You can choose different ways to install your desired packages:

  • Using YUM command
  • Using RPM command
  • Compiling each package

Each of these ways has it’s positive and negative points. that I’m going to write in brief:

Continue reading Installing packages on CentOS / RHEL