emuinstall.sh
上传用户:yeming888
上传日期:2007-01-04
资源大小:18k
文件大小:3k
- #!/bin/sh
- tar xf emumail4.0-1.tar
- cd emumail4.0-1
- gunzip -c Digest-MD5*gz | tar -xvf -
- (cd Digest-MD5-2.09; perl Makefile.PL; make; make install)
- gunzip -c libnet*gz | tar -xvf -
- (cd libnet-1.0606; perl Makefile.PL; make; make install)
- gunzip -c CGI.pm*.gz | tar -xvf -
- (cd CGI.pm-2.56; perl Makefile.PL; make; make install)
- gunzip -c DB_File*gz | tar -xvf -
- (cd DB_File-1.71; perl Makefile.PL; make; make install)
- gunzip -c Data-Dumper*.gz | tar -xvf -
- (cd Data-Dumper-2.10; perl Makefile.PL; make; make install)
- gunzip -c FCGI*gz | tar -xvf -
- (cd FCGI-0.48; perl Makefile.PL; make; make install)
- gunzip -c Filter*gz | tar -xvf -
- (cd Filter-1.16; perl Makefile.PL; make; make install)
- gunzip -c Font-AFM*gz | tar -xvf -
- (cd Font-AFM-1.18; perl Makefile.PL; make; make install)
- gunzip -c HTML-Embperl*gz | tar -xvf -
- (cd HTML-Embperl-1.2b11; perl Makefile.PL; make; make install)
- gunzip -c HTML-Parser*gz | tar -xvf -
- (cd HTML-Parser-2.25; perl Makefile.PL; make; make install)
- gunzip -c HTML-Tree*gz | tar -xvf -
- (cd HTML-Tree-0.62; perl Makefile.PL; make; make install)
- gunzip -c IO-stringy*gz | tar -xvf -
- (cd IO-stringy-1.207; perl Makefile.PL; make; make install)
- gunzip -c MailTools*gz | tar -xvf -
- (cd MailTools-1.13; perl Makefile.PL; make; make install)
- gunzip -c MIME-Base64*gz | tar -xvf -
- (cd MIME-Base64-2.11; perl Makefile.PL; make; make install)
- gunzip -c MIME-tools*gz | tar -xvf -
- (cd MIME-tools-4.124; perl Makefile.PL; make; make install)
- gunzip -c Net-DNS*gz | tar -xvf -
- (cd Net-DNS-0.12; perl Makefile.PL; make; make install)
- gunzip -c Text-Tabs*gz | tar -xvf -
- (cd Text-Tabs+Wrap-98.112902; perl Makefile.PL; make; make install UNINST=1)
- gunzip -c TimeDate*gz | tar -xvf -
- (cd TimeDate-1.08; perl Makefile.PL; make; make install)
- gunzip -c URI-*gz | tar -xvf -
- (cd URI-1.04; perl Makefile.PL; make; make install)
- gunzip -c VRML*gz | tar -xvf -
- (cd VRML-1.04; perl Makefile.PL; make; make install)
- gunzip -c libwww*gz | tar -xvf -
- (cd libwww-perl-5.46; perl Makefile.PL; make; make install)
- gunzip -c Convert-BER*gz | tar -xvf -
- (cd Convert-BER-1.26; perl Makefile.PL; make; make install)
- gunzip -c perl-ldap*gz | tar -xvf -
- (cd perl-ldap-0.11; perl Makefile.PL; make; make install)
- gunzip -c emu-4.0.tgz | tar -xvpf -
- if [ ! -d /home/emumail ]; then
- mkdir /home/emumail
- fi
- if [ ! -d /home/emumail/modules ]; then
- mkdir /home/emumail/modules
- fi
- cp ../mod_fastcgi.so /home/emumail/modules/mod_fastcgi.so
- (cd emu-4.0; cp -pfR * /home/emumail)
- echo "Installation complete. Please type"
- echo ""
- echo "cd /home/emumail"
- echo ""
- echo "and read the READMEs and files in /home/emumail/docs"
- echo