You will need to have mysql and apache installed and running!
Install it:
# emerge -av roundcubeThese are the packages that would be merged, in order:
Calculating dependencies... done! [ebuild N ] dev-libs/libmcrypt-2.5.8-r1 1,304 kB [ebuild N ] app-admin/php-toolkit-1.0.1 6 kB [ebuild NS ] sys-devel/automake-1.10.3 [1.9.6-r3, 1.11.1] 0 kB [ebuild N ] app-admin/webapp-config-1.50.16-r1 102 kB [ebuild N ] media-libs/t1lib-5.1.2 USE="X -doc" 1,829 kB [ebuild N ] net-libs/c-client-2007e USE="pam ssl -kolab" 2,725 kB [ebuild N ] virtual/httpd-cgi-0 0 kB [ebuild N ] app-text/aspell-0.60.6-r1 USE="nls -examples" LINGUAS="en -af -be -bg -br -ca -cs -cy -da -de -el -eo -es -et -fi -fo -fr -ga -gl -he -hr -is -it -la -lt -nl -no -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -uk -vi" 1,737 kB [ebuild N ] app-dicts/aspell-en-6.0.0 179 kB [ebuild N ] dev-lang/php-5.2.13 USE="apache2 berkdb bzip2 cli crypt ctype curl gd gdbm iconv imap ipv6 json mysql ncurses nls pcre posix readline reflection session sockets spell spl ssl truetype unicode xml xmlrpc xpm zip zlib -adabas -bcmath -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc -empress -empress-bcs -esoob -exif -fastbuild -fdftk -filter -firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd-external -gmp -hash -inifile -interbase -iodbc (-java-external) -kerberos -kolab -ldap -ldap-sasl -libedit -mcve -mhash -msql -mssql -mysqli -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -simplexml -snmp -soap -solid -sqlite -suhosin -sybase -sybase-ct -sysvipc -threads -tidy -tokenizer -wddx -xmlreader -xmlwriter -xsl -yaz" 8,882 kB [ebuild N ] dev-php/PEAR-PEAR-1.9.0 285 kB [ebuild N ] virtual/httpd-php-5.2 0 kB [ebuild N ] mail-client/roundcube-0.3.1 USE="mysql spell ssl -ldap -postgres -vhosts" 1,873 kB |
Once installed, you will need setup the database:
Login to mysql as root and run the 3 commands below (make changes to username and password)
CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT ALL PRIVILEGES ON roundcubemail.* TO roundcube@localhost IDENTIFIED BY 'password'; \q; |
Import the tables etc:
mysql -uroot -p roundcubemail < /var/www/localhost/htdocs/roundcube/SQL/mysql.initial.sql |
Edit the files in /var/www/localhost/htdocs/roundcube/config/
db.inc.php = Database details. username, password and DB... nuff said!
main.inc.php = email server details and security.
Go through this file with a fine tooth comb.. there are many very important options.
Or you can enable the $rcmail_config['enable_installer'] = true; option in main.inc.php. SET TO FALSE WHEN FINISHED!!!!!
You may need to enable $rcmail_config['auto_create_user'] = TRUE; for the first time login to create the user. SET TO FALSE WHEN FINISHED!!!!!
Thats more or less about it for the installation.