Webmail Evaluation - Spring 2000 - Twig
Installation Script
- Author: Sam
Nicolary
- WebMail application/version: Twig
2.2.3
- Software Prereqs: MySQL
3.22.32, PHP
3.0.14, UW
Imap-4.7b, Apache
1.3.12, Ispell
3.1, MM
1.0.12, UMich
LDAP 3.3, OpenSSL
0.9.5a, Mod_SSL
2.6.2-1.3.12, PERL
5.005_03, RSAref
2.0
- WebMail Server Platform: Tru64 4.0F
- WebMail Server Hostname: gonzo.gse.upenn.edu
- Target Email Server: SPINNER.ISC-NET.UPENN.EDU
- WebMail URL: http://gonzo.gse.upenn.edu/twig
Installation
Step 1. Gather Files:
Step 2. Install + Configuration
MySQL:
- tar zxvf mysql-3.22.32.tar.gz; cd mysql-3.22.32
- ./configure --libexecdir/usr/local/lib/mysql
--datadir/usr/local/etc \
--localstatedir/usr/local/etc/mysql/databases --without-bench \
--with-unix-socket-path/usr/local/etc/mysql/mysql.sock \
--with-mysqld-user<mysql user>
- make; sudo make install
- sudo mkdir /usr/local/etc/mysql/databases
- sudo mkdir /usr/local/etc/mysql/databases
- sudo chown mysqld /usr/local/etc/mysql
- sudo chown mysqld /usr/local/etc/mysql/databases
- sudo scripts/mysql_install_db --skip-networking
- make clean
- sudo /usr/local/etc/mysql/mysql.server start
- sudo mysqladmin password new-password (set admin password)
UW-IMAP:
- tar zxvf imap.tar.Z; cd imap
- make <platform>
- cp imapd/imapd /usr/sbin; cp ipopd/ipop2d ipopd/ipop3d /usr/sbin
(optional)
- mkdir include; mkdir lib
- cp c-client/*.h include; cp c-client/*.a lib
MM:
- tar zxvf mm-1.0.12.tar.gz; cd mm-1.0.12
- ./configure --disable-shared
- make
RSAREF2:
- tar zxvf rsaref2.tar.Z; cd rsaref2
- cp -rp install/unix local; cd local
- make; mv rsaref.a librsaref.a
OPENSSL:
- tar zxvf openssl-0.9.5a.tar.gz; cd openssl-0.9.5a
- ./config no-idea -L<path-to-rsaref2>/local rsaref -fPIC
- make
LDAP: (unsuccessful)
- tar zxvf ldap-3.3.tar.gz; cd ldap-3.3
- make
PHP+:
- tar zxvf apache-1.3.12.tar.gz
- cd apache-1.3.12; ./configure --prefix<apache-base-directory>
- tar zxvf php-3.0.14.tar.gz; cd php-3.0.14
- ./configure --enable-track-vars --with-mysql
--with-imap<path-to-imap-src> \
--with-apache<path-to-apache-src>
--with-ldap<path-to-ldap-src>
- make; make install
- cp php3.ini.dist /usr/local/lib/php3.ini
APACHE+MOD_SSL+PHP_MOD+OTHER_MODS:
- tar zxvf mod_ssl-2.6.2-1.3.12.tar.gz; cd mod_ssl-2.6.2-1.3.12
- ./configure --activate-modulesrc/modules/php3/libphp3.a \
--with-apache<path-to-apache-src>
--with-ssl<path-to-openssl-src> \
--with-rsa<path-to-rsaref2-src>
--with-mm<path-to-mm-src> \
(optional if you have your own cert and key:)
--with-crt<path-to-server.crt>
--with-key<path-to-server.key> \
--prefix<apache-base-directory> --enable-modulessl
--enable-moduleso \
(optional: read docs for explaination)
--disable-ruleSSL_COMPAT --enable-ruleSSL_SDBM
--enable-ruleSSL_EXPERIMENTAL \
--enable-ruleSSL_VENDOR \
--...more APACI options...
- change directory to the apache source directory
- make; make certificate (add DUMMY syntax to generate a dummy cert)
- make install
- edit httpd.conf - uncomment:
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
add:
index.php3 to the DirectoryIndex config line
TWIG:
- tar zxvf twig-2.2.3.tar.gz; cd twig-2.2.3
- ./twig-install <path-to-web-doc-dir>/twig
- mysqladmin -p create twig
- mysql -p twig <setup/twig.table.mysql
- add mysql twig user and set access privs to your liking
- cd <path-to-web-doc-dir>/twig/config
- edit config.inc.php3, dbconfig.inc.php3, defaults.inc.php3, etc
according to your server config
- goto http://<your-server>/twig and login
|