apache のインストール

戻る■■次へ

  1. 必要なソースをもってくる。

  2. 前提条件
    • ユーザー名
      s000
    • ホームディレクトリ
      /usr/home/s000
    • SSLeay INSTALL Directory
      /usr/home/s000/ssl
    • APACHE INSTALL Directory
      /usr/home/s000/httpd
  3. 展開する。
      > tar -zxvf apache_1.2.6.tar.gz -C /usr/home/s000
        必要な場合はディレクトリ名を変更する
        > mv apache_1.2.6 httpd
      > cd /usr/home/s000/httpd <--絶対パスの場合
      > cd httpd <--相対パスの場合

  4. コンパイルする。
      > ./Configure
      Using config file: Configuration
      Using Makefile template file: Makefile.tmpl
       + configured for FreeBSD/NetBSD platform
       + setting C compiler to gcc
       + setting C compiler optimization-level to -O2
      
      > make