CentOSComments (0)

CentOS Linux is a community-supported distribution derived from sources freely provided to the public by Red Hat for Red Hat Enterprise Linux (RHEL). As such, CentOS Linux aims to be functionally compatible with RHEL. The CentOS Project mainly change packages to remove upstream vendor branding and artwork. CentOS Linux is no-cost and free to redistribute. Each CentOS version is maintained for up to 10 years (by means of security updates -- the duration of the support interval by Red Hat has varied over time with respect to Sources released). A new CentOS version is released approximately every 2 years and each CentOS version is periodically updated (roughly every 6 months) to support newer hardware. This results in a secure, low-maintenance, reliable, predictable and reproducible Linux environment.


You need sign in to comment! Sign up today!

Managing Software with yumComments (0)

To display a list of updated software
yum list updates

To update the system including security fixes:
yum update

To list all installed packages:
rpm -qa
yum list installed

To search for a package:
yum list package-name
yum search package-name

To install package, example mc:
yum install package-1 package-2
yum install mc

To display a list of all available packages:
yum list all

To remove a package:
yum remove


You need sign in to comment! Sign up today!

Installing LAMP on CentOS 6.5Comments (0)

To install the server as a Linux - Apache - MySQL and PHP server (LAMP), follow these instructions:

To install Apache:
yum install httpd

To start Apache:
service httpd start

To install MySQL:
yum install mysql-server

To start MySQL:
service mysqld start

To secure the MySQL service and set root password:

To install PHP:
yum install php php-mysql

Verify the installation by creating a new file:
nano /var/www/html/info.php

Add the following code within the phpbrackets:


You need sign in to comment! Sign up today!