flagflag  If you want to see English page, please click "English" Button at Left.
2: 2012-03-27 (火) 14:42:01 iseki ソース 現: 2017-02-18 (土) 13:06:46 macsatou ソース
Line 1: Line 1:
** Install of Apache-2.4 [#x4fe4530] ** Install of Apache-2.4 [#x4fe4530]
-- [[OpenSSL 0.9.x>OpenSSL]] が必要+- [[OpenSSL 0.9.x>OpenSSL]] 以上が必要 
 +- OpenSSL1.1.0系は未対応なので注意(20170217現在)
- APR-1.3.0, APR-util-1.3.0 以上が必要 - APR-1.3.0, APR-util-1.3.0 以上が必要
--+- 参考: http://www.netp.tuis.ac.jp/moodle21/cour​se/view.php?id=7&page=Apache2.4
#br #br
Line 13: Line 14:
 # make install  # make install
#br #br
 +
*** APR-Util [#o6af4b59] *** APR-Util [#o6af4b59]
 # ./configure --with-apr=/usr/local/apr  # ./configure --with-apr=/usr/local/apr
Line 19: Line 21:
 # make install  # make install
#br #br
 +
 +***pcre [#rce43e82]
 + # ./configure --prefix=/usr/local/pcre
 + # make
 + # make install
 + # vi /etc/ld.so.conf
 +   /usr/local/pcre/lib
 +
*** Apache [#j0ccfd74] *** Apache [#j0ccfd74]
- # ./configure --enable-ssl --with-ssl=/usr/local/ssl \ + # ./configure --prefix=/usr/local/apache --enable-ssl --with-ssl=/usr/local/ssl \ 
-      --with-apr=/usr/local/apr  --with-apr-util=/usr/local/apr \ +    --with-apr=/usr/local/apr  --with-apr-util=/usr/local/apr \ 
-      --enable-suexec --enable-auth-digest --enable-rewrite \ +    --enable-suexec --enable-auth-digest --enable-rewrite \ 
-      --enable-dav --enable-so --prefix=/usr/local/apache+    --enable-dav --enable-so --with-mpm=prefork
 # make  # make
 # make install  # make install
 +- ''--enable-mods-shared=all'' でコンパイルした方がいい?
 +
 +・起動スクリプト
 + #  vi /usr/lib/systemd/system/apache.service
 + [Unit]
 + Description=httpd-2.4.25 daemon
 + 
 + [Service]
 + Type=forking
 + ExecStart=/usr/local/apache/bin/apachec​tl start
 + 
 + [Install]
 + WantedBy=multi-user.target
 +
 +・起動関連
 +  起動・停止・自動起動
 + # systemctl start apache
 + # systemctl stop apache
 + # systemctl enable apache
 +
#br #br


トップ   新規 ページ一覧 単語検索 最終更新   ヘルプ   最終更新のRSS 1.0 最終更新のRSS 2.0 最終更新のRSS Atom

サイト内 検索

ログイン

ユーザー名:

パスワード:


パスワード紛失
新規登録

サブ メニュー

ミニカレンダー

前月2024年 5月翌月
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
<今日>

オンライン状況

95 人のユーザが現在オンラインです。 (17 人のユーザが xpwiki を参照しています。)

登録ユーザ: 0
ゲスト: 95

もっと...

アクセスカウンタ

今日 : 4682468246824682
昨日 : 7722772277227722
総計 : 2343616323436163234361632343616323436163234361632343616323436163
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com