Created
January 10, 2015 09:20
-
-
Save boscoworks/9bbe02ae3d402e0f14f7 to your computer and use it in GitHub Desktop.
httpdをソースコードビルドする ref: http://qiita.com/boscoworks/items/2c2f77f0ba59dc316e77
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wget http://www.us.apache.org/dist//httpd/httpd-2.4.10.tar.gz -P /usr/local/share/downloaded/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tar -zxvf /usr/local/share/downloaded/httpd-2.4.10.tar.gz -C /usr/local/src/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd /usr/local/src/httpd-2.4.10/ | |
./configure ¥ | |
--prefix=/usr/local/lib/httpd-2.4.10 ¥ | |
--with-apr=/usr/local/lib/apr-1.5.1 ¥ | |
--with-apr-util=/usr/local/lib/apr-util-1.5.4 ¥ | |
--with-pcre=/usr/local/lib/pcre-8.36 ¥ | |
--enable-cache ¥ | |
--enable-disk-cache ¥ | |
--enable-mem-cache ¥ | |
--enable-logio ¥ | |
--enable-headers ¥ | |
--enable-ssl ¥ | |
--enable-rewrite ¥ | |
--enable-so ¥ | |
--enable-proxy-http |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
make |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo ln -s /usr/local/lib/httpd-2.4.10/ /usr/local/httpd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rm -r /usr/local/share/downloaded/httpd-2.4.10.tar.gz | |
sudo rm -r /usr/local/src/httpd-2.4.10/ | |
sudo rm -r usr/local/lib/httpd-2.4.10/ | |
sudo rm -r /usr/local/httpd | |
sudo rm -r /usr/local/etc/ld.so.conf.d/httpd-2.4.10.conf | |
sudo rm -r /etc/ld.so.conf.d/httpd-2.4.10.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment