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 |