2011年12月02日

mod_jkのインストール

mod_jkは、ApacheとTomcatを連携させるコネクタです。
久しぶりにインストールしようとしたら、すっかり忘れていたので、備忘録として。

・mod_jkのソースを入手する
配布元はこちら。http://tomcat.apache.org/connectors-doc/
最新のソースをwgetで取ってきて解凍すればOK。

・コンパイルする
# cd 展開したアーカイブのディレクトリ
# cd native
# ./configure --with-apxs

さらのサーバーだと、configureで開発環境が足りないとか言われますので、
# yum install gcc gcc-c++
を実行。(もしかするとhttpd-develも要るかも)

あとはmake。
問題なくビルドできたら、apache-2.0ディレクトリにあるmod_jk.soを、/etc/httpd/modulesにコピー。

# cp -p apache-2.0/mod_jk.so /etc/httpd/modules

こんな感じ。
posted by へろ at 11:02 | Comment(4) | TrackBack(0) | コンピュータ
この記事へのコメント
http://www.kddikddi.com/
お気軽に声かけてください!もしくは・・・メールちゃん♪♪
Posted by 大人ですよ? at 2012年04月05日 06:07
http://aaa.ero555ero-navi.net/001.html
ここじゃーあれだからメールで相談お願いします
Posted by Mかも(恥 at 2012年05月20日 06:03
http://gohf.xn--06ua950lba.biz/
初めてなんですけど教えてくれますか?
Posted by 制服ですっ♪ at 2012年09月19日 16:05
Just about all of the things you state is astonishingly accurate and it makes me wonder the reason why I hadn’t looked at this with this light previously. This particular piece truly did turn the light on for me as far as this specific subject goes. Nonetheless there is actually one particular issue I am not really too comfy with so while I attempt to reconcile that with the actual core idea of your point, let me observe exactly what the rest of your visitors have to say.Nicely done.
Posted by shoe lifts at 2013年07月23日 23:09
コメントを書く
お名前:

メールアドレス:

ホームページアドレス:

コメント:

この記事へのトラックバックURL
http://blog.sakura.ne.jp/tb/51289375

この記事へのトラックバック