Erection of Webmail systems using twig (2)

Source: Internet
Author: User
Tags config imap modify mysql domain domain name

3. Installation steps:

The author assumes that you have Apache+php+mysql+imap installed in your Linux system and that Twig has already been downloaded to your home directory. Now let's start the installation action!

1. Copy twig from home directory to/usr/local

#cp $HOME/twig-2.7.5.tar.gz/usr/local

2, decompression file twig-2.7.5.tar.gz

#cd/usr/local

#tarzxvftwig -2.7.5.tar.gz

3, the implementation of Twig-install, the twig installation to/var/www/html/

#cd/usr/local/twig-2.7.5

#./twig-install/var/www/html/twig

4, the establishment of a database

#mysqladmin-uroot-pcreatetwig

#cd/usr/local/twig-2.7.5/setup

#mysql-uroot-ptwig<twig.table.mysql

5. Modify parameter setting

The following are the referenced contents:
#cd/var/www/html/twig/config
#viconfig. inc.php3
$config ["Fromdomain"]= "your domain name";//modify for you this Twig host network domain name
$config ["Language"]= "CHINESEBIG5";/change the language to traditional Chinese
$config ["Imap_server"]= "yourimapserverdomain";//Specify your IMAP server location, if you use "localhost" on the same machine
$config ["Smtp_server"]= "yoursmtpserverdomain";//Specify your SMTP server location, if you use "localhost" on the same machine
$config ["Session_handler"]= "php4session";//php4 above system can change cookies to session
$config ["Login_handler"]= "php4session";//php4 above system can change cookies to session
#vidbconfig. inc.php3
  
$dbconfig ["Sqlusername"]= "root";//modify MySQL user account
$dbconfig ["SQLPassword"]= "Your password";//change the user password for MySQL
$dbconfig ["Defaultdb"]= "twig";//Modify Preset database name
$dbconfig ["SqlType"]= "MySQL";//Modify Use Database



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.