Created
June 21, 2011 16:13
-
-
Save iwakou/1038210 to your computer and use it in GitHub Desktop.
さくらの共有レンタルサーバにfcgiとfcgiのgemライブラリをインストールするコマンドまとめスクリプト
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
#!/bin/sh | |
#============================= | |
# make work directory | |
#============================= | |
mkdir -p $HOME/local/fcgi/src | |
cd $HOME/local/fcgi/src | |
#============================ | |
# install fcgi | |
#============================ | |
wget http://www.fastcgi.com/dist/fcgi-2.4.0.tar.gz | |
tar xzvf fcgi-2.4.0.tar.gz | |
cd fcgi-2.4.0 | |
./configure --prefix=$HOME/local/fcgi | |
make | |
make install | |
gem install fcgi -- --with-fcgi-include=$HOME/local/fcgi/include --with-fcgi-lib=$HOME/local/fcgi/lib | |
cd ../ | |
rm -rf fcgi-2.4.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment