一、下载run文件
wget 地址
wget https://www.apachefriends.org/xampp-files/7.2.12/xampp-linux-x64-7.2.12-0-installer.run
二、授权
chmod 777 ./xampp-linux-x64-7.2.12-0-installer.run
三、执行文件
./xampp-linux-x64-7.2.12-0-installer.run
安装过程中,遇到选项,全部选y
四、安装完成
启动
/opt/lampp/lampp start
关闭
/opt/lampp/lampp stop
重启
/opt/lampp/lampp restart
关闭ftp
/opt/lampp/lampp stopftp
四、部署环境配置安全密码
/opt/lampp/lampp security
设置xampp的密码:
XAMPP: Quick security check…
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes] yew
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
设置phpMyAdmin的密码:
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
XAMPP: Setting phpMyAdmin’s pma password to the new one.
设置mysql的root账户:
XAMPP: MySQL has no root passwort set!!!
XAMPP: Do you want to set a password? [yes] yes
XAMPP: Write the password somewhere down to make sure you won’t forget it!!!
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL root password.
XAMPP: Change phpMyAdmin’s authentication method.
设置ftp密码:
XAMPP: The FTP password for user ‘daemon’ is still set to ‘xampp’.
XAMPP: Do you want to change the password? [yes] yes
XAMPP: Password:
XAMPP: Password (again):
网友评论