OpenVZインストールはまりどころ

apacheのソースインストールで、/var/www のパーミッション
drwx------ 4 apache apache 4096 Apr 25 19:50 www
だと、その下のディレクトリへのパーミッションがないので、
chmod 777 www してやる

openssl 付でapache をインストールするには、先にopenssl をmake install してあげる必要がある。
http://d.hatena.ne.jp/rougeref/20080616

>pwd
/opt/local/src/apache/httpd-2.2.11 
>ls ../
httpd-2.2.11 openssl-0.9.8h openssl-0.9.8k
httpd-2.2.11.tar.gz openssl-0.9.8h.tar.gz openssl-0.9.8k.tar.gz
httpd-2.2.11.tar.gz.md5 openssl-0.9.8h.tar.gz.md5 openssl-0.9.8k.tar.gz.md5
>./configure --prefix=/usr/local/apache --enable-layout=RedHat --enable-rewrite --enable-so --enable-headers --enable-setenvif --enable-proxy --enable-proxy-balancer --enable-ssl --with-ssl=../openssl-0.9.8k --disable-userdir
>make
これだとダメで、

>./configure --prefix=/usr/local/apache --enable-layout=RedHat --enable-rewrite --enable-so --enable-headers --enable-setenvif --enable-proxy --enable-proxy-balancer --enable-ssl --with-ssl=/usr/local/ssl --disable-userdir
>make

これだとうまくいった。