| | 1 | roundcube is not in official portage yet but should be in the webapps overlay therefor we need layman[[BR]] |
| | 2 | |
| | 3 | {{{ |
| | 4 | # emerge subversion layman |
| | 5 | # layman -a webapps-experimental |
| | 6 | # echo source /usr/portage/local/layman/make.conf >> /etc/make.conf |
| | 7 | # echo mail-client/roundcube ~* >> /etc/portage/package.keywords |
| | 8 | # echo mail-client/roundcube mysql vhosts >> /etc/portage/package.use |
| | 9 | # emerge roundcube |
| | 10 | }}} |
| | 11 | |
| | 12 | follow the information provided by the ebuild[[BR]] |
| | 13 | |
| | 14 | {{{ |
| | 15 | # mysql -uroot -p |
| | 16 | }}} |
| | 17 | |
| | 18 | {{{ |
| | 19 | > create database roundcubemail_web1; |
| | 20 | > GRANT ALL PRIVILEGES ON roundcubemail_web1.* TO roundcube@localhost IDENTIFIED BY '<password>'; |
| | 21 | }}} |
| | 22 | {{{ |
| | 23 | # mysql -uroot -p roundcubemail_web1 < /var/www/web1/web/roundcube/SQL/mysql.initial.sql |
| | 24 | }}} |
| | 25 | !!! change /etc/vhosts/webapp-config (see above) before the next command !!! |
| | 26 | {{{ |
| | 27 | # webapp-config -I -h www.thinkthinkdo.com -d roundcube roundcube 0.1_rc2 |
| | 28 | }}} |
| | 29 | in /var/www/web1/web/roundcube/config/main.inc.php change[[BR]] |
| | 30 | {{{ |
| | 31 | $rcmail_config['default_host'] = ''; to $rcmail_config['default_host'] = 'ssl://localhost:993'; |
| | 32 | }}} |
| | 33 | in /var/www/web1/web/roundcube/config/db.inc.php change[[BR]] |
| | 34 | {{{ |
| | 35 | $rcmail_config['db_dsnw'] = 'mysql://roundcube:<password>@localhost/roundcubemail_web1'; |
| | 36 | }}} |