Linux下xmapp安装
1.下载Linux版xampp,地址https://www.apachefriends.org/zh_cn/index.html
2.修改xampp-linux-x64-5.6.8-0-installer.run权限 chmod 777 xampp-linux-x64-5.6.8-0-installer.run
3.安装xampp ./xampp-linux-x64-5.6.8-0-installer.run
4.安装好的默认目录为/opt/lampp,启动xampp /opt/lampp/lampp start,
单独启用apache, /opt/lampp/lampp startapache
5.修改apache默认启动的80端口
打开/opt/lampp/etc/httpd.conf 修改默认端口80为81
打开/opt/lampp/xampp文件,
if testport 80
then
$GETTEXT -s "fail."
echo "XAMPP: " $($GETTEXT 'Another web server is already running.')
return 1
fi
if testport 80 写死了,把80改成81
6.重新启动Apache,应该提示启动成功
另附查看端口和当前启动服务的命令
查看端口:netstat –apn
查看当前启动的服务:chkconfig --list |grep on
7.拷贝工程到htdocs目录
相关推荐
stefan0 2020-09-04
有梦就能实现 2020-06-13
清风徐来水波不兴 2020-06-01
孙雪峰 2020-04-06
newfarhui 2019-12-29
登峰小蚁 2019-12-27
翡翠谷 2019-11-06
bluet00 2019-11-03
hedongli 2011-02-28
81981539 2010-08-10
BeiJingMaDi 2009-12-19
82467208 2009-07-31
prettyice 2008-09-17
liuhangtiant 2013-05-20
muyangzhe 2016-04-05
代元培 2015-04-18
Aveiox 2014-01-08
辛苦的字幕君小样 2013-10-18