在 CentOS7上安裝設定 RoundCube Webmail
接續該篇文章:【在 CentOS7上安裝設定 E-mail Server】!設定無誤之後,再接續下列設定。
安裝 RoundCube Webmail 套件:
#yum -y install roundcubemail
※ PS:
(1) 主要程式目錄:/usr/share/roundcubemail
(2) 主要設定檔目錄:/etc/roundcubemail
(3) 與 web 伺服器相關設定檔:/etc/httpd/conf.d/roundcubemail.conf
加裝 php-mcrypt 套件:
#yum -y install php-mcrypt
編修 /etc/httpd/conf.d/roundcubemail.conf 檔案:
#vim /etc/httpd/conf.d/roundcubemail.conf
##先暫時註解所有項目,加入下列項目設定,方便遠端安裝與測試!
<Directory /usr/share/roundcubemail/>
Options none
AllowOverride Limit
Require all granted
</Directory>
<Directory /usr/share/roundcubemail/installer>
Options none
AllowOverride Limit
Require all granted
</Directory>
修改 php.ini 內的時區設定:
#vim /etc/php.ini
date.timezone = "Asia/Taipei"
重新啟動 Apache Server
#systemctl restart httpd
#vim /etc/httpd/conf.d/roundcubemail.conf
##先暫時註解所有項目,加入下列項目設定,方便遠端安裝與測試!
<Directory /usr/share/roundcubemail/>
Options none
AllowOverride Limit
Require all granted
</Directory>
<Directory /usr/share/roundcubemail/installer>
Options none
AllowOverride Limit
Require all granted
</Directory>
修改 php.ini 內的時區設定:
#vim /etc/php.ini
date.timezone = "Asia/Taipei"
重新啟動 Apache Server
#systemctl restart httpd
打開瀏覽器,連結網址: http://www.example.com/roundcubemail/installer