CODE:[Copy to clipboard] cd /usr/local/src wget http://www.openssl.org/source/openssl-0.9.7e.tar.gz tar xzvf openssl-0.9.7e.tar.gz cd openssl-0.9.7e ./config --prefix=/usr/local/openssl-0.9.7e make make test make install
升级OpenSSH(依照最新的OpenSSL)
CODE:[Copy to clipboard] cd /usr/local/src wget http://gulus.usherbrooke.ca/pub/appl/ssh/OpenSSH/portable/openssh-3.9p1.tar.gz tar xzvf openssh-3.9p1.tar.gz cd openssh-3.9p1 ./configure --prefix=/usr --with-pam --with-zlib=/usr/local/zlib --with-ssl-dir=/usr/local/openssl-0.9.7e --with-md5-passwords --mandir=/usr/share/man (如果你自己编译安装了zlib,就加--with-zlib=DIR这个参数,如果默认安装,就换成--with-zlib)
Example 1 Below is a simple Java program which can get the hostname of a computer from IP address. download now Tips 1. Compile: javac GetHost 2. Run: java GetHost 111.111.111.1(your IP or others) import java.io.*; import java.net.*; // // // GetHost.java // // public class GetHost { public static void ...