cd bugfree
mkdir BugFile
chmod 777 BugFile
E:配置
这里注意服务器名写localhost或者服务器的IP地址
数据库名随便
用户名:root
密码为空,不要填写
前缀:随意
D:完成安装
6. 允许远程访问bugfree
关闭linux下的防火墙,允许远程访问bugfree,注意远程访问的IP地址就不要写localhost了,改成bugfree机器的ip
疑问用此方式安装后,bugfree可以正常访问。但使用service mysqld status,service httpd status无法看到,得用ps -ef|grep mysql命令来查看。
linux版本的xampp是如下命令:
/opt/lampp/bin/mysqladmin -u root -p password 新密码
请注意,更改 root 的密码之后,不要忘记更改 PHPMyAdmin 中的相关信息。在 \...\xampp\phpmyadmin\ 下搜索“config.inc.php”并编辑下面几行:
$cfg['Servers'][$i]['user'] = 'root'; // MySQL SuperUser
$cfg['Servers'][$i]['auth_type'] = 'http'; // HTTP MySQL authentification
从今往后,需要正确输入“root”的密码才能启动 PHPMyAdmin