whmcs7.01 centos下完整安裝教程,whmcs7.01centos

來源:互聯網
上載者:User

whmcs7.01 centos下完整安裝教程,whmcs7.01centos

系統內容centos6.x 64位

1.配置web環境

web環境選擇LNMP1.4

下載LNMP安裝指令碼wget -c http://soft.vpser.net/lnmp/lnmp1.4.tar.gz && tar zxf lnmp1.4.tar.gz && cd lnmp1.4 && ./install.sh

運行命令安裝,至於命令後如何選擇請詳細參考官方

https://lnmp.org/install.html

靜靜的等待安裝完成,這個安裝速度是根據自己所選的機器而定。機器差,網速不好估計要等待7-8個小時才能夠完成。

2.安裝php組件ionCube(這個一定要安裝,否則無法安裝whmcs)

 

cd lnmp1.4

./addons.sh install ionCube 

3.添加網站

lnmp vhost add 

詳細安裝教程https://lnmp.org/faq/lnmp-vhost-add-howto.html

4.上傳網站程式

建議使用winscp上傳。上傳whmcs壓縮包到你所建立的目錄,home/wwwroot/yousite(第三步你填寫的網域名稱)

cd /home/wwwroot/yoursite

然後解壓 whmcs 檔案包 

unzip whmcs.zip 解壓後 cd whmcs --> mv * ../ --> cd ../

修改網站目錄許可權:chown www:www -R /path/to/dir 對網站目錄進行使用權限設定,/path/to/dir替換為你網站目錄。

5.安裝程式

cd /home/wwwroot/yoursite

cp configuration.php.new configuration.php

chmod 777 configuration.php

chmod 777 templates_c

chmod 777 attachments

chmod 777 downloads

在瀏覽器中輸入你的網域名稱訪問

點 I gree 
填寫資料庫資訊,下一步下一步。即可安裝完成

6.刪除安裝目錄install(必須,不然無法訪問後台)

cd /home/wwwroot/yoursite

web 目錄下 : rm -rf install

 

大功告成了,訪問 http:// 你的網域名稱 / admin / 就可以登入後台了

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.