CentOS7中安装Xampp5.6.32

1. 切换到安装文件要放置的目录

cd /usr/local

2. 下载安装文件

wget https://sourceforge.net/projects/xampp/files/XAMPP%20Linux/5.6.32/xampp-linux-x64-5.6.32-0-installer.run

    也可以到https://sourceforge.net/projects/xampp/files/XAMPP%20Linux中找到想要的版本,目前XAMPP版本都与所集成的PHP版本一致,下载后传入/usr/local中

3. 加上执行权限

chmod 755 xampp-linux-x64-5.6.32-0-installer.run

4. 执行安装

./xampp-linux-x64-5.6.32-0-installer.run

5.安装中选项

[root@localhost local]# ./xampp-linux-x64-5.6.32-0-installer.run 
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want 
to install. Click Next when you are ready to continue.

XAMPP Core Files : Y (Cannot be edited)

XAMPP Developer Files [Y/n] :y

Is the selection above correct? [Y/n]: y

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press [Enter] to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: y

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################
----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.


6. 关闭防火墙

#停止firewall

systemctl stop firewalld.service 

#禁止firewall开机启动
systemctl disable firewalld.service

7. 启动XAMPP

#开启

/opt/lampp/xampp start 

#关闭

/opt/lampp/xampp stop 

#重启

/opt/lampp/xampp restart 






  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值