[firestone]$ /home/klhsieh/usr/local/bin/perl -T -I/home/klhsieh/usr/local/lib/perl5/5.8.8 ./openwebmail-tool.pl –init
Please modify /home/klhsieh/usr/local/lib/perl5/5.8.8/i686-linux/DB_File.pm by adding
$arg[3] = 0666 unless defined $arg[3];
before the following text (about line 247)
# make recno in Berkeley DB version 2 work like recno in version 1
Please change the following 3 options in openwebmail.conf
from
dbm_ext .db
dbmopen_ext none
dbmopen_haslock no
to
dbm_ext .db
dbmopen_ext %dbm_ext%
dbmopen_haslock yes
And execute ‘./openwebmail-tool.pl –init’ again!.
[firestone]$ vim /home/klhsieh/usr/local/lib/perl5/5.8.8/i686-linux/DB_File.pm
[firestone]$ pwd
/home/klhsieh/www.kunlung.com/cgi-bin/openwebmail
[firestone]$ vim etc/openwebmail.conf
[firestone]$ /home/klhsieh/usr/local/bin/perl -T -I/home/klhsieh/usr/local/lib/perl5/5.8.8 ./openwebmail-tool.pl –init
creating /home/klhsieh/www.kunlung.com/cgi-bin/openwebmail/etc/b2g.db …done.
creating /home/klhsieh/www.kunlung.com/cgi-bin/openwebmail/etc/g2b.db …done.
creating /home/klhsieh/www.kunlung.com/cgi-bin/openwebmail/etc/lunar.db …done.
Welcome to the Open WebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++686+c6+gr6b-v6.192 i686
Perl: 5.008008
WebMail: Open WebMail 2.01 20030425
Send the site report?(Y/n) y
sending report…
Thank you.
[firestone]$
///////////////////////////////////////////////////////////////////////
目前webmail 支援 maildir 的source 是放在 klhsieh2.dreamhosters.com
我現在要把原版 openwebmail 裝在 klhsieh.dreamhosters.com
DH上沒有suidperl 所以我抓取perl source tar ball
its version is 5.8.8
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads’
Making threads::shared (dynamic)
Processing hints file hints/linux.pl
Writing Makefile for threads::shared
make[1]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
make[1]: Warning: File `Makefile’ has modification time 0.74 s in the future
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
make[1]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
cp shared.pm ../../../lib/threads/shared.pm
../../../miniperl “-I../../../lib” “-I../../../lib” ../../../lib/ExtUtils/xsubpp -typemap ../../../lib/ExtUtils/typemap -typemap typemap shared.xs > shared.xsc && mv shared.xsc shared.c
cc -c -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -DVERSION=\”0.94\” -DXS_VERSION=\”0.94\” -fpic “-I../../..” shared.c
Running Mkbootstrap for threads::shared ()
chmod 644 shared.bs
rm -f ../../../lib/auto/threads/shared/shared.so
cc -shared -L/usr/local/lib shared.o -o ../../../lib/auto/threads/shared/shared.so \
\
chmod 755 ../../../lib/auto/threads/shared/shared.so
cp shared.bs ../../../lib/auto/threads/shared/shared.bs
chmod 644 ../../../lib/auto/threads/shared/shared.bs
make[1]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
Making Errno (nonxs)
Writing Makefile for Errno
make[1]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[1]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[1]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[1]: Warning: File `blib/man1/.exists’ has modification time 0.91 s in the future
../../miniperl “-I../../lib” “-I../../lib” Errno_pm.PL Errno.pm
cp Errno.pm ../../lib/Errno.pm
make[1]: warning: Clock skew detected. Your build may be incomplete.
make[1]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make: [extras.make] Error 1 (ignored)
Everything is up to date. Type ‘make test’ to run test suite.
make: warning: Clock skew detected. Your build may be incomplete.
[firestone]$
All tests successful.
u=1.40 s=0.88 cu=134.30 cs=222.41 scripts=935 tests=117353
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8′
make[1]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8′
[firestone]$ make DESTDIR=/home/klhsieh install
make install.perl install.man STRIPFLAGS= DESTDIR=”/home/klhsieh”
make[1]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8′
AutoSplitting perl library
./miniperl -Ilib -e ‘use AutoSplit; \
autosplit_lib_modules(@ARGV)’ lib/*.pm
./miniperl -Ilib -e ‘use AutoSplit; \
autosplit_lib_modules(@ARGV)’ lib/*/*.pm
make lib/re.pm
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8′
make[2]: `lib/re.pm’ is up to date.
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8′
Making DynaLoader (static)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DynaLoader’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DynaLoader’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DynaLoader’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DynaLoader’
Making utilities
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/utils’
make[2]: Nothing to be done for `all’.
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/utils’
Making x2p stuff
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/x2p’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/x2p’
Making B (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/B’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/B’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/B’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/B/C’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/B/C’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/B’
Making ByteLoader (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/ByteLoader’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/ByteLoader’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/ByteLoader’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/ByteLoader’
Making Cwd (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Cwd’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Cwd’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Cwd’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Cwd’
Making DB_File (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DB_File’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DB_File’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DB_File’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/DB_File’
Making Data::Dumper (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Data/Dumper’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Data/Dumper’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Data/Dumper’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Data/Dumper’
Making Devel::DProf (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/DProf’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/DProf’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/DProf’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/DProf’
Making Devel::PPPort (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/PPPort’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/PPPort’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/PPPort’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/PPPort’
Making Devel::Peek (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/Peek’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/Peek’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/Peek’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Devel/Peek’
Making Digest::MD5 (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Digest/MD5′
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Digest/MD5′
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Digest/MD5′
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Digest/MD5′
Making Encode (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/Byte’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/Byte’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/CN’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/CN’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/EBCDIC’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/EBCDIC’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/JP’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/JP’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/KR’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/KR’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/Symbol’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/Symbol’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/TW’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/TW’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/Unicode’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode/Unicode’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Encode’
Making Fcntl (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Fcntl’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Fcntl’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Fcntl’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Fcntl’
Making File::Glob (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/File/Glob’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/File/Glob’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/File/Glob’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/File/Glob’
Making Filter::Util::Call (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Filter/Util/Call’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Filter/Util/Call’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Filter/Util/Call’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Filter/Util/Call’
Making GDBM_File (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/GDBM_File’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/GDBM_File’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/GDBM_File’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/GDBM_File’
Making I18N::Langinfo (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/I18N/Langinfo’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/I18N/Langinfo’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/I18N/Langinfo’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/I18N/Langinfo’
Making IO (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IO’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IO’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IO’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IO’
Making IPC::SysV (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IPC/SysV’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IPC/SysV’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IPC/SysV’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/IPC/SysV’
Making List::Util (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/List/Util’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/List/Util’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/List/Util’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/List/Util’
Making MIME::Base64 (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/MIME/Base64′
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/MIME/Base64′
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/MIME/Base64′
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/MIME/Base64′
Making Opcode (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Opcode’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Opcode’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Opcode’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Opcode’
Making POSIX (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/POSIX’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/POSIX’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/POSIX’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/POSIX’
Making PerlIO::encoding (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/encoding’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/encoding’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/encoding’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/encoding’
Making PerlIO::scalar (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/scalar’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/scalar’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/scalar’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/scalar’
Making PerlIO::via (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/via’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/via’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/via’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/PerlIO/via’
Making SDBM_File (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/SDBM_File’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/SDBM_File’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/SDBM_File’
make[3]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/SDBM_File/sdbm’
make[3]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/SDBM_File/sdbm’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/SDBM_File’
Making Socket (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Socket’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Socket’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Socket’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Socket’
Making Storable (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Storable’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Storable’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Storable’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Storable’
Making Sys::Hostname (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Hostname’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Hostname’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Hostname’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Hostname’
Making Sys::Syslog (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Syslog’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Syslog’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Syslog’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Sys/Syslog’
Making Time::HiRes (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Time/HiRes’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Time/HiRes’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Time/HiRes’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Time/HiRes’
Making Unicode::Normalize (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Unicode/Normalize’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Unicode/Normalize’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Unicode/Normalize’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Unicode/Normalize’
Making XS::APItest (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/APItest’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/APItest’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/APItest’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/APItest’
Making XS::Typemap (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/Typemap’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/Typemap’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/Typemap’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/XS/Typemap’
Making attrs (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/attrs’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/attrs’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/attrs’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/attrs’
Making re (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/re’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/re’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/re’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/re’
Making threads (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads’
Making threads::shared (dynamic)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/threads/shared’
Making Errno (nonxs)
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[2]: Entering directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[2]: Leaving directory `/home/.bellboy/klhsieh/perl-5.8.8/ext/Errno’
make[1]: [extras.make] Error 1 (ignored)
Everything is up to date. Type ‘make test’ to run test suite.
if [ -n "" ]; \
then \
cd utils; make compile; \
cd ../x2p; make compile; \
cd ../pod; make compile; \
else :; \
fi
./perl installperl –destdir=/home/klhsieh
/usr/local/bin/perl5.8.8
/usr/local/lib/perl5/5.8.8/abbrev.pl
/usr/local/lib/perl5/5.8.8/AnyDBM_File.pm
/usr/local/lib/perl5/5.8.8/assert.pl
/usr/local/lib/perl5/5.8.8/attributes.pm
/usr/local/lib/perl5/5.8.8/AutoLoader.pm
/usr/local/lib/perl5/5.8.8/AutoSplit.pm
/usr/local/lib/perl5/5.8.8/autouse.pm
/usr/local/lib/perl5/5.8.8/base.pm
/usr/local/lib/perl5/5.8.8/Benchmark.pm
/usr/local/lib/perl5/5.8.8/bigfloat.pl
/usr/local/lib/perl5/5.8.8/bigint.pl
/usr/local/lib/perl5/5.8.8/bigint.pm
/usr/local/lib/perl5/5.8.8/bignum.pm
/usr/local/lib/perl5/5.8.8/bigrat.pl
/usr/local/lib/perl5/5.8.8/bigrat.pm
/usr/local/lib/perl5/5.8.8/blib.pm
/usr/local/lib/perl5/5.8.8/bytes_heavy.pl
/usr/local/lib/perl5/5.8.8/bytes.pm
/usr/local/lib/perl5/5.8.8/cacheout.pl
/usr/local/lib/perl5/5.8.8/Carp.pm
/usr/local/lib/perl5/5.8.8/CGI.pm
/usr/local/lib/perl5/5.8.8/charnames.pm
/usr/local/lib/perl5/5.8.8/complete.pl
/usr/local/lib/perl5/5.8.8/constant.pm
/usr/local/lib/perl5/5.8.8/CPAN.pm
/usr/local/lib/perl5/5.8.8/ctime.pl
/usr/local/lib/perl5/5.8.8/i686-linux/Cwd.pm
/usr/local/lib/perl5/5.8.8/DBM_Filter.pm
/usr/local/lib/perl5/5.8.8/dbm_filter_util.pl
/usr/local/lib/perl5/5.8.8/DB.pm
/usr/local/lib/perl5/5.8.8/diagnostics.pm
/usr/local/lib/perl5/5.8.8/Digest.pm
/usr/local/lib/perl5/5.8.8/DirHandle.pm
/usr/local/lib/perl5/5.8.8/dotsh.pl
/usr/local/lib/perl5/5.8.8/Dumpvalue.pm
/usr/local/lib/perl5/5.8.8/dumpvar.pl
/usr/local/lib/perl5/5.8.8/English.pm
/usr/local/lib/perl5/5.8.8/Env.pm
/usr/local/lib/perl5/5.8.8/exceptions.pl
/usr/local/lib/perl5/5.8.8/Exporter.pm
/usr/local/lib/perl5/5.8.8/fastcwd.pl
/usr/local/lib/perl5/5.8.8/Fatal.pm
/usr/local/lib/perl5/5.8.8/fields.pm
/usr/local/lib/perl5/5.8.8/FileCache.pm
/usr/local/lib/perl5/5.8.8/FileHandle.pm
/usr/local/lib/perl5/5.8.8/filetest.pm
/usr/local/lib/perl5/5.8.8/FindBin.pm
/usr/local/lib/perl5/5.8.8/finddepth.pl
/usr/local/lib/perl5/5.8.8/find.pl
/usr/local/lib/perl5/5.8.8/flush.pl
/usr/local/lib/perl5/5.8.8/getcwd.pl
/usr/local/lib/perl5/5.8.8/getopt.pl
/usr/local/lib/perl5/5.8.8/getopts.pl
/usr/local/lib/perl5/5.8.8/hostname.pl
/usr/local/lib/perl5/5.8.8/if.pm
/usr/local/lib/perl5/5.8.8/importenv.pl
/usr/local/lib/perl5/5.8.8/integer.pm
/usr/local/lib/perl5/5.8.8/less.pm
/usr/local/lib/perl5/5.8.8/locale.pm
/usr/local/lib/perl5/5.8.8/look.pl
/usr/local/lib/perl5/5.8.8/Memoize.pm
/usr/local/lib/perl5/5.8.8/newgetopt.pl
/usr/local/lib/perl5/5.8.8/NEXT.pm
/usr/local/lib/perl5/5.8.8/open2.pl
/usr/local/lib/perl5/5.8.8/open3.pl
/usr/local/lib/perl5/5.8.8/open.pm
/usr/local/lib/perl5/5.8.8/overload.pm
/usr/local/lib/perl5/5.8.8/perl5db.pl
/usr/local/lib/perl5/5.8.8/PerlIO.pm
/usr/local/lib/perl5/5.8.8/pwd.pl
/usr/local/lib/perl5/5.8.8/SelectSaver.pm
/usr/local/lib/perl5/5.8.8/SelfLoader.pm
/usr/local/lib/perl5/5.8.8/Shell.pm
/usr/local/lib/perl5/5.8.8/shellwords.pl
/usr/local/lib/perl5/5.8.8/sigtrap.pm
/usr/local/lib/perl5/5.8.8/sort.pm
/usr/local/lib/perl5/5.8.8/stat.pl
/usr/local/lib/perl5/5.8.8/strict.pm
/usr/local/lib/perl5/5.8.8/subs.pm
/usr/local/lib/perl5/5.8.8/Switch.pm
/usr/local/lib/perl5/5.8.8/Symbol.pm
/usr/local/lib/perl5/5.8.8/syslog.pl
/usr/local/lib/perl5/5.8.8/tainted.pl
/usr/local/lib/perl5/5.8.8/termcap.pl
/usr/local/lib/perl5/5.8.8/Test.pm
/usr/local/lib/perl5/5.8.8/Thread.pm
/usr/local/lib/perl5/5.8.8/timelocal.pl
/usr/local/lib/perl5/5.8.8/UNIVERSAL.pm
/usr/local/lib/perl5/5.8.8/utf8_heavy.pl
/usr/local/lib/perl5/5.8.8/utf8.pm
/usr/local/lib/perl5/5.8.8/validate.pl
/usr/local/lib/perl5/5.8.8/vars.pm
/usr/local/lib/perl5/5.8.8/vmsish.pm
/usr/local/lib/perl5/5.8.8/warnings.pm
/usr/local/lib/perl5/5.8.8/i686-linux/Config.pm
/usr/local/lib/perl5/5.8.8/i686-linux/Config_heavy.pl
/usr/local/lib/perl5/5.8.8/i686-linux/Config.pod
/usr/local/lib/perl5/5.8.8/i686-linux/lib.pm
/usr/local/lib/perl5/5.8.8/i686-linux/re.pm
/usr/local/lib/perl5/5.8.8/i686-linux/XSLoader.pm
/usr/local/lib/perl5/5.8.8/i686-linux/DynaLoader.pm
/usr/local/lib/perl5/5.8.8/i686-linux/B.pm
/usr/local/lib/perl5/5.8.8/i686-linux/O.pm
/usr/local/lib/perl5/5.8.8/i686-linux/ByteLoader.pm
/usr/local/lib/perl5/5.8.8/i686-linux/DB_File.pm
/usr/local/lib/perl5/5.8.8/i686-linux/Encode.pm
/usr/local/lib/perl5/5.8.8/i686-linux/encoding.pm
/usr/local/lib/perl5/5.8.8/i686-linux/Fcntl.pm
/usr/local/lib/perl5/5.8.8/i686-linux/GDBM_File.pm
/usr/local/lib/perl5/5.8.8/i686-linux/IO.pm
/usr/local/lib/perl5/5.8.8/i686-linux/Safe.pm
/usr/local/lib/perl5/5.8.8/i686-linux/Opcode.pm
/usr/local/lib/perl5/5.8.8/i686-linux/ops.pm
/usr/local/lib/perl5/5.8.8/i686-linux/POSIX.pod
# 研究Maildir
[firestone]$ ls tmp
[firestone]$ ls new
1140243084.V20I3be460.chopstick.dreamhost.com
1140243084.V20I3be461.straw.dreamhost.com
1140243088.V20I3be462.spoon.dreamhost.com
1140243089.V20I3be463.spoon.dreamhost.com
1140243092.V20I3be464.spoon.dreamhost.com
1140243096.V20I3be465.straw.dreamhost.com
[firestone]$ ls cur
C:\Documents and Settings\klhsieh\Local Settings\Application Data\Identities\{3A5A8381-D53D-453E-9CDC-8A5D54AE88BE}\Microsoft\Outlook Express
[firestone]$ ls courierimapkeywords/
1140243084.V20I3be460.chopstick.dreamhost.com 1140243089.V20I3be463.spoon.dreamhost.com
1140243084.V20I3be461.straw.dreamhost.com 1140243092.V20I3be464.spoon.dreamhost.com
1140243088.V20I3be462.spoon.dreamhost.com 1140243096.V20I3be465.straw.dreamhost.com
[firestone]$ ls courierimapsubscribed
courierimapsubscribed
[firestone]$ ls courierimapsubscribed/
ls: courierimapsubscribed/: Not a directory
[firestone]$ ls courierimapuiddb
courierimapuiddb
[firestone]$ ls courierimapuiddb/
ls: courierimapuiddb/: Not a directory
[firestone]$
usage: python to_maildir.py source_dir dest_dir
=========================================================
[firestone]$ perl -T ./openwebmail-tool.pl –init
Please change the following 3 options in openwebmail.conf
from
dbm_ext .db
dbmopen_ext none
dbmopen_haslock no
to
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
And execute ‘./openwebmail-tool.pl –init’ again!.
[firestone]$
[firestone]$ perl -T ./openwebmail-tool.pl –init
creating /home/klhsieh/klhsieh2.dreamhosters.com/cgi-bin/openwebmail/etc/b2g.pag …done.
creating /home/klhsieh/klhsieh2.dreamhosters.com/cgi-bin/openwebmail/etc/g2b.pag …done.
creating /home/klhsieh/klhsieh2.dreamhosters.com/cgi-bin/openwebmail/etc/lunar.pag …done.
Welcome to the Open WebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++686+c6+gr6b-v6.192 i686
Perl: 5.008004
WebMail: Open WebMail 2.01 20030425
Send the site report?(Y/n) y
sending report…
Thank you.
[firestone]$
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++686+c6+gr6b-v6.192 i686
Perl: 5.008004
WebMail: Open WebMail 2.01 20030425
Send the site report?(Y/n) y
sending report…
Thank you.
========================
load_owconf(\%config_raw, “$SCRIPT_DIR/etc/openwebmail.conf.default”);
/home/canaan_admin/canaan.dreamhosters.com/owm/cgi-bin/openwebmail/etc/openwebmail.conf.default
[firestone]$ ./openwebmail-tool.pl –init
-bash: ./openwebmail-tool.pl: /usr/bin/suidperl: bad interpreter: No such file or directory
[firestone]$ perl -wT openwebmail-tool.pl –init
printf (…) interpreted as function at openwebmail-tool.pl line 828.
Open WebMail is unable to locate itself on this system,
please put ‘the path of openwebmail CGI directory’ to
the first line of file /etc/openwebmail_path.conf
For example, if the script is
/usr/local/www/cgi-bin/openwebmail/openwebmail-tool.pl,
then the content of /etc/openwebmail_path.conf should be:
/usr/local/www/cgi-bin/openwebmail/
[firestone]$
===========
Couldn’t open config file /home/canaan_admin/canaan.dreamhosters.com/owm/cgi-bin/openwebmail/etc/openwebmail/openwebmail.conf.default! (No such file or directory)
(ow-shared.pl:500, ruid=618511, euid=618511, egid=167795 1002 167795, mailgid=8)
=========
第一次用patch
[firestone]$ ls
cgi-bin data openwebmail-2.32-storage.diff openwebmail-2.32.tar.gz
[firestone]$ patch -p1 < openwebmail-2.32-storage.diff
patching file cgi-bin/openwebmail/auth/auth_ldap.pl
patching file cgi-bin/openwebmail/auth/auth_mysql.pl
patching file cgi-bin/openwebmail/auth/auth_mysql_vmail.pl
patching file cgi-bin/openwebmail/auth/auth_nis.pl
patching file cgi-bin/openwebmail/auth/auth_pam.pl
patching file cgi-bin/openwebmail/auth/auth_pg.pl
patching file cgi-bin/openwebmail/auth/auth_pgsql.pl
patching file cgi-bin/openwebmail/auth/auth_pop3.pl
patching file cgi-bin/openwebmail/auth/auth_unix.pl
patching file cgi-bin/openwebmail/auth/auth_vdomain.pl
patching file cgi-bin/openwebmail/etc/lang/de
patching file cgi-bin/openwebmail/etc/lang/es
patching file cgi-bin/openwebmail/etc/lang/gl
patching file cgi-bin/openwebmail/etc/lang/nn
patching file cgi-bin/openwebmail/etc/openwebmail.conf
patching file cgi-bin/openwebmail/etc/openwebmail.conf.default
patching file cgi-bin/openwebmail/etc/openwebmail.conf.help
patching file cgi-bin/openwebmail/etc/openwebmail.conf.vg
patching file cgi-bin/openwebmail/etc/templates/hu/dirfilesel.template
patching file cgi-bin/openwebmail/modules/dbm.pl
patching file cgi-bin/openwebmail/modules/filelock.pl
patching file cgi-bin/openwebmail/modules/lang.pl
patching file cgi-bin/openwebmail/modules/tool.pl
patching file cgi-bin/openwebmail/openwebmail-abook.pl
patching file cgi-bin/openwebmail/openwebmail-advsearch.pl
patching file cgi-bin/openwebmail/openwebmail-cal.pl
patching file cgi-bin/openwebmail/openwebmail-folder.pl
patching file cgi-bin/openwebmail/openwebmail-main.pl
patching file cgi-bin/openwebmail/openwebmail-prefs.pl
patching file cgi-bin/openwebmail/openwebmail-read.pl
patching file cgi-bin/openwebmail/openwebmail-send.pl
Hunk #7 FAILED at 1127.
Hunk #8 succeeded at 1411 (offset -4 lines).
Hunk #9 succeeded at 1504 (offset -4 lines).
Hunk #10 succeeded at 1598 (offset -4 lines).
Hunk #11 succeeded at 1646 (offset -4 lines).
Hunk #12 succeeded at 1675 (offset -4 lines).
Hunk #13 succeeded at 1703 (offset -4 lines).
Hunk #14 succeeded at 1991 (offset -4 lines).
Hunk #15 succeeded at 2033 (offset -4 lines).
Hunk #16 succeeded at 2045 (offset -4 lines).
Hunk #17 succeeded at 2053 (offset -4 lines).
Hunk #18 succeeded at 2095 (offset -4 lines).
Hunk #19 succeeded at 2123 (offset -4 lines).
Hunk #20 succeeded at 2401 (offset -4 lines).
1 out of 20 hunks FAILED — saving rejects to file cgi-bin/openwebmail/openwebmail-send.pl.rej
patching file cgi-bin/openwebmail/openwebmail-spell.pl
patching file cgi-bin/openwebmail/openwebmail-tool.pl
patching file cgi-bin/openwebmail/openwebmail-vdomain.pl
patching file cgi-bin/openwebmail/openwebmail-viewatt.pl
patching file cgi-bin/openwebmail/openwebmail-webdisk.pl
patching file cgi-bin/openwebmail/openwebmail.pl
patching file cgi-bin/openwebmail/shares/getmessage.pl
patching file cgi-bin/openwebmail/shares/maildb.pl
patching file cgi-bin/openwebmail/shares/ow-shared.pl
patching file cgi-bin/openwebmail/storage/storage_global.pl
patching file cgi-bin/openwebmail/storage/storage_maildir.pl
patching file cgi-bin/openwebmail/storage/storage_mbox.pl
patching file cgi-bin/openwebmail/uty/debugadd.pl
patching file cgi-bin/openwebmail/uty/debugdel.pl
patching file cgi-bin/openwebmail/uty/pamtest.pl
patching file data/openwebmail/images/iconsets/Text.Chinese.Simplified/icontext
patching file data/openwebmail/images/iconsets/Text.English/icontext
[firestone]$
============
sftp> put www.tar.gz
Uploading www.tar.gz to /home/.bellboy/canaan_admin/www.tar.gz
www.tar.gz 100% 6719MB 50.9KB/s 37:32:06
sftp>
canaan2.dreamhosters.com 映對到 www.canaan.org.tw
另外canaan.org.tw, canaan.dreamhosters.com 都是獨立的
在目錄下,只有www.canaan.org.tw
那是因為我在造的時候,雖然both, 但是有小心的指定目錄
klhsieh2.dreamhosters.com, kunlung.com 是獨立的domain
klhsieh.dreamhosters.com 映對到www.kunlung.com
在目錄下, 四個都有
在panel 底下, domain unlung.com 的目錄已是www.kunlung.com
fkfku uba ix iaxi rypd mri jzdj kunlung.com
我已經暫除了kunlung.com
現在只有三個domain 目錄
我的mail
klhsieh@klhsieh.dreamhosters.com (改成又轉又存)
klhsieh@kunlung.com 又轉又存
gzip -d .gz的檔案
就會uncompress, 原來的檔案會不見
============================
:local:/usr/local/cvsroot
cvs -d /usr/local/cvsroot init
$ cvs import -m “Created directory structure” yoyodyne/dir yoyo start
[firestone]$ cvs import -m “Create repository for QuiXplorer-admin” quix novendor start
[firestone]$ export CVSROOT=/home/klhsieh/cvsroot
$ cvs co quix
會造成連’quix’目錄名也複製
============
據dh 說, 它不提供pserver, 所以CVS只有client 端
===================
[10:24pm]kiwi@www:/usr/local/www/cgi-bin# ls
awredir.pl awstats052005.txt awstats122004.txt lang tempiconv
awstats.conf awstats062005.txt awstats122005.txt lib test-cgi
awstats.pl awstats072005.txt browse man.cgi tmp
awstats012005.txt awstats082005.txt canaan_news.cgi nut
awstats022005.txt awstats092005.txt canaan_news1.cgi plugins
awstats032005.txt awstats102005.txt dir.cgi printenv
awstats042005.txt awstats112005.txt dir.tmpl temp2iconv
======================================================
[firestone]$ perl ./openwebmail-tool.pl –init
Too late for “-T” option at ./openwebmail-tool.pl line 1.
[firestone]$ perl -wcT ./openwebmail-tool.pl –init
printf (…) interpreted as function at ./openwebmail-tool.pl line 936.
./openwebmail-tool.pl syntax OK
[firestone]$ perl -T ./openwebmail-tool.pl –init
Please change ‘./etc/dbm.conf’ from
dbm_ext .db
dbmopen_ext none
dbmopen_haslock no
to
dbm_ext .pag
dbmopen_ext none
dbmopen_haslock no
And execute ‘./openwebmail-tool.pl –init’ again!
ps: If you are running openwebmail in persistent mode,
don’t forget to ‘touch openwebmail*.pl’, so speedycgi
will reload all scripts, modules and conf files in –init.
[firestone]$ perl -T ./openwebmail-tool.pl –init
creating db /home/canaan_admin/www.canaan.org.tw/cgi-bin/openwebmail/etc/maps/b2g …done.
creating db /home/canaan_admin/www.canaan.org.tw/cgi-bin/openwebmail/etc/maps/g2b …done.
creating db /home/canaan_admin/www.canaan.org.tw/cgi-bin/openwebmail/etc/maps/lunar …done.
Welcome to the Open WebMail!
This program is going to send a short message back to the developer,
so we could have the idea that who is installing and how many sites are
using this software, the content to be sent is:
OS: Linux 2.4.32-grsec+f6b+gr217+nfs+a32+fuse23+++686+c6+gr6b-v6.192 i686
Perl: 5.008004
WebMail: Open WebMail 2.41 20040926
Send the site report?(Y/n) y
sending report…
Thank you.
=====================================
[10:56pm]kiwi@www:/var/db/mysql# du -h -d 1
80K ./mysql
16K ./test
2.6M ./yabbse
518K ./mlm
136K ./mywiki
984K ./membership
552K ./Mambo
20K ./speaker
2.0K ./methods
1.4M ./gallery2
16K ./HolyMusic
808K ./xoops2
7.1M .
mysql> show databases;
+————+
| Database |
+————+
| HolyMusic |
| Mambo |
| gallery2 |
| membership |
| methods |
| mlm |
| mysql |
| mywiki |
| speaker |
| test |
| xoops2 |
| yabbse |
+————+
12 rows in set (0.02 sec)
mysql>
=================
完成rsync
rsync -arHz –progress smartfaq/ -e ssh canaan_admin@canaan.dreamhosters.com:/home/canaan_admin/www.canaan.org.tw/test
wrote 281550 bytes read 3020 bytes 10738.49 bytes/sec
total size is 742449 speedup is 2.61
第二次再做,只比較檔案,不會再上傳了
[9:32pm]kiwi@www:/home/kiwi# rsync -arHz –progress smartfaq/ -e ssh canaan_admin@canaan.dreamhosters.com:/home/canaan_admin/www.canaan.org.tw/test
Password:
building file list …
166 files to consider
wrote 3659 bytes read 20 bytes 272.52 bytes/sec
total size is 742449 speedup is 201.81
第三次,結果一樣
[9:34pm]kiwi@www:/home/kiwi# rsync -arHz –progress smartfaq/ -e ssh canaan_admin@canaan.dreamhosters.com:/home/canaan_admin/www.canaan.org.tw/test
Password:
building file list …
166 files to consider
wrote 3659 bytes read 20 bytes 319.91 bytes/sec
total size is 742449 speedup is 201.81
我又測試了,如果先把檔案打包成tar ball,傳到遠端解開
再用rsync把local端的更新到遠端,是不是也只做比較呢?
答案是:是的! 請看:
[9:38pm]kiwi@www:/home/kiwi# rsync -arHz –progress smartfaq/ -e ssh canaan_admi n@canaan.dreamhosters.com:/home/canaan_admin/www.canaan.org.tw/test2/smartfaq
Password:
Password:
building file list …
166 files to consider
admin/
blocks/
class/
images/
images/icon/
images/links/
include/
include/overlib/
include/overlib/mini/
language/
language/english/
language/english/mail_template/
sql/
templates/
templates/blocks/
wrote 3659 bytes read 20 bytes 188.67 bytes/sec
total size is 742449 speedup is 201.81
[9:40pm]kiwi@www:/home/kiwi#
我在local端增加了一個passwd的檔案,再做rsync
嗯!它確實寫入遠端了!
[9:42pm]kiwi@www:/home/kiwi# rsync -arHz –progress smartfaq/ -e ssh canaan_admin@canaan.dreamhosters.com:/home/canaan_admin/www.canaan.org.tw/test2/smartfaq
Password:
building file list …
167 files to consider
./
passwd
6171 100% 0.00kB/s 0:00:00 (1, 84.4% of 167)
wrote 3763 bytes read 40 bytes 330.70 bytes/sec
total size is 748620 speedup is 196.85
[9:42pm]kiwi@www:/home/kiwi#
=========
這是什麼意思?
[root@client log]# tcpdump -r tcpdump0.log > tcpdump0.txt
reading from file tcpdump0.log, link-type EN10MB (Ethernet)
tcpdump: pcap_loop: truncated dump file; tried to read 16 header bytes, only got 2
[root@client log]# vim tcpdump0.txt
[root@client log]# tcpdump -r tcpdump1.log > tcpdump1.txt
reading from file tcpdump1.log, link-type EN10MB (Ethernet)
tcpdump: pcap_loop: truncated dump file; tried to read 1500 captured bytes, only got 647
=========
The Ethereal package has been configured with the following options.
Build ethereal : yes
Build tethereal : yes
Build capinfos : yes
Build editcap : yes
Build mergecap : yes
Build text2pcap : yes
Build idl2eth : yes
Build randpkt : no
Build dftest : yes
Install setuid : no
Use plugins : yes
Use GTK+ v2 library : yes
Use threads : no
Build profile binaries : no
Use pcap library : yes
Use zlib library : yes
Use pcre library : no
Use kerberos library : yes (MIT)
Use GNU ADNS library : no
Use SSL crypto library : no
Use IPv6 name resolution : yes
Use UCD SNMP/NET-SNMP library : no
[root@server libcap]# rpm -ivh glib-1.2.10-16.i386.rpm
warning: glib-1.2.10-16.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing… ########################################### [100%]
package glib-1.2.10-16 is already installed
[root@server libcap]# rpm -ivh glib-devel-1.2.10-16.i386.rpm
warning: glib-devel-1.2.10-16.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing… ########################################### [100%]
package glib-devel-1.2.10-16 is already installed
[root@server libcap]# rpm -ivh gtk+-1.2.10-39.i386.rpm
warning: gtk+-1.2.10-39.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing… ########################################### [100%]
package gtk+-1.2.10-39 is already installed
[root@server libcap]# rpm -ivh gtk+-devel-1.2.10-39.i386.rpm
warning: gtk+-devel-1.2.10-39.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing… ########################################### [100%]
1:gtk+-devel ########################################### [100%]
[root@server libcap]# rpm -ivh libpcap-0.8.3-12.i386.rpm
warning: libpcap-0.8.3-12.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
Preparing… ########################################### [100%]
package libpcap-0.8.3-12 is already installed
[root@server libcap]#