Configure the contents of the LAMP server in preparation for installing Roundcube. RoundCube is a browser-based, multi-language IMAP client that looks like a desktop application. It provides all the features an email client should have including MIME support, address book, folder operations, information search, and spell checking. RoundCube is developed with PHP
+Ajax and requires a MySQL database to store data. The user interface is designed with XHTML+CSS2, so you must first configure a LAMP server.
1. Configure the web server
Please refer to the LAMP architecture.
2. Install Roundcubemail
Download the latest version from Roundcubemail's official homepage:
http://roundcube.net/download, the latest version is roundcubemail-0.3-stable .tar.gz
Unzip the RoundCube and upload it to the specified path and make sure that the /temp and /logs directories have network access:
tar zxvf roundcubemail-0.3-stable.tar .gz
mv roundcubemail-0.3-stable /var/www/html/webmail
At this point, you can open http://localhost/webmail through your browser, and the system will prompt an error. :
CONFIGURATION ERROR
main.inc.php was not found.
db.inc.php was not found.
Please read the INSTALL instructions !
3. Importing Roundcubemail's database
mysql -u root -p
Enter password:
mysql>
Creating a database :roundcubemail
mysql> CREATE DATABASE roundcubemail DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
Provide database permissions to MySQL local users: bianjiesky, ‘your_passwd’ Password:
mysql> GRANT ALL PRIVILEGES ON roundcubemail.* TO bianjiesky@localhost IDENTIFIED BY ‘your_passwd’;
Import database table:
mysql> use roundcubemail;< Br>
mysql> source /var/www/html/webmail/SQL/mysql.initial.sql
mysql> flush privileges;
mysql> exit
4. Set database information for Roundcubemail
cd /var/www/html/webmail/config/
cp db.inc.php.dist db.inc.php
Cp main.inc.php.dist main.inc.php
First, set the value of db_dsnw in the db.inc.php file to:
Modify the file: nano /var/www/Html/webmail/config/db.inc.php
$rcmail_config[‘db_dsnw’] = ‘mysql://roundcube:your_passwd@localhost/roundcubemail’;
where roundcube is modified Change the database local user name bianjiesky ;your_passwd to the access password you set; roundcubemail is the database name created above.
Then, configure the main.inc.php file:
nano /var/www/html/webmail/config/main.inc.php
# Default IMAP Server The Mail Server used in this example is the Zimbra server IP.
$rcmail_config[‘default_host’] = ‘127.0.0.1’;
# Default SMTP Server
$rcmail_config[‘smtp_server’] = &lsquo ;127.0.0.1’;
$rcmail_config[‘smtp_user’] = ‘%u’;
$rcmail_config[‘smtp_pass’] = ‘%p’;< Br>
# Automatically create a directory
$rcmail_config[‘create_default_folders’] = TRUE;
# Default domain name
# Users only need to log in Enter ‘username’, Roundcubemail will automatically add the domain name specified in
# ‘username_domain’, so the username will become: ’[email protected]’.
#$rcmail_config[‘username_domain’] = ‘example.org’;
# The default interface language. The optional values can be found in this directory. The directory name is an optional value:
A public IP is a public address that is assigned by InterNIC and consists of a class-based network I
A few days ago, a Linux system administrator asked the author for help. He said th
According to the bus structure, it can be divided into a bus type and a non-bus type. As we often
I am getting error in make posix, prompt: make: cc: Command not found make: *** [posix] Error 127 so
Linux system backup strategy discussion
Usage of $(), $(()), and ${} in Shell
Common command of vim in Linux
Symfony2 configuration tutorial under Nginx
Making embedded Linux file system with busybox
Several security precautions for Linux systems
How to choose a Linux desktop environment
Correctly set windows server 2008 remote desktop
Make Nothing to be done for all
Red Hat Red Hat Linux 9 CD Boot Installation Process Diagram
Intel's latest chipset driver: Support Win10
How to set the linux system resolution
How to upgrade OpenSSH under Linux system?
Top Ten Reasons to Upgrade Win10: Windows 10 Store (Video)
Graphical Windows Vista operating system installation process
How to do the computer running too slow
How to solve the win7 dual hard drive automatically shut down
Win8 RP version of the FAQ collection
Win9 new image exposure Start menu will distinguish between tablet and PC