Linux服务器-XAMPP快速配置

1、下载XAMPP

wget 地址
wget https://www.apachefriends.org/xampp-files/7.2.12/xampp-linux-

2、授权

chmod 777 ./xampp-linux-x64-7.2.12-0-installer.run

3、执行

./xampp-linux-x64-7.2.12-0-installer.run
安装过程中,遇到选项,全部选y

4、安装步骤完成

启动
/opt/lampp/lampp start
关闭
/opt/lampp/lampp stop
重启
/opt/lampp/lampp restart
关闭ftp
/opt/lampp/lampp stopftp

5、配置密码

/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):

用户名默认是:xampp

设置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):

 

本文参考: 

https://blog.csdn.net/hel12he/article/details/49781813

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值