Install Roundcube webmail Part3



Install Roundcube webmail Part3

Install Roundcube webmail Part3

wget https://github.com/roundcube/roundcubemail/releases/download/1.6.0/roundcubemail-1.6.0-complete.tar.gz
dnf -y install tar
tar xvf roundcubemail-1.6.0-complete.tar.gz
mv roundcubemail-1.6.0 /var/www/roundcube
cd /var/www
chown -R apache:apache /var/www/roundcube
chmod -R 755 /var/www/roundcube

Date timezone skal tilføjes filen index.php både i
installer biblioteket (/var/www/roundcube/installer)
og i roundcube root (/var/www/roundcube)

ini_set(‘date.timezone’, ‘Europe/Copenhagen’);

cd /var/www/roundcube/config
cp config.inc.php.sample config.inc.php
vim config.inc.php

$config[‘db_dsnw’] = ‘mysql://mhi:[email protected]/roundcubemail’;
$config[‘imap_host’] = ‘mail.linuxmhi.local:143’;
$config[‘smtp_host’] = ‘mail.linuxmhi.local:25’;
$config[‘smtp_user’] = ”;
$config[‘smtp_pass’] = ”;

😡

chown apache: /var/www/roundcube/config/config.inc.php

cd /var/www/roundcube
mysql -u mhi -p roundcubemail -h
sql.linuxmhi.local SQL/mysql.initial.sql [Look at the video for this line]

Creata a new alias file

cd /etc/httpd/conf.d/
ls
vim /etc/httpd/conf.d/roundcube.conf

😡

systemctl restart httpd
systemctl daemon-reload

Goto client machine
webmail.linuxmhi.local
test1
Passw0rd