Sometimes when you are working with your Linux and you face an error and you go to a forum or help center, they ask for your Linux version in order to help you. I’m going to describe how to get your Linux version.
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.
Sometimes when you install your OS, the network interfaces are not enabled, or the network setting has set to Static IP but with a wrong IP. So when you face these situations you should setup your network first, in order to get your server connected to the network.
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:
To be brief, yum is an application that helps you manage you managing other applications, eg. install, update, remove, search, etc. You can use the following command to see the manual:
# man yum
But I’m going to introduce this useful application in details: