1. 使用xampp安装陪着apache,php和mysql
wget http://www.apachefriends.org/download.php?xampp-linux-x64-1.8.2-1-installer.run
su
chmod 755 xampp-linux-1.8.2-installer.run
./xampp-linux-1.8.2-installer.run
使用下面的命令开始运行 XAMPP:
/opt/lampp/lampp start
2. 或者自己安装Apache,php和mysql
3. 配置 mysql
# /etc/init.d/mysql stop
# /user/bin/mysqld_safe --user=mysql --skip-grant-tables --skip-networking &
# /user/bin/mysql -u root mysql
mysql> UPDATE user SET Password=PASSWORD(’newpassword’) where USER=’root’;
mysql> FLUSH PRIVILEGES;
mysql> quit
# /etc/init.d/mysql restart
4. 如果是自己安装的apache,则后面的操作根路径位于:/var/www/html/
wget http://testing.etao.com/sites/default/files/bugfree3.0.4.zip
mv bugfree3.0.4.zip /var/ww/html
unzip bugfree3.0.4.zip
rm bugfree3.0.4.zip
mkdir BugFile
chmod 777 -R BugFile
chmod 777 -R 。。。。。
全都改为可读写
使用浏览器打开 http://<servername>/bugfree/install
依次next