最新消息:XAMPP默认安装之后是很不安全的,我们只需要点击左方菜单的 "安全"选项,按照向导操作即可完成安全设置。

CentOS7系统安装Xampp5.6.32

XAMPP教程 admin 166浏览 0评论

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
————————————————
版权声明:本文为CSDN博主「mmhh3000」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog. csdn .net/mmhh3000/article/details/78673752

转载请注明:XAMPP中文组官网 » CentOS7系统安装Xampp5.6.32

您必须 登录 才能发表评论!