[ ホーム | 一覧 | 検索 | 最終更新 | ヘルプ ] [ 新規 ]

KAWANO's PukiWiki Plus! - Install Log のバックアップ(No.13)

AND OR
  • バックアップ一覧
  • 差分 を表示
  • 現在との差分 を表示
  • 現在との差分 - Visual を表示
  • ソース を表示
  • Install Log へ行く。
    • 1 (2003-10-06 (月) 02:33:34)
    • 2 (2003-10-06 (月) 02:52:24)
    • 3 (2003-10-09 (木) 05:41:43)
    • 4 (2003-11-14 (金) 05:29:13)
    • 5 (2003-11-27 (木) 08:08:30)
    • 6 (2004-06-12 (土) 10:24:04)
    • 7 (2004-06-12 (土) 15:37:51)
    • 8 (2004-06-13 (日) 01:47:00)
    • 9 (2004-06-13 (日) 22:39:53)
    • 10 (2004-06-14 (月) 14:08:48)
    • 11 (2004-06-21 (月) 06:03:13)
    • 12 (2004-08-10 (火) 02:03:46)
    • 13 (2004-08-31 (火) 08:46:06)
    • 14 (2005-03-15 (火) 17:44:09)
    • 15 (2007-03-02 (金) 03:31:16)
    • 16 (2007-03-19 (月) 05:51:52)
    • 17 (2007-09-14 (金) 04:54:08)
    • 18 (2008-01-18 (金) 22:24:18)
    • 19 (2008-01-25 (金) 10:23:15)
    • 20 (2008-02-02 (土) 05:37:55)
    • 21 (2008-04-21 (月) 05:39:22)
    • 22 (2008-05-02 (金) 20:58:59)
    • 23 (2014-03-18 (火) 18:37:41)

Install Log

  • Install Log
    • Linux
      • Fedora Core 1
      • RedHatでapt
      • Debian GNU/Linux (woody)
    • Apache+openssl RedHat Linux 7.2 (2003-04-24)
      • 配布元
      • 設定
    • htaccess
    • PHP Acceralator (2003-10-09)
      • 配布元
      • 作業&設定
    • Python
      • 配布元
      • Python 2.2.2のインストール (2003-04-16)
      • Python 2.3.4のインストール (2004-06-14)
    • Mailman
      • 配布元
      • インストール記録
    • Squid
      • 配布元
      • squid-2.5.STABLE5 (2004-06-21)

▲ ▼

Linux

▲ ▼

Fedora Core 1

  • ./FedoraCore1のインストール
▲ ▼

RedHatでapt

RedHat Linuxでaptを利用した、パッケージの管理をするためのメモ。 →詳細

▲ ▼

Debian GNU/Linux (woody)

  • ややこしいのでこちらへ
  • VMware4.0にインストール中。メモはこちらへ。
▲ ▼

Apache+openssl RedHat Linux 7.2 (2003-04-24)

▲ ▼

配布元

  • RedHat
  • オフィシャルのカスタマイズガイドを参照
▲ ▼

設定

RedHat Linuxをインストール済みのサーバに、Private CAをたてて、証明書を発行

  • 鍵の作成

インストール時の鍵と証明書を削除

# cd /etc/httpd/conf 
# rm ssl.key/server.key
# rm ssl.crt/server.crt

一般的には次のようにして鍵を作成するが

# make genkey

今回は、起動時にpass phraseを入力しなくてもいいようにするため、次のようにする

# /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が作成される

  • 自己署名証明書の作成

次を実行して、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
▲ ▼

htaccess

インストールネタではないですが。。。 メモをこちらに。

▲ ▼

PHP Acceralator (2003-10-09)

▲ ▼

配布元

  • http://www.ioncube.jp/accelerator/(無料ユーザ登録が必要)
  • http://www.php-accelerator.co.uk/
▲ ▼

作業&設定

こちらや こちらや こちらを参考に。

▲ ▼

Python

▲ ▼

配布元

  • Python Language Website
  • Python Japan User's Group
▲ ▼

Python 2.2.2のインストール (2003-04-16)

# tar zxf Python-2.2.2.tgz
# cd Python-2.2.2
# sh ./configure --withoute-gcc
# make
# make test
# make install
▲ ▼

Python 2.3.4のインストール (2004-06-14)

gccでコンパイルできなかったので、Tru64のccでコンパイル

# tar zxf Python-2.3.4.tgz
# cd Python-2.3.4
# ./configure -with-dec-threads
# make
# make test
# make install
▲ ▼

Mailman

メーリングリスト管理・運営パッケージ。

▲ ▼

配布元

  • Mailman, the GNU Mailing List Manager
  • Mailman, Japanese Home Page
▲ ▼

インストール記録

  • Mailman 2.1.1+JP patch (2003-04-16)
  • Mailman 2.1.5+Mailman-2.1.5用修正パッチ (2004-06-14)
▲ ▼

Squid

▲ ▼

配布元

  • Squid Web Proxy Cache
▲ ▼

squid-2.5.STABLE5 (2004-06-21)

ちょっと古いですが、2.4.STABLE6からのアップデート。

アップデートするときの注意点(というよりハマったところ)は、次のとおり。

  • squidの実行ファイルが、PREFIX/binからPREFIX/sbinになってる
  • ログファイルの作成先が、PREFIX/logsからPREFIX/var/logsになっている
  • 設定ファイルsquid.confが、ちょこっと、変更されている(ややこしい。。。)
  • インストール
    % tar zxf squid-2.5.STABLE5.tar.gz
    % cd squid-2.5.STABLE5
    % ./configure --prefix=/configure --prefix=/usr/local/squid --enable-snmp
       --enable-cachemgr-hostname --enable-default-err-language=Japanese
    % make all
    # make install
    # cp contrib/squid.rc /sbin/rc3.d/S99squid
  • 設定ファイル(squid.conf)
    http_port 3128
    icp_port 3130
    
    cache_peer 親サーバ(not Squid) parent 8080 7 no-query
    cache_peer_domain 親サーバ(not Squid) !(親サーバを経由しないドメイン)
    acl QUERY urlpath_regex cgi-bin \?
    no_cache deny QUERY
    
    cache_mem 128 MB
    maximum_object_size 8192 KB
    
    cache_dir ufs /var/squid/cache 1600 16 256
    cache_access_log /usr/local/squid/var/logs/access.log
    cache_log /usr/local/squid/var/logs/cache.log
    cache_store_log /usr/local/squid/var/logs/store.log
    pid_filename /usr/local/squid/logs/squid.pid
    
    
    # OPTIONS FOR EXTERNAL SUPPORT PROGRAMS
    # -----------------------------------------------------------------------------
    ftp_user ftpuser@hyogo-dai.ac.jp
    
    
    # OPTIONS FOR TUNING THE CACHE
    # -----------------------------------------------------------------------------
    refresh_pattern ^ftp:           1440    20%     10080
    refresh_pattern ^gopher:        1440    0%      1440
    refresh_pattern .               0       20%     4320
    
    
    # TIMEOUTS
    # -----------------------------------------------------------------------------
    connect_timeout 6 minutes
    request_timeout 2 minutes
    client_lifetime 180 minutes
    
    
    # ACCESS CONTROLS
    # -----------------------------------------------------------------------------
    acl all src 0.0.0.0/0.0.0.0
    acl manager proto cache_object
    acl localhost src 127.0.0.1/255.255.255.255
    acl SSL_ports port 443 563
    acl Safe_ports port 80          # http
    acl Safe_ports port 21          # ftp
    acl Safe_ports port 443 563     # https, snews
    acl Safe_ports port 70          # gopher
    acl Safe_ports port 210         # wais
    acl Safe_ports port 1025-65535  # unregistered ports
    acl Safe_ports port 280         # http-mgmt
    acl Safe_ports port 488         # gss-http
    acl Safe_ports port 591         # filemaker
    acl Safe_ports port 777         # multiling http
    acl CONNECT method CONNECT
    # 学内用のacl(省略)
    http_access allow manager localhost
    http_access deny manager
    http_access deny !Safe_ports
    http_access deny CONNECT !SSL_ports
    # 学内用のaclへのアクセス許可(省略)
    http_access deny all
    http_reply_access allow all
    icp_access allow all
    
    cache_mgr hoge@hoge.hogehoge.jp
    cache_effective_user nobody
    cache_effective_group nobody
    visible_hostname hoge.hogehoge.jp
    
    logfile_rotate 1
    append_domain .hyogo-dai.ac.jp
    icp_hit_stale on
    acl hoge-servers dstdomain .(親サーバを経由しないドメイン)
    acl all src 0.0.0.0/0.0.0.0
    always_direct allow hoge-servers
    never_direct allow all
    
    coredump_dir /usr/local/squid/var/cache
    
    ie_refresh on

メニュー

  • トップ
  • 授業
  • PukiWiki Log
  • Install Log
  • 道具箱
  • セキュリティ情報
  • RSSアンテナ

大学関係リンク

  • Webメール
  • 健康システム学科
  • 情報メディアセンター
  • 兵庫大学

今日の1件
  • Lecture/CompPracC2006/13th/execise(1)
最新の5件
2016-04-08
  • Lecture/timetable_2016
  • Lecture
  • FrontPage
2015-09-30
  • Lecture/timetable_2015
2015-04-04
  • MenuBar

total: 14114
today: 1
yesterday: 0
now: 11


リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS
http%3A%2F%2Fhs-www.hyogo-dai.ac.jp%2F~kawano%2F%3FInstall%252520Log
Founded by Minoru Kawano.
Powered by PukiWiki Plus! 1.4.7plus-u2-i18n. HTML convert time to 0.232 sec.
Valid XHTML 1.1