CentOS Archives - Elvin Lee https://elvinlee.my/tag/centos/ Learning is the discovery that something is possible. Mon, 07 Oct 2013 10:02:59 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 Install LAMP on CentOS 6.4 https://elvinlee.my/install-lamp-on-centos-6-4/ https://elvinlee.my/install-lamp-on-centos-6-4/#respond Wed, 29 May 2013 15:51:34 +0000 https://elvinlee.my/?p=59 LAMP is the short for Linux, Apache, MySQL, PHP. It is not a software, it’s actually a solution to run websites or servers on Linux.   1. Install Apache Server Apache is free open source software which runs over 50% of the world’s web servers. To install apache, open terminal and type: sudo yum install […]

The post Install LAMP on CentOS 6.4 appeared first on Elvin Lee.

]]>
LAMP is the short for Linux, Apache, MySQL, PHP. It is not a software, it’s actually a solution to run websites or servers on Linux.

 

1. Install Apache Server

Apache is free open source software which runs over 50% of the world’s web servers. To install apache, open terminal and type:

sudo yum install httpd

Once it installs, you may start the apache server:

sudo service httpd start

To check if Apache Server installed, direct the browser to the server’s IP address. (For example http://192.168.2.132/ or http://localhost ) You will see this:

 

How to find out your server’s IP Address

ifconfig eth0 | grep inet | awk '{ print $2 }'

 

2. Install MySQL

MySQL is a powerful database management system used for organizing and retrieving data on a virtual server. To install MySQL, open terminal and type:

sudo yum install mysql mysql-server php-mysql
sudo service mysqld start

Once it’s done, you may set a root MySQL password:

sudo /usr/bin/mysql_secure_installation

 

3. Install PHP

PHP is an open source web scripting language that is widely used to build dynamic webpages. To install PHP, open terminal and type:

sudo yum install php

 

You may set the processess run automatic when the server boots. (PHP will run automatically once Apache starts!)

sudo chkconfig httpd on
sudo chkconfig mysqld on

 

Congratulation! You have install LAMP on CentOS!

 

 

The post Install LAMP on CentOS 6.4 appeared first on Elvin Lee.

]]>
https://elvinlee.my/install-lamp-on-centos-6-4/feed/ 0
Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 https://elvinlee.my/install-centos-6-4-in-vmware-fusion-5-on-mac-os-x-10-6-8/ https://elvinlee.my/install-centos-6-4-in-vmware-fusion-5-on-mac-os-x-10-6-8/#respond Mon, 13 May 2013 16:44:16 +0000 https://elvinlee.my/?p=6 Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 What we need: Mac OS X 10.6.8 VMware Fusion 5, download and buy at http://www.vmware.com/products/fusion/overview.html CentOS 6.4 ISO Images, download at http://wiki.centos.org/Download About my Mac OS X 10.6.8:   About VMware Fusion 5:   Now, we start to install CentOs 6.4 in VMware Fusion […]

The post Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 appeared first on Elvin Lee.

]]>
Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8
CentOS 6.4

What we need:

About my Mac OS X 10.6.8:

About my Mac OS X 10.6.8

 

About VMware Fusion 5:

About VMware Fusion 5

 

Now, we start to install CentOs 6.4 in VMware Fusion 5.0. There are few steps to complete the installation. Before start the installation, please make sure your machine connected to internet. Here we go.

 

Step 1: Open VMware Fusion, choose New.

Open VMware Fusion

 

Step 2: You will see a New Virtual Machine Assistant, just select Continue without disc.

New Virtual Machine Assistant

 

Step 3: Select Use operating system installation disc or image.

Select Use operating system installation disc or image

 

Step 4: Select the installation ISO Image, CentOS-6.4-i386-bin-DVD1.iso

Select the installation ISO Image, CentOS-6.4-i386-bin-DVD1.iso

 

Step 5: Choose Operating System, VMware Fusion 5 will do an auto select.

Choose Operating System, VMware Fusion 5 will do an auto select

 

Step 6: Linux Easy Install, insert the Display Name, Account Name and Password.

Linux Easy Install

 

Step 7: VMware Tools Download, select Download.

VMware Tools Download

 

Step 8: Virtual Machine Summary, you may customize the settings of this virtual machine with select Customize Settings.

Virtual Machine Summary

 

Step 9: Installing

Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 Process 1

Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 Process 2

Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 Process 3

Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 Process 4

 

Step 10: Done

Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 Done 1

Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 Done 2

Now, CentOS 6.4 is installed successful in VMware Fusion 5 on Mac OS X 10.6.8. You may start to use CentOS 6.4 on Mac OS 10.6.8.

Please do hesitate to contact me if you found out any mistake.

The post Install CentOS 6.4 in VMware Fusion 5 on Mac OS X 10.6.8 appeared first on Elvin Lee.

]]>
https://elvinlee.my/install-centos-6-4-in-vmware-fusion-5-on-mac-os-x-10-6-8/feed/ 0