Linux上有Nginx,和Apach,类似于windows的IIS。
Niginx的初始化页面
------------------------------------------------------------------------------------------------------
Welcome to nginx on EPEL!
This page is used to test the proper operation of the nginx HTTP server after it has been installed. If you can read this page, it means that the web server installed at this site is working properly.
Website Administrator
This is the default index.html page that is distributed with nginx on EPEL. It is located in /usr/share/nginx/html.
You should now put your content in a location of your choice and edit the root configuration directive in the nginx configuration file/etc/nginx/nginx.conf.
cat /usr/share/nginx/html/inde.html就可以看到此页内容,vim就可以修改此页内容
启动php-fpm service,然后修改默认配置,实现nginx和php的联动,查看配置文件cat /etc/php-fpm.d/www.conf |grep -i 'listen ='