Home
News
Forum
Wiki
Blog
Contents
Gallery
Movies
Downloads
About NSL
[
List of Titles
|
List of Pages
|
New
|
Search
|
Recent changes
|
Help
]
Apache/Install-2.4
[
Front page
]
[ ]
Start:
** Install of Apache-2.4
- [[OpenSSL 0.9.x>OpenSSL]] 以上が必要
- OpenSSL1.1.0系は未対応なので注意(20170217現在)
- APR-1.3.0, APR-util-1.3.0 以上が必要
- 参考: http://www.netp.tuis.ac.jp/moodle21/course/view.p...
#br
*** APR
- APR (Apache Portable Runtime): http://apr.apache.org/do...
# ./configure --prefix=/usr/local/apr
# make
# make test
# make install
#br
*** APR-Util
# ./configure --with-apr=/usr/local/apr
# make
# make test
# make install
#br
***pcre
# ./configure --prefix=/usr/local/pcre
# make
# make install
# vi /etc/ld.so.conf
/usr/local/pcre/lib
*** Apache
# ./configure --prefix=/usr/local/apache --enable-ssl -...
--with-apr=/usr/local/apr --with-apr-util=/usr/local...
--enable-suexec --enable-auth-digest --enable-rewrite \
--enable-dav --enable-so --with-mpm=prefork
# make
# 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/apachectl start
[Install]
WantedBy=multi-user.target
・起動関連
起動・停止・自動起動
# systemctl start apache
# systemctl stop apache
# systemctl enable apache
#br
End:
** Install of Apache-2.4
- [[OpenSSL 0.9.x>OpenSSL]] 以上が必要
- OpenSSL1.1.0系は未対応なので注意(20170217現在)
- APR-1.3.0, APR-util-1.3.0 以上が必要
- 参考: http://www.netp.tuis.ac.jp/moodle21/course/view.p...
#br
*** APR
- APR (Apache Portable Runtime): http://apr.apache.org/do...
# ./configure --prefix=/usr/local/apr
# make
# make test
# make install
#br
*** APR-Util
# ./configure --with-apr=/usr/local/apr
# make
# make test
# make install
#br
***pcre
# ./configure --prefix=/usr/local/pcre
# make
# make install
# vi /etc/ld.so.conf
/usr/local/pcre/lib
*** Apache
# ./configure --prefix=/usr/local/apache --enable-ssl -...
--with-apr=/usr/local/apr --with-apr-util=/usr/local...
--enable-suexec --enable-auth-digest --enable-rewrite \
--enable-dav --enable-so --with-mpm=prefork
# make
# 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/apachectl start
[Install]
WantedBy=multi-user.target
・起動関連
起動・停止・自動起動
# systemctl start apache
# systemctl stop apache
# systemctl enable apache
#br
Page:
Site Search
Advanced Search
Login
Username:
Password:
Lost Password?
Register now!!
Sub Menu
New Arrivals
Books
Web Links
Site Map
e-Learning
TUIS Certificate
mini Calendar
May 2025
Su
Mo
Tu
We
Th
Fr
Sa
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
Today
Who's Online
105 user(s) are online (4 user(s) are browsing xpwiki)
Members: 0
Guests: 105
more...
Access Counter
Today :
Yesterday :
Total :
Powered by XOOPS Cube 2.1© 2001-2006
XOOPS Cube Project
Design by
XoopsDesign.com