VMPlayer でCentOS Linuxで環境構築したときのメモ。OS: CentOS 5.3 i386 (32bit)

apxsを使う為、httpd-develを入れる

yum install httpd-devel

mod_wsgiを入れる

wget http://modwsgi.googlecode.com/files/mod_wsgi-3.3.tar.gz
tar xvfz mod_wsgi-3.3.tar.gz
cd  mod_wsgi-3.3
./configure --with-python=/opt/python2.6/bin/python
make
make install

注意

configureの--with-pythonオプションにはpython2.6の所在を渡すこと。
今回は「/opt/python2.6/bin/python」で実施した。

参考: インストール後のログ

Libraries have been installed in:
   /usr/lib/httpd/modules

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,--rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.

このページへのコメント

17i1pc Really informative article.Really looking forward to read more. Great.

0
Posted by awesome things! 2014年01月21日(火) 13:00:01 返信

nwnZOV <a href="http://iesoqigiyzsc.com/">iesoqigiyzsc</a>, [url=http://veavgknnkabi.com/]veavgknnkabi[/url], [link=http://isjlowqtibwj.com/]isjlowqtibwj[/link], http://ngfqhkkdvhuj.com/

0
Posted by wqjsoyfgiar 2013年11月14日(木) 13:12:56 返信

コメントをかく


「http://」を含む投稿は禁止されています。

利用規約をご確認のうえご記入下さい

管理人/副管理人のみ編集できます