In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly explains the "detailed process of CentOS system installation". The content of the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "the detailed process of CentOS system installation".
There are many installation tutorials for CentOS systems, but they are not comprehensive or there are some errors. Or the explanation is not detailed and too general. Here we give a detailed installation plan for the installation of the CentOS system. In the way of sharing pictures and text, I hope to be able to solve everyone's confusion.
CentOS system is the commercial version of Red Hat Enterprise Linux (RHEL) free version, is the ideal operating system architecture LAMP, the stability is very good, and Ubuntu is different, CentOS system is mainly used for the server rather than the desktop environment, many large commercial websites use CentOS system, I in the "LAMP website architecture program analysis" has described a series of architecture programs, here CentOS system as an example to talk about the installation and construction of the LAMP environment.
First of all, you need to download the ISO of the CentOS system. The download address is here. The current * version is 5.3. there are two forms of downloading files. One is the CD version of the CD, which requires six disks. The files to be downloaded are 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, one is the DVD version, you need a disk, and the download file is CentOS-5.3-i386-bin-DVD.iso,3.7G capacity.
After the download is completed, use Nero and other disc burning software to convert and burn the ISO image file to install CD or DVD CD.
Then format the server hard disk, insert it into the CD or DVD disk and start it, and you can enter the installation program of the CentOS system.
When the CD starts, the "boot:" prompt appears, and press enter directly to enter the graphical installation interface. If there is a question about whether to test the CD media, choose "Skip" to skip the test.
In the language selection interface, if you need to use a Chinese system, select simplified Chinese for installation.
The keyboard selection is "American English".
In the subsequent partition settings, if the hard drive does not have another system, you can choose to delete all partitions, and if there is a Windows system, you can choose to delete Linux partitions.
Next is the network configuration, you can configure the network address according to your actual situation.
Set the time zone and choose the corresponding city according to your own time zone.
Next, set the root password, because root is a system administrator user, so set a strong password to prevent cracking.
In the installation application interface, because we are going to install the LAMP environment, so the key point is "customize now".
In Server, check World wide Web Server.
Click "optional package" and select the module to be installed. Modules such as Apache, MySQL and PHP will be installed by default.
After that, the CentOS system will prompt you which installation discs you need and have them ready.
The next step is the installation process, where the CentOS system will prompt you to change the disk.
After the installation is complete, you will enter a configuration interface.
In the firewall setting, we need to open the HTTP port because we are going to set up a website.
You can then create a personal account for non-administrative use.
After the restart, the installation is completed, enter the login interface of the CentOS system, and enter the password of the login user root and root to log in.
After entering the user name and password, you will enter the main interface of the CentOS system.
In "system"-"Administration"-"Services", check httpd and mysqld so that they can start the service automatically.
Next, go to the terminal interface, edit the / etc/httpd/conf/httpd.conf file, you can set up the Apache server in detail, test the PHP file, and create a new file to / var/www/html/info.php, as follows: phpinfo ();? >
Use Firefox to open http://127.0.0.1/info.php, and if the interface shown in the figure shows that PHP has been configured successfully.
Thank you for your reading, the above is the content of "the detailed process of CentOS system installation". After the study of this article, I believe you have a deeper understanding of the detailed process of CentOS system installation, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
Learning goal: to be continued >
© 2024 shulou.com SLNews company. All rights reserved.