文档介绍:linux安装bugfree3详解
安装位置
网站管理用户:lampp/123456
Mysql用户:root/123456
首先下载XAMPP,解压
cn/
xampp-linux-
解压缩指令:tar -zxvf xampp-linux- -C /opt
确认环境
安装之前首先确认你服务器的80端口有没被占用
netstat -an|grep -w 80
如果被占用了请先关闭相关服务,XAMPP启动要用到80端口.
启动lampp
[******@localhost ~]# opt/lampp/lampp start
您应该能在屏幕上看到类似下面的提示信息:
Starting XAMPP ...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
配置XAMPP
设置密码
[******@localhost ~]# /opt/lampp/lampp security
屏幕提示如下
[******@YDRH-YHQ lampp]# lampp security
XAMPP: Quick security check...
XAMPP: Your XAMPP pages are NOT secured by a password.
XAMPP: Do you want to set a password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Password protection active. Please use 'lampp' as user name!
/opt/lampp/bin/mysql: Unknown OS character set 'GB18030'.
/opt/lampp/bin/mysql: Switching to the default character set 'latin1'.
XAMPP: The MySQL/phpMyAdmin user pma has no password set!!!
XAMPP: Do you want to set a password? [yes]
XAMPP: Password:
XAMPP: Password (again):
XAMPP: Setting new MySQL pma password.
/opt/lampp/bin/mysql: Unknown OS character set 'GB18030'.
/opt/lampp/bin/mysql: Switching to the default character set 'latin1'.
/opt/lampp/bin/mysqladmin: Unknown OS character set 'GB18030'.
/opt/lampp/bin/mysqladmin: Switching to the default character set 'latin1'