CentOS 6.4利用xampp安裝bugfree3

來源:互聯網
上載者:User

標籤:style   http   strong   檔案   os   art   

1、下載xampp 安裝

http://www.apachefriends.org/zh_cn/xampp.html

直接執行.run檔案安裝  預設會安裝到/opt/lampp

 

2 、啟動xampp

[[email protected] ~]# opt/lampp/lampp start

Starting XAMPP 1.7.2...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.

 

3 、配置xampp

[[email protected] ~]# opt/lampp/lampp security

分別設定xampp頁面密碼;phpMyAdmin使用者pma密碼;mysql的root密碼;ftp使用者daemon密碼。

 

 

4、設定mysql 允許遠端連線

[[email protected] ~]# /opt/lampp/bin/mysql -u root -p  (進入mysql)

mysql> USE mysql; -- 切換到 mysql DB

Database changed

mysql> GRANT ALL PRIVILEGES ON *.* TO ‘root‘@‘用戶端IP‘ IDENTIFIED BY ‘root密碼‘ WITH GRANT OPTION;

mysql> flush privileges;

Query OK, 0 rows affected (0.00 sec)

 

5、安裝配置bugfree

[[email protected] ~]# unzip bugfree3.zip

將解壓目錄移動到 /opt/lampp/htdocs/目錄下

由main.sample.php複製產生main.php

[[email protected] ~]#  cd  /opt/lampp/htdocs/bugfree3/protected/config/

[[email protected] ~]#  cp  main.sample.php  main.php

 

 

6、設定目錄許可權

[[email protected] ~]# chmod 757 /opt/lampp/htdocs/bugfree3/assets

[[email protected] ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/runtime 

[[email protected] ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/runtime/state.bin

[[email protected] ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/config

[[email protected] ~]# chmod 757 /opt/lampp/htdocs/bugfree3/protected/config/main.php

[[email protected] ~]# chmod 757 /opt/lampp/htdocs/bugfree3/install

 

 

7、在BugFree同級目錄建立附件上傳目錄BugFile

[[email protected] ~]#  cd bugfree

[[email protected] ~]#  mkdir BugFile

[[email protected] ~]#  chmod 777 BugFile

 

編輯/opt/lampp/htdocs/bugfree3/protected/config/main.php

找到uploadPath改為BugFile路徑.

 

8、安裝

瀏覽器輸入 http://ip/bugfree3/install

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.