We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Installation of roundcube
Installation of roundcube
Can you tell me how to install rouncube on vestacp?
Re: Installation of roundcube
You did not specified your OS. So I copy from installed steps (and edited some variables) for CentOS7.
I DID NOT TEST IT. BE CAREFULL ;)
Create file install-roundcube.sh and paste below text:
chmod +x install-roundcube.sh
sh install-roundcube.sh
I DID NOT TEST IT. BE CAREFULL ;)
Create file install-roundcube.sh and paste below text:
Code: Select all
#!/bin/sh
### VARIABLE TO EDIT
vestacp="/usr/local/vesta/install/rhel/7"
servername=$(hostname)
r="P@SSW0RD" # EDIT TO YOUR OWN
###
yum install roundcubemail
cp -f $vestacp/roundcube/roundcubemail.conf /etc/httpd/conf.d/
cp -f $vestacp/roundcube/main.inc.php /etc/roundcubemail/config.inc.php
cd /usr/share/roundcubemail/plugins/password
cp -f $vestacp/roundcube/vesta.php drivers/vesta.php
cp -f $vestacp/roundcube/config.inc.php config.inc.php
sed -i "s/localhost/$servername/g" config.inc.php
chmod a+r /etc/roundcubemail/*
chmod -f 777 /var/log/roundcubemail
mysql -e "CREATE DATABASE roundcube"
mysql -e "GRANT ALL ON roundcube.* TO
roundcube@localhost IDENTIFIED BY '$r'"
sed -i "s/%password%/$r/g" /etc/roundcubemail/config.inc.php
chmod 640 /etc/roundcubemail/config.inc.php
chown root:apache /etc/roundcubemail/config.inc.php
if [ -e "/usr/share/roundcubemail/SQL/mysql.initial.sql" ]; then
mysql roundcube < /usr/share/roundcubemail/SQL/mysql.initial.sql
else
mysql roundcube < /usr/share/doc/roundcubemail-*/SQL/mysql.initial.sql
fi
sh install-roundcube.sh