[cc lang='bash']
\$ cd /var/lib/
\$ wget
http://sourceforge.net/projects/roundcubemail/files/roundcubemail/0.9.5/roundcubemail-0.9.5.tar.gz/download
\$ tar -xzf download; rm -f download
\$ ln -s roundcubemail-0.9.5/ roundcubemail
\$ chown -R root:root roundcubemail/
\$ chown -R www-data:www-data roundcubemail/temp/ roundcubemail/logs/
\$ mysql -e "CREATE DATABASE roundcubemail;"
\$ mysql -e "GRANT ALL PRIVILEGES ON roundcubemail.* TO
roundcube@localhost IDENTIFIED BY 'XxXx';"
\$ mysql -e "FLUSH PRIVILEGES;"
\$ cat \<
ServerName webmail.wiki.jokeru.ro
ServerAdmin wiki@jokeru.ro
DocumentRoot /var/lib/roundcubemail
ErrorLog /var/log/apache2/webmail.wiki.jokeru.ro.error.log
CustomLog /var/log/apache2/webmail.wiki.jokeru.ro.access.log combined
Options -Indexes
Options +FollowSymLinks
AllowOverride All
Order Deny,Allow
Deny from All
Order Deny,Allow
Deny from All
Order Deny,Allow
Deny from All
EOF
\$ service apache2 reload
# open http://webmail.wiki.jokeru.ro/installer/
\$ rm -fr /var/lib/roundcubemail/installer
# check "/var/lib/roundcubemail/config/main.inc.php" for
# \$rcmail_config['default_host'] = '127.0.0.1';
# \$rcmail_config['smtp_server'] = '127.0.0.1';
# \$rcmail_config['create_default_folders'] = true;
[/cc]