*Install Log #contents ---- *Install Log [#sa1956de] 管理しているサーバ関係ののインストールやアップデートの記録。 *htaccess インストールネタではないですが。。。 メモを[[こちら>./htaccess]]に。 #contentsx(depth=1:2) *Debian GNU/Linux (woody) -ややこしいので[[こちら>./Debian]]へ -VMware4.0にインストール中。メモは[[こちら>./Debian_on_VMware]]へ。 **Linux [#v09f3804] ***CentOS [#g0441863] -[[CentOS5関係の情報>./CentOS5]] -[[CentOS6関係の情報>./CentOS6]] *PHP Acceralator (2003-10-09) **配布元 -http://www.ioncube.jp/accelerator/(無料ユーザ登録が必要) -http://www.php-accelerator.co.uk/ **作業&設定 [[こちら:http://netpro.hyperdyne.co.jp/html/modules/wfsection/article.php?articleid=20]]や [[こちら:http://www.dream-seed.com/linux/phpa.html]]や [[こちら:http://www.php-j.com/tutorial/php/phpA.php]]を参考に。 *Apache+openssl RedHat Linux 7.2 (2003-04-24) **配布元 -[[RedHat:http://www.redhat.co.jp/]] -[[オフィシャルのカスタマイズガイド:http://www.jp.redhat.com/manual/Doc72/RH-DOCS/rhl-cg-ja-7.2/index.html]]を参照 ***VineLinux [#u6740416] -[[Vine3.2関係の情報>VineLinux3.2]] -[[Vine4.1関係の情報>./VineLinux4.1]] **設定 >RedHat Linuxをインストール済みのサーバに、Private CAをたてて、証明書を発行 ***Fedora Core 1 [#h054688f] -[[./FedoraCore1のインストール]] -鍵の作成 ***RedHatでapt [#h3491390] RedHat Linuxでaptを利用した、パッケージの管理をするためのメモ。 [[→詳細>./RedHatでapt]] >インストール時の鍵と証明書を削除 ***Debian GNU/Linux (woody) [#lf4daacd] -ややこしいので[[こちら>./Debian]]へ -VMware4.0にインストール中。メモは[[こちら>./Debian_on_VMware]]へ。 # cd /etc/httpd/conf # rm ssl.key/server.key # rm ssl.crt/server.crt **Apache+openssl RedHat Linux 7.2 (2003-04-24) [#zf63b3e9] ***配布元 [#we748991] -[[RedHat:http://www.redhat.co.jp/]] -[[オフィシャルのカスタマイズガイド:http://www.jp.redhat.com/manual/Doc72/RH-DOCS/rhl-cg-ja-7.2/index.html]]を参照 >一般的には次のようにして鍵を作成するが ***設定 [#e0dc2c6e] RedHat Linuxに、Private CAたてて証明書を発行。通称オレオレ証明書(笑)~ [[→詳細>./ApacheでPrivateCA]] # make genkey **Apacheの負荷監視 [#t46d327b] -[[mod_statusによる負荷監視>./mod_status]] (2008-01-25) >今回は、起動時にpass phraseを入力しなくてもいいようにするため、次のようにする **htaccess [#w5734dd3] インストールネタではないですが。。。 メモを[[こちら>./htaccess]]に。 # /usr/bin/openssl genrsa 1024 > /etc/httpd/conf/ssl.key/server.key # chmod go-rwx /etc/httpd/conf/ssl.key/server.key >ssl.key/server.keyが作成される **PHP Acceralator (2003-10-09) [#c134a939] ***配布元 [#t659e4ea] -http://www.ioncube.jp/accelerator/(無料ユーザ登録が必要) -http://www.php-accelerator.co.uk/ ***作業&設定 [#w0f4e73e] [[こちら:http://netpro.hyperdyne.co.jp/html/modules/wfsection/article.php?articleid=20]]や [[こちら:http://www.dream-seed.com/linux/phpa.html]]や [[こちら:http://www.php-j.com/tutorial/php/phpA.php]]を参考に。 -自己署名証明書の作成 >次を実行して、pass phraseを入力し、自己署名証明書を作成 # make testcert >途中の情報は、次のように入力 You are about to be asked to enter information that will be incorporated into your certificate request. What you are about to enter is what is called a Distinguished Name or a DN. There are quite a few fields but you can leave some blank For some fields there will be a default value, If you enter '.', the field will be left blank. ----- Country Name (2 letter code) [AU]:JP State or Province Name (full name) [Some-State]:Hyogo Locality Name (eg, city) []:Kakogawa Organization Name (eg, company) [Internet Widgits Pty Ltd]:Hyogo University Organizational Unit Name (eg, section) []:ISC Common Name (eg, your name or your server's hostname) []:hoge.hoge.hyogo-dai.ac.jp Email Address []:isc@hyogo-dai.ac.jp >最後に、httpdを再起動 # /sbin/service httpd restart *Python 2.2.2 (2003-04-16) **配布元 **Python [#i6245005] ***配布元 [#m146df62] -[[Python Language Website:http://www.python.org/]] -[[Python Japan User's Group:http://python.jp/Zope]] **インストール ***Python 2.2.2のインストール (2003-04-16) [#re7a7d1e] # tar zxf Python-2.2.2.tgz # cd Python-2.2.2 # sh ./configure --withoute-gcc # make # make test # make install *Mailman 2.1.1+JP patch (2003-04-16) **配布元 -[[Mailman, the GNU Mailing List Manager:http://www.list.org/]] -[[Mailman, Japanese Home Page:http://mm.tkikuchi.net/]] ***Python 2.3.4のインストール (2004-06-14) [#c2a06758] gccでコンパイルできなかったので、Tru64のccでコンパイル # tar zxf Python-2.3.4.tgz # cd Python-2.3.4 # ./configure -with-dec-threads # make # make test # make install **インストール -インストール準備 # groupadd -g 197 mailman # useradd -g 197 -d /usr/local/mailman -m -u 197 mailman # chmod a+rx,g+ws /usr/local/mailman -インストール **Mailman [#j5fd6c21] メーリングリスト管理・運営パッケージ。 # su mailman % tar zxf mailman-2.1.1.tgz % cd mailman-2.1.1 % patch -p0 < ../mailman-2.1.1+patch.20030214 % ./configure --with-mail-gid=nogroup --with-cgi-gid=nogroup --with-gcc=no % cd /usr/local/mailman % ./bin/check_perms % ./bin/check_perms -f (エラーが出なくなるまで) # cd mailman-2.1.1 # cp misc/mailman.jpg misc/PythonPowered.png misc/gnu-head-tiny.jpg /usr/local/apache/icons ***配布元 [#d1b30f82] -[[Mailman, the GNU Mailing List Manager:http://www.list.org/]] -[[Mailman, Japanese Home Page:http://mm.tkikuchi.net/]] -Webサーバの設定 ***インストール記録 [#v2cbbf0c] -[[Mailman 2.1.1+JP patch>./Mailman2.1.1]] (2003-04-16) -[[Mailman 2.1.5+Mailman-2.1.5用修正パッチ>./Mailman2.1.5]] (2004-06-14) >/usr/local/apache/conf/http.confに追加して、Apacheをリスタート **Squid [#v1f976f5] ***配布元 [#n58fd3ce] -[[Squid Web Proxy Cache:http://www.squid-cache.org/]] ScriptAlias /mailman/ "/usr/local/mailman/cgi-bin/" <Directory "/usr/local/mailman/cgi-bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory> Alias /pipermail/ "/usr/local/mailman/archives/public/" <Directory "/usr/local/mailman/archives/public"> Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all </Directory> ***記録 [#ab40bc99] -[[./squid-2.5.STABLE5]] (2004-06-21) -[[./squid-2.6.STABLE10]] (2007-03-19) -Mailmanの設定 **Squirrelmail [#ae546ce4] IMAP対応のWeb mailer。プラグインで機能拡張が可能で、POP3へも一応プラグインにより対応。導入が楽、管理が楽、使うのも楽と、ちょー便利。 >~mailman/Mailman/mm_cfg.py に追加 ***配布元 [#a2e5fc6d] -本家: [[SquirrelMail:http://www.squirrelmail.org/]] -日本語版: [[SquirrelMail Japan:http://www.squirrelmail.jp/]] IMAGE_LOGOS = '/images/' DEFAULT_SERVER_LANGUAGE = 'ja' ***記録 [#hac97341] -[[./SquirrelMail 1.4.3a]] (2005-03-11) -cronの設定 % cd ~mailman/cron % crontab crontab.in -サイト全体のメーリングリストを作成 % bin/newlist mailman >表示された内容にしたがって、/var/adm/sendmail/aliasesの設定をし、newaliasesを実行 **カスタマイズ -パスワードの設定 % ~mailman/bin/mmsitepass <your-site-password> -テスト用のメーリングリストの作成 % bin/newlist test-ml >できあがったら、aliasの登録をして、ブラウザで確認 |