a little bit of tech, a little bit of green, to help tame the savage techmachine.
tar zxvf openssl-0.9.7.tar.gz

mv openssl-0.9.7 ssl

cd ssl

vi tools/c_rehash  把/usr/local/ssl改为/usr,使编译和安装OpenSSL时用“/usr”这个默认目录

./Configure linux-elf -DSSL_FORBID_ENULL  --prefix=/usr  --openssldir=/etc/ssl

make

make test

make install

mv /etc/ssl/misc/* /usr/bin/

strip /usr/bin/openssl


posted on 2005-02-27 10:40  xyublog  阅读(680)  评论(0编辑  收藏  举报