flagflag  

Install of Apache-2.4 anchor.png

Page Top

APR anchor.png

# ./configure --prefix=/usr/local/apr
# make
# make test
# make install
 
Page Top

APR-Util anchor.png

# ./configure --with-apr=/usr/local/apr
# make
# make test
# make install
 
Page Top

pcre anchor.png

# ./configure --prefix=/usr/local/pcre
# make
# make install
# vi /etc/ld.so.conf
   /usr/local/pcre/lib
Page Top

Apache anchor.png

#  ./configure --prefix=/usr/local/apache --enable-ssl --with-ssl=/usr/local/ssl \
   --with-apr=/usr/local/apr  --with-apr-util=/usr/local/apr \
   --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
 

Front page   Freeze Diff Backup Copy Rename Reload   New List of Pages Search Recent changes   Help   RSS of recent changes (RSS 1.0) RSS of recent changes (RSS 2.0) RSS of recent changes (RSS Atom)
Counter: 1406, today: 1, yesterday: 0
Last-modified: 2017-02-18 (Sat) 13:06:46 (JST) (2631d) by macsatou

Site Search

Login

Username:

Password:


Lost Password?
Register now!!

Sub Menu

mini Calendar

Last MonthMay 2024Next Month
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

97 user(s) are online (18 user(s) are browsing xpwiki)

Members: 0
Guests: 97

more...

Access Counter

Today : 103103103
Yesterday : 1753317533175331753317533
Total : 2346324623463246234632462346324623463246234632462346324623463246
Powered by XOOPS Cube 2.1© 2001-2006 XOOPS Cube Project
Design by XoopsDesign.com