linux下环境搭建

1、jdk

https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/

在linux用wget直接下载JDK

wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F" "http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin" -O jdk-6u45-linux-x64.bin

Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F 可以绕过ORACLE的网站验证

同时需要使用下面的链接.ORACLE网站的JDK6的链接不能在linux上直接下载

JDK 7u45
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-arm-vfp-hflt.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-arm-vfp-sflt.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-i586.rpm
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-i586.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-x64.rpm
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-linux-x64.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-macosx-x64.dmg
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-i586.tar.Z
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-i586.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-x64.tar.Z
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-x64.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-sparc.tar.Z
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-sparc.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-sparcv9.tar.Z
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-solaris-sparcv9.tar.gz
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-windows-i586.exe
http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-windows-x64.exe

JDK 6u45

http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586-rpm.bin
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-i586.bin
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64-rpm.bin
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-x64.bin
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-i586.sh
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-i586.tar.Z
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-sparc.sh
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-sparc.tar.Z
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-sparcv9.sh
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-sparcv9.tar.Z
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-x64.sh
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-solaris-x64.tar.Z
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-windows-i586.exe
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-windows-x64.exe
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-ia64-rpm.bin
http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-linux-ia64.bin

http://download.oracle.com/otn-pub/java/jdk/6u45-b06/jdk-6u45-windows-ia64.exe

转自: https://ivan-site.com/2012/05/download-oracle-java-jre-jdk-using-a-script/

二、mysql

参考:http://blog.csdn.net/suixinm/article/details/20782799

上一篇:[Python陷阱]os.system调用shell脚本获取返回值


下一篇:HDU ACM 3790 最短路径问题