CentOS 8.x Roundcube installation

From Notes_Wiki
Revision as of 07:07, 17 August 2022 by Saurabh (talk | contribs) (Created page with "Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > Installation To install roundcube use following steps: # Install mariadb and set roundcube database using: #:<pre> #:: dnf -y install mariadb-server #:: systemctl start mariadb #:: systemctl enable mariadb #:: mysql_secure_installation #:: #:: mysql -u root -p #:: #:: CREATE DATABASE roundcubemail; #:: CRE...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > Installation

To install roundcube use following steps:

  1. Install mariadb and set roundcube database using:
    dnf -y install mariadb-server
    systemctl start mariadb
    systemctl enable mariadb
    mysql_secure_installation
    mysql -u root -p
    CREATE DATABASE roundcubemail;
    CREATE USER 'roundcube'@'localhost' IDENTIFIED BY '<secret>';
    GRANT ALL ON roundcubemail.* to 'roundcube'@'localhost';
    FLUSH PRIVILEGES;
  2. Download LTS version of roundcube from https://roundcube.net/download/
  3. Extract the downloaded file at /var/www/roundcube folder
  4. Create /etc/httpd/conf.d/roundcube.conf with:
    <VirtualHost *:80>
    ServerName <server-fqdn>
    DocumentRoot /var/www/roundcube/
    ErrorLog /var/log/httpd/roundcube_error.log
    CustomLog /var/log/httpd/roundcube_access.log combined
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    </Directory>
    <Directory /var/www/roundcube/>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>
    Other option is to install roundcube on a subdirectory / Alias such as /mail instead of setting it up on entire parent domain.
  5. Restart apache for settings to take effect:
    systemctl restart httpd
  6. Open http://<server-fqdn>/installer and follow various installer wizard pages. At some point in web based installer we need to enter MariaDB database details as created above. Example values to be filled in installer for Gmail SMTP and IMAP are explained at CentOS 8.x Roundcube web based installer for Gmail IMAP and SMTP

Refer:



Home > CentOS > CentOS 8.x > Web based tools > CentOS 8.x Roundcube > Installation