Roundcube is a web browser based mail client & also known as webmail. It provides a GUI ( Graphical User Interface ) where end users can check their mails, can create & manage folders, can use address book to search email ids and lot of other webmail features.
To install roundcube on CentOS 7 followings are the prerequisite that should be installed.
- PHP
- Database ( MariaDB or MySQL )
- Web Server ( Apache )
- Any MTA – Postfix , Sendmail & Qmail
In My Case i have already installed Postfix with dovecot on CentOS 7 with
- Domain name = nsitmail.com
- Hostname = tec.nsitmail.com
Follow below Steps to install & configure latest version of Roundcube :
Step:1 Install PHP , Database & Apache using below command :
Once the above package list is installed , set the time zone value in PHP .
Save & exit the file
Step:2 Create & Configure Roundcube Database
Let us first set the Initial settings & root password of Mariadb Server :
Above Command “mysql_secure_installation” will allow us to set root password , remove anonymous users , disable remote root login and will remove test database.
Now Create database for Roundube and grant all the permissions to the database
Step:3 Download tar file of Roundcube
Download latest version of Roundcube tar file either from their official site “https://roundcube.net/download/” or we can use below wget command.
Untar the downloaded file in your web server document root.
Rename the extracted file as Roundcube and set the required permissions
Start the Apache service
Step:4 Start Roundcube installation using web browser installer.
To start the installation of Rouncube , access the below url in the web browser
http://tec.nsitmail.com/roundcube/installer
click on Next…
Define the Database, Authentication Mechanism, SMTP & IMAP setting in this step. When We click on Create Config option it will ask us to Copy or download the configuration and save it as config.inc.php within the /var/www/html/roundcube/config/ directory of your Roundcube installation.
In my case i am using http based authentication mechanism , so i create one user on my Linux box and set its password using htpasswd command .
Remove the installer directory from your web server document root ( /var/www/html/roundcube )
Step:5 Now access your account using Roundcube
Open the url in the browser “http://tec.nsitmail.com/roundcube/” , use the credentials that we set using htpasswd command.
Roundcube installation is completed, Now explore it and enjoy.
출처 : https://www.linuxtechi.com/install-latest-version-of-roundcube-centos-7/
'Skills > RedHat, CentOS' 카테고리의 다른 글
How to Install JAVA 8 (JDK/JRE 8u121) on CentOS/RHEL and Fedora (0) | 2017.01.28 |
---|---|
How to manage LVM volumes on CentOS (0) | 2015.11.09 |
[RedHat] RHEL 에서 yum 사용하기 (0) | 2015.08.11 |
RedHat Linux AS와 ES의 차이 (0) | 2015.08.10 |
CentOS 6.6 - Configure VNC Server (1) | 2015.03.05 |
댓글