My version: centos5.2
This is because the customer specified to use centos. (I checked it online. It turns out to be the RedHat Enterprise Edition of the parallel version! I like water products! It's cheap and affordable. It's still a big brand !)
So the task of porting Ubuntu to centos was born. Fortunately, this task does not work much.
First, download centos. A large capacity of 4.3 GB. Next night.
It is easy to install and follow the prompts. (I can't understand English. Sorry, I am very lazy and have no screen capture. If there is any difficulty, I have to answer a question. I have to learn from foreigners and I am very enthusiastic)
Install the lamp kit and use the yum tool (similar to the APT-Get tool of ubuntu. If not, refer to document 1). Several commands are used to solve the problem.
For installation instructions, see document 2.
Yum install MySQL
Yum install httpd
Yum install PHP
Install some plug-ins for PHP (if you can use these)
Yum install PHP-pdo php-mysql PHP-soap PHP-dom libxml2
Like other platforms, the Apache configuration file is added under/etc/httpd/CONF. d.
Relatively smooth!
References
[1] use of yum
[2] lamp installation