在192.168.1.102和192.168.1.103操作

 

一、安装httpd+php(Centos 6默认已安装httpd):

yum install -y php php-mysql php-xcache

 

service httpd start         //启动httpd服务

 

 

二、验证:

vim /var/www/html/test.php        //创建测试用页面

 

基于NFS实现lamp的负载均衡之五: 部署httpd+php

 

基于NFS实现lamp的负载均衡之五: 部署httpd+php

 

基于NFS实现lamp的负载均衡之五: 部署httpd+php

 

 

 


转载于:https://blog.51cto.com/362475097/1889130

相关文章:

  • 2021-09-07
  • 2021-11-15
  • 2021-05-07
  • 2021-08-18
  • 2022-12-23
  • 2021-04-19
猜你喜欢
  • 2021-12-26
  • 2021-07-30
  • 2021-10-21
  • 2021-08-11
  • 2022-01-21
  • 2021-11-19
相关资源
相似解决方案