[root@pokemon /tmp]# tar zxvf fmail3.0p111.tar.gz fml-3.0/ntinstall.cmd fml-3.0/Makefile fml-3.0/makefml fml-3.0/README.jp fml-3.0/README.en fml-3.0/INSTALL.jp fml-3.0/INSTALL.en [root@pokemon fml-3.0]# make install perl ./makefml install ---NOT USING configuration file (for the first time) THIS HOST (pokemon) IS [i486-pc-linux-gnu] ---Please Define Your Fml System Configurations Personal Use or ML-Admin-Group-Shared or fmlserv you use? Personal, Group, Fmlserv (personal/group/fmlserv) [personal] group Please define the group (in /etc/group) ML Operators use Group of Mailing List Operators (fml or GID ([\w\d]+)) [fml] DOMAIN NAME [xx.co.jp] FQDN [zz.xx.co.jp] EXEC FILES DIRECTORY [/usr/local/fml] TOP LEVEL ML DIRECTORY [/var/spool/ml] Language (Japanese or English) [English] japanese TimeZone (TZ: e.g. +0900, -0300) [-0500] +0900 Installing bin ... Installing sbin ... Installing libexec ... Installing cf ... Installing etc ... Installing sys ... Installing src ... Installing drafts ... Installing messages ... Installing doc ... Please check the group permission in /var/spool/ml -- Enjoy Internetworking! [root@pokemon fml-3.0]# cd /usr/local/fml [root@pokemon fml]# ./makefml newml linux ---Loading the configuration file /usr/local/fml/.fml/system THIS HOST (pokemon) IS [i486-pc-linux-gnu] (cached) ************************* WARNING ************************* YOU WILL OPERATE A MAILING LIST as ROOT? IT IS VERY DANGEROUS! YOU SHOULD RUN MAILING LIST AS A NON-PRIVILEGED USER *********************************************************** Please check the group permission in /var/spool/ml root@pokemon fml]# cp /etc/aliases /etc/aliases.bak [root@pokemon fml]# cat /var/spool/ml/linux/aliases >> /etc/aliases [root@pokemon fml]# newaliases /etc/aliases: 26 aliases, longest 41 bytes, 500 bytes total |
[root@pokemon /tmp]# mkdir /var/qmail [root@pokemon /tmp]# tar zxvf qmail-1.03.tar.gz qmail-1.03/maildir.h qmail-1.03/maildir.c qmail-1.03/tcp-environ.5 qmail-1.03/constmap.h qmail-1.03/constmap.c [root@pokemon qmail-1.03]# /usr/sbin/groupadd qmail [root@pokemon qmail-1.03]# /usr/sbin/groupadd nofiles [root@pokemon qmail-1.03]# /usr/sbin/useradd -g nofiles -d /var/qmail/alias alias [root@pokemon qmail-1.03]# /usr/sbin/useradd -g nofiles -d /var/qmail qmaild [root@pokemon qmail-1.03]# /usr/sbin/useradd -g nofiles -d /var/qmail qmaill [root@pokemon qmail-1.03]# /usr/sbin/useradd -g nofiles -d /var/qmail qmailp [root@pokemon qmail-1.03]# /usr/sbin/useradd -g qmail -d /var/qmail qmailq [root@pokemon qmail-1.03]# /usr/sbin/useradd -g qmail -d /var/qmail qmailr [root@pokemon qmail-1.03]# /usr/sbin/useradd -g qmail -d /var/qmail qmails |
[root@pokemon /tmp]# make setup check nroff -man dot-qmail.5 > dot-qmail.0 nroff -man qmail-command.8 > qmail-command.0 nroff -man tcp-environ.5 > tcp-environ.0 nroff -man maildir.5 > maildir.0 nroff -man mbox.5 > mbox.0 nroff -man addresses.5 > addresses.0 nroff -man envelopes.5 > envelopes.0 nroff -man forgeries.7 > forgeries.0 ./install ./instcheck |
exp73(80) system/xxxxxxx Export: Relese 7.3.4.0.0. - Production on Tue Mar 07 10:47:47 2000 接続: Oracle7 Workgroup ServerRelease 7.3.4.0.0 with the distributed option PL/SQL Relese 2.3.4.0.0 - Production exp73(80) scott/tiger file=xxx.dmp tables=xxxxxで特定のテ−ブルだけバックアップすることが出きる。 imp73(80) scott/tiger file=xxx.dmp full=y |
[root@pokemon /tmp]# tar zxvf openssl-0.9.4-tar.gz openssl-0.9.4/util/speed.sh openssl-0.9.4/util/src-dep.pl openssl-0.9.4/util/ssleay.num openssl-0.9.4/util/tab_num.pl openssl-0.9.4/util/x86asm.sh [root@pokemon /tmp]# ./config Please make sure that no old OpenSSL header files are around: The include directory should now be empty except for the openssl subdirectory. root@pokemon openssl-0.9.4]# make make[1]: Leaving directory `/tmp/openssl-0.9.4/test' making all in tools... make[1]: Entering directory `/tmp/openssl-0.9.4/tools' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/openssl-0.9.4/tools' |
[root@pokemon openssl-0.9.4]# make install installing openssl installing CA.sh installing CA.pl installing der_chop make[1]: Leaving directory `/tmp/openssl-0.9.4/apps' installing test... make[1]: Entering directory `/tmp/openssl-0.9.4/test' make[1]: Nothing to be done for `install'. make[1]: Leaving directory `/tmp/openssl-0.9.4/test' installing tools... make[1]: Entering directory `/tmp/openssl-0.9.4/tools' make[1]: Leaving directory `/tmp/openssl-0.9.4/tools' installing libcrypto.a installing libssl.a |
[root@pokemon openssl-0.9.4]# cd /usr/local/ssl/bin [root@pokemon bin]# openssl genrsa -des 1024 > ../private/key.pokemon.pem unable to load 'random state' warning, not much extra random data, consider using the -rand option Generating RSA private key, 1024 bit long modulus .........+++++................+++++ e is 65537 (0x10001) Enter PEM pass phrase: Verifying password - Enter PEM pass phrase: |
-----BEGIN RSA PRIVATE KEY----- Proc-Type: 4,ENCRYPTED DEK-Info: DES-CBC,E172DBE9F54DF638 aNN37GB3cGkb5ID/X9a6U9ijif5Ker7O4693wxhJq+uaSYXiqNqg/iwztiNvSIVx rnMxpbRQePoC4LVy8QOQw3VWMSWOe1/6kcxMsvz6jm2YOFuH0JQ/B7lrnrZ38qHT VJS3vNutEy3MUeIOA8VcoLHNz4ahpeT9u+mqxMGBvvlV0ZNAQ8+6XeQu/qPjEWyB 7dyHcgk4/xgUnq4pJ9Cp8PRRBu9XphziFDvm6maV3fPIODFR3VqUvRmaTEy1zzTT swkzjEA0BRrsw230TrVpInFIDcf+T81tlIRK/EorYMWUwvBWoOgp9uzVBs17/4L4 f9cIFaf6q4jmljpWykMw4Gv7Zf6ALQzRu6dVeyqjaLrYVMfwzKkc0piAZTDSZLUn MLFG7SQZNA3YUGe27dxIWlTG4Zqf/r5CuIFsA/WOuuqsq+CIl1l7U//sc0+LUJ+B J/abcE3DbBD+SFSNYFVWy1UcsLr6CqnO/9l+tyXQc8jKl+j8y7kIymn4cD4TQvNC aPMkb/nNxAywc5huDJ4eLNe5RpxrmJBRjBNjwoNVmgwrcRIP5qn7vFkb8nrc9cKX yumVeHEBX1b2o+KI/NtxG/+tQi/CbLc4JuOCydHPuUlo9ZbHC5bKgoVdxyhTuQVX SA+2lMuKqduLkHMPnwnBamQnh8g1c26tYER1BHF+Ix4+EHhp9YaKU/dFHE4xg7H5 uGnwOAaoVM7Srk0klpQ1tOXuZJPt5MFWE/p/MB92fxJYBIMtwnnX0mkdxR989l6l t6FbHSWiUyItPvxtiRpeJaMH+ypLEFMmQScfokOwt6KKPqjou9uFBA== -----END RSA PRIVATE KEY----- |
[root@pokemon bin]# ./openssl req -new -key ../private/key.pokemon.pem -out csr.pokemon.pem Using configuration from /usr/local/ssl/openssl.cnf Enter PEM pass phrase:[] |
-----BEGIN CERTIFICATE REQUEST----- MIIB9DCCAV0CAQAwgZoxCzAJBgNVBAYTAmpwMRIwEAYDVQQIEwloaXJvc2hpbWEx ETAPBgNVBAcTCGZ1a3V5YW1hMREwDwYDVQQKFghtaXV0CBtbRDEkMCIGA1UEAxMb d3d3MS5mdWt1eWFtYS5ra21pdXJhLmNvLmpwMSswKQYJKoZIhvcNAQkBFhxsaW51 eEBmdWt1eWFtYS5ra21pdXJhLmNvLmpwMIGfMA0GCSqGSIb3DQEBAQUAA4GNADCB iQKBgQDA2eHCYgMrh3Vpiz7FODbxbwk6pSAQPo4Cnjv0Fv3jjcX92LOppl9tV35H uyMLanzrqBRrIe8im25CtaYncCKSGudv/9zvSIKWKq+uLNf9mWAnBXs3qrVQwC8D PQB0FgGpxRMS+3ooKapN6qjH/jiqdI2KPsFsCs2TFXUpK4oo6wIDAQABoBkwFwYJ KoZIhvcNAQkHMQoTCHNhdG9zaGkAMA0GCSqGSIb3DQEBBAUAA4GBADfXTAYlQDYj F/bKCxi7WDqTEQZSbJJCIkT2xfG9Jka+C2Apepmc76XfI4zAeJFgI3z4pyvG+oUg f89fBAHBOVDcwphRDp1haXboQUun6xDvqax3S/7b6jXtv+nUT8YfPo5y2ls1KxQs TonYmmt3HnF/Zr6V0PIKMygDms2s70gUxx -----END CERTIFICATE REQUEST----- |
[root@pokemon /tmp]# tar zxvf stone-2_1_tar.gz stone-2.1/ stone-2.1/README.en.txt stone-2.1/stone.1 stone-2.1/README.txt stone-2.1/stone.1.ja stone-2.1/stone.c stone-2.1/Makefile stone-2.1/GPL.txt |
make linux-ssl make[3]: Entering directory `/tmp/stone-2.1' cc -DINET_ADDR -DCPP='"/usr/bin/cpp -traditional"' -DUSE_SSL -I/usr/local/ssl/i nclude/openssl -I/usr/local/ssl/include -o stone stone.c -L/usr/local/ssl/lib -lssl -lcrypto make[3]: Leaving directory `/tmp/stone-2.1' make[2]: Leaving directory `/tmp/stone-2.1' make[1]: Leaving directory `/tmp/stone-2.1' [root@pokemon private]# cat key.pokemon.pem csr.pokemon.pem > /usr/local/ssl/certs/stone.pem |
[root@pokemon stone-2.1]# ./stone www.xxx.co.jp:80 443/ssl Mar 8 15:26:00 start (2.1) [25493] Mar 8 15:26:00 stone 3: pokemon.xxx.co.jp:http <- 443/sslEnter PEM pass phrase: Mar 8 15:26:48 SSL_use_RSAPrivateKey_file(/usr/local/ssl/certs/stone.pem) error Mar 8 15:27:10 SIGTERM/INT. exiting... |
[root@redhat6 ssh-1.2.27]# ./configure creating mpq/Makefile creating mpq/tests/Makefile creating mpz/Makefile creating mpz/tests/Makefile [root@redhat6 ssh-1.2.27]# make install |
[root@redhat6 ssh-1.2.27]# ssh-keygen1 Initializing random number generator... Generating p: ......................................++ (distance 694) Generating q: .....................................++ (distance 592) Computing the keys... Testing the keys... Key generation complete. Enter file in which to save the key (/root/.ssh/identity): Enter passphrase:xxxxx Enter the same passphrase again:xxxxx Your identification has been saved in /root/.ssh/identity. Your public key is: 1024 35 141249068710788298790158208248259476685313241739473885725213688215222706 23865101087924891756471987686529928264361832701805103348862905954193479964127220 16923747425550059452492582309702158050288030083363689396332680425675349327259117 41152488712739380784867334983585092260622391271670685625253451957950169900863 root@redhat6 Your public key has been saved in /root/.ssh/identity.pub [root@redhat6 ssh-1.2.27]# initd.conf の編集 [root@redhat6 ssh-1.2.27]# /etc/rc.d/init.d/inet reload |
tripwire-1.2/tests/test0.key tripwire-1.2/tests/test0.sh tripwire-1.2/tests/test1.sh tripwire-1.2/tests/tw.conf.test tripwire-1.2/tests/tw.db_TEST |
5/md5.o ../sigs/snefru/snefru.o ../sigs/crc32/crc32.o ../sigs/crc/crc.o ../sigs/ md4/md4.o ../sigs/md4/md4wrapper.o ../sigs/md2/md2.o ../sigs/md2/md2wrapper.o .. /sigs/sha/sha.o ../sigs/sha/shawrapper.o ../sigs/haval/haval.o ../sigs/haval/hav alwrapper.o nullsig.o utils.o make[1]: Leaving directory `/tmp/tripwire-1.2/src' make test Tripwire should have only reported: added: /tmp/tripwire-1.2/tests/@tw.config /tmp/tripwire-1.2/tests/tw.db_TEST.@... /tmp/tripwire-1.2/tests/OKEXER... changed: /tmp/tripwire-1.2/... (maybe some directory sizes...) ...and any other files you may have changed! removing: ./tests/tw.db_TEST.@ removing: @tw.config make[1]: Leaving directory `/tmp/tripwire-1.2/tests' [root@pokemon tripwire-1.1]# make install make[1]: Leaving directory `/tmp/tripwire-1.2/src' (cd src; make INSTALL=/usr/bin/install DESTDIR=/secureplace/bin install) make[1]: Entering directory `/tmp/tripwire-1.2/src' /usr/bin/install tripwire /secureplace/bin /usr/bin/install: /secureplace/bin: No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/tmp/tripwire-1.2/src' make: *** [install] Error 2 |
[root@pokemon tripwire-1.1]# make [root@pokemon tripwire-1.1]# make test ### =========== ============================= ============================= /tmp/tripwire-1.1/include/config.h st_size: 4695 4696 md5 (sig1): 1nUqx2gs0bykCkTeP9iqTX 1.RB0rHavuA3nayItG2Zh5 snefru (sig2): 3PENvC:BfKQA3qrmms8QXq 07G5wnOCRXL5GVqB7d6fUN crc32 (sig3): 3sLzoz 35EPuO crc16 (sig4): 0002Hy 000Bem md4 (sig5): 2k2lOyPSkVwK1eFjDzXDCs 2Ou.JXliUQJN9B3dg:kEgB md2 (sig6): 3CiBBvTimF9qa2a39J5LHe 2zhyAKmvA2QpCXsnBf:4R: sha (sig7): 0oD:oiDKWrnb8Av8xHY5kAjMDfM 7MH4aPqiuoNlHhxenpcw1FbA0Wh === test1.sh: END === Tripwire should have only reported: added: /tmp/tripwire-1.1/tests/@tw.config /tmp/tripwire-1.1/tests/tw.db_TEST.@... /tmp/tripwire-1.1/tests/OKEXER... changed: /tmp/tripwire-1.1/... (maybe some directory sizes...) ...and any other files you may have changed! removing: ./tests/tw.db_TEST.@ removing: @tw.config make[1]: Leaving directory `/tmp/tripwire-1.1/tests' [root@pokemon tripwire-1.1]# make install (cd aux; make CC=cc CFLAGS="-O " \ LDFLAGS="" CPP="cc -E " SHELL=/bin/sh all) make[1]: Entering directory `/tmp/tripwire-1.1/aux' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/tripwire-1.1/aux' (cd src; make CC=cc CFLAGS="-O " LIBS=" " \ LDFLAGS="" CPP="cc -E " SHELL=/bin/sh all) make[1]: Entering directory `/tmp/tripwire-1.1/src' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/tmp/tripwire-1.1/src' (cd src; make INSTALL=/usr/bin/install DESTDIR=/secureplace/bin install) make[1]: Entering directory `/tmp/tripwire-1.1/src' /usr/bin/install tripwire /secureplace/bin make[1]: Leaving directory `/tmp/tripwire-1.1/src' (cd man; make INSTALL=/usr/bin/install MANDIR=/usr/man install) make[1]: Entering directory `/tmp/tripwire-1.1/man' /usr/bin/install siggen.8 /usr/man/man8 /usr/bin/install tripwire.8 /usr/man/man8 /usr/bin/install tw.config.5 /usr/man/man5 chmod 644 /usr/man/man8/siggen.8 chmod 644 /usr/man/man8/tripwire.8 chmod 644 /usr/man/man5/tw.config.5 make[1]: Leaving directory `/tmp/tripwire-1.1/man' |
[root@pokemon lib]# cd /usr [root@pokemon /usr]# mkdir adm [root@pokemon /usr]# cd adm [root@pokemon adm]# mkdir tcheck [root@pokemon adm]# cd tcheck [root@pokemon tcheck]# mkdir database [root@pokemon bin]# ./tripwire -initialize ### Phase 1: Reading configuration file ### Phase 2: Generating file list ### Phase 3: Creating file information database ### ### Warning: Database file placed in ./databases/tw.db_pokemon. ### ### Make sure to move this file file and the configuration ### to secure media! ### ### (Tripwire expects to find it in '/tmp/genek'.) [root@pokemon bin]# mv tw.db_pokemon /xxx/xxx/xxx/database |
[root@redhat6 TimeDate-1.08]# make install Installing /usr/lib/perl5/site_perl/5.005/Date/Format.pm Installing /usr/lib/perl5/site_perl/5.005/Date/Parse.pm Installing /usr/lib/perl5/site_perl/5.005/Date/Language.pm Installing /usr/lib/perl5/site_perl/5.005/Time/Zone.pm Installing /usr/lib/perl5/man/man3/Date::Format.3 Installing /usr/lib/perl5/man/man3/Date::Parse.3 Installing /usr/lib/perl5/man/man3/Time::Zone.3 Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/TimeDate/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod [root@redhat6 Time-HiRes-01.20]# make install Installing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Time/HiRes/HiRes.so Installing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Time/HiRes/HiRes.bs Files found in blib/arch --> Installing files in blib/lib into architecture dependend library tree! Installing /usr/lib/perl5/site_perl/5.005/i386-linux/Time/HiRes.pm Installing /usr/lib/perl5/man/man3/Time::HiRes.3 Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Time/HiRes/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod [root@redhat6 Date-Calc-4.3]# make install Installing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Date/Calc/Calc.so Installing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Date/Calc/Calc.bs Files found in blib/arch --> Installing files in blib/lib into architecture depe ndend library tree! Installing /usr/lib/perl5/site_perl/5.005/i386-linux/Date/Calc.pm Installing /usr/lib/perl5/man/man3/Date::Calc.3 Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/Date/Calc/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod [root@redhat6 File-Tail-0.95]# make install Installing /usr/lib/perl5/site_perl/5.005/File/Tail.pm Installing /usr/lib/perl5/site_perl/5.005/auto/File/Tail/autosplit.ix Installing /usr/lib/perl5/man/man3/File::Tail.3 Writing /usr/lib/perl5/site_perl/5.005/i386-linux/auto/File/Tail/.packlist Appending installation info to /usr/lib/perl5/5.00503/i386-linux/perllocal.pod [root@redhat6 /tmp]# tar zxvf SWATCH30.TGZ |
[root@pokemon /tmp]# rpm -ivh genpower.rpm genpower ################################################## [root@pokemon /tmp] /sbin/genpowerd /dev/ttyS0 apc1-nt |
[root@pokemon /tmp]rpm -ev genpower 削除 root@redhat6 /tmp]# tar zxvf genpower-1_0_1.tgz genpower-1.0.1/ genpower-1.0.1/genpowerd.8 genpower-1.0.1/Makefile genpower-1.0.1/genpowerd.h [root@redhat6 genpower-1.0.1]# make cc -N -Wall -O6 genpowerd.c -o genpowerd cc -N -Wall -O6 gentest.c -o gentest [root@redhat6 genpower-1.0.1]# gentest /dev/ttyS0 bash: gentest: command not found [root@redhat6 genpower-1.0.1]# ./gentest /dev/ttyS0 --------------- DTR = Cleared RTS = Cleared CAR = Low ( ) CTS = Low ( ) DSR = Low ( ) RNG = Low ( ) [root@redhat6 genpower-1.0.1]# ./gentest -r /dev/ttyS0 --------------- DTR = Cleared RTS = Set CAR = High (*) CTS = Low ( ) DSR = Low ( ) RNG = Low ( ) --------------- [root@redhat6 genpower-1.0.1]# make install cp -f genpowerd /sbin cd /sbin; \ chmod 754 genpowerd; \ chgrp root genpowerd; \ chown root genpowerd cp -f genpowerfail /etc cd /etc; \ chmod 754 genpowerfail; \ chgrp root genpowerfail; \ chown root genpowerfail cp -f genpowerd.8 /usr/man/man8 |
[root@redhat6 /tmp]# tar zxvf upsd-2_0b1.tgz upsd-2.0b1/README upsd-2.0b1/COPYING upsd-2.0b1/Makefile upsd-2.0b1/upsd upsd-2.0b1/upsd.halt [root@redhat6 upsd-2.0b1]# make VERSION="\"v2.0b1\"" -c ups.c -o ups.o gcc common.o net.o upsd.o ups.o -o upsd strip upsd [root@redhat6 upsd-2.0b1]# make install strip upsd cp upsd /sbin chmod 755 /sbin/upsd cp upsd.8 /usr/man/man8 chmod 644 /usr/man/man8/upsd.8 cp rc.upsd.8 /usr/man/man8 chmod 644 /usr/man/man8/rc.upsd.8 |