CentOS部署安裝edusoho相關教程

來源:互聯網
上載者:User

CentOS部署安裝edusoho相關教程
1: 下載並解壓軟體包2: 上傳軟體包

將edusohu檔案夾上傳到/var/www/html目錄中

3: 確保軟體包內部相關的檔案以及目錄可寫

在運行edusoho之前,為了保證程式的安裝運行正常,請確保以下檔案以及目錄處於可寫狀態。

  • app/config/parameters.yml
  • app/data/udisk
  • app/data/private_files
  • web/files
  • web/install
  • app/cache
  • app/logs

註: 修改檔案以及目錄為可寫狀態的操作為:chmod -R a+wr yourDirectory

4:配置安裝LAMP環境5:配置虛擬機器主機

參考http://blog.csdn.net/xia_yu_mao_fa/article/details/25149899,注意DocumentRoot為/var/www/html/edusoho/web

6:修改php.ini

找到"memory_limit",設定為256M。

找到"upload_max_filesize",去掉本行最前面的分號,並設定為200M。

找到"post_max_size",設定為200M。

7:最後安裝

在瀏覽器中輸入:網域名稱/install/install.php,然後按照提示安裝配置即可。

注意事項1:安裝xsendfile

yum install mod_xsendfile

2:關於重新安裝

在[環境檢測]步驟中,程式會檢測使用者是否已經安裝過edusoho。 若已安裝過,則必須在刪除對應的 app/data/intall.lock 檔案之後才能通過檢測環境

聯繫我們

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