CentOS system installation graphic tutorial

Source: Internet
Author: User
Tags strong password
There are many installation tutorials for CentOS systems, but they are incomplete or have some errors. Or the explanation is not detailed, which is too general. Here we provide a detailed installation solution for CentOS system installation. We hope to solve everyone's puzzles by sharing images and texts. CentOS is a commercial version of RedHatEnterpriseLinux (RHEL) Free

There are many installation tutorials for CentOS systems, but they are incomplete or have some errors. Or the explanation is not detailed, which is too general. Here we provide a detailed installation solution for CentOS system installation. We hope to solve everyone's puzzles by sharing images and texts.

CentOS is a free version of Red Hat javasiselinux (RHEL) for commercial use. it is an ideal LAMP operating system with excellent stability. unlike Ubuntu, CentOS is mainly used for servers rather than desktop environments, many large commercial websites use the CentOS system. I once described a series of architecture solutions in LAMP website architecture solution analysis, here we take the CentOS system as an example to describe how to install and build the LAMP environment.

First, download the ISO of the CentOS system. click here. the latest version is 5.3. There are two types of files to download. one is the CD version and six disks are required, to download the file for CentOS-5.3-i386-bin-1of6.iso, CentOS-5.3-i386-bin-2of6.iso, CentOS-5.3-i386-bin-3of6.iso, CentOS-5.3-i386-bin-4of6.iso, CentOS-5.3-i386-bin-5of6.iso, CentOS-5.3-i386-bin-6of6.iso, a DVD version, to a disk, download file for CentOS-5.3-i386-bin-DVD.iso, 3.7G capacity.

After the download is complete, use the Nero and other CD recording software to convert and burn the ISO image file into a CD or a DVD.

Format the server hard disk, insert it into the first disk of the CD or DVD, and start the installation program of the CentOS system.

When the disc starts, the "boot:" prompt appears. press enter to enter the graphic installation interface. If you have a question about whether to test the CD media, select "Skip" to Skip the test.

On the language selection page, select simplified Chinese for installation if you want to use a Chinese system.

Select "American English style" as the keyboard ".

In the subsequent partition settings, if the hard disk does not have other systems, you can choose to delete all Partitions. if there is a Windows system, you can choose to delete Linux partitions.

Next, configure the network. you can configure the network address based on your actual situation.

Set the time zone and select a city based on your own time zone.

Next, set the root password. because root is a system administrator user, set a strong password to prevent cracking.

In the installation of the application software interface, because we want to install the LAMP environment, we should click "customize now ".

In "server", select "World Wide Web Server ".

Click "optional software packages" and select the module to be installed. by default, modules such as Apache, MySQL, and PHP are installed.

Then, the CentOS system will prompt you to prepare the installation discs.

Next is the installation process. The CentOS system will prompt you to change the disk.

After the installation is complete, a configuration page is displayed.

In firewall settings, we need to open the HTTP port because we need to set up a website.

Then, you can create an unmanaged personal account.

After the restart, the installation is complete. on the logon page of the CentOS system, enter the root user and root password to log on.

Enter the user name and password to go to the main interface of the CentOS system.

In "system"-"management"-"service ",MysqlD check to enable the service to automatically start.

Next, go to the terminal interface and edit/etc/httpd/conf/httpd. conf file. you can perform detailed settings on the Apache server and test the php file. you can create a file to/var/www/html/info. php with the following content: phpinfo () ;?>

Use Firefox to open http: // 127.0.0.1/info. php. if the page is displayed, PHP is configured successfully.

So far, a complete LAMP (Linux + Apache + MySQL + PHP) environment in CentOS has been installed.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.