安装过程 1. 安装Linux服务器 最小安装CentOS 后 需要设置开启防火墙的80\443和22端口 #/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT #/sbin/iptables -I INPUT -p tcp --dport 22 -j ACCEPT 然后保存: #/etc/rc.d/init.d/iptables save 2. 利用WinSCP通过Windows远程传送xampp 软件到/home/或在Centos中直接wget软件包 Xampp官方下载地址
https://www.apachefriends.org/download.html 3. 安装xampp软件 执行命令 #cd /home/ # chmod 755 xampp-linux-*-installer.run # ./xampp-linux-*-installer.run 4.为Xampp完善安全性设置 执行命令 #/opt/lampp/lampp security 5.启动LAMP服务 #/opt/lampp/lampp start (更多关于Xampp相关的资料可以参见官方FAQ:
https://www.apachefriends.org/faq_linux.html)
转载于:https://my.oschina.net/u/2523939/blog/531706