标签:style http ar os 使用 sp java 文件 on
进到/usr/local/apache执行命令
wget http://mirrors.cnnic.cn/apache/tomcat/tomcat-7/v7.0.57/bin/apache-tomcat-7.0.57.tar.gz
然后解压
tar
-
zxvf
apache-tomcat-7.0.57.tar.gz
查看
[root@iZ94l1n0y28Z apache]# ls
apache-tomcat-7.0.57 apache-tomcat-7.0.57.tar.gz
[root@iZ94l1n0y28Z apache]# cd apache-tomcat-7.0.57
[root@iZ94l1n0y28Z apache-tomcat-7.0.57]# ls
bin lib logs RELEASE-NOTES temp work
conf LICENSE NOTICE RUNNING.txt webapps
[root@iZ94l1n0y28Z apache-tomcat-7.0.57]#
下载jdk
[root@iZ94l1n0y28Z local]# mkdir java
[root@iZ94l1n0y28Z local]# ls
aegis bin games java lib64 sbin src
apache etc include lib libexec share
[root@iZ94l1n0y28Z local]# cd java
[root@iZ94l1n0y28Z java]# wget http://download.oracle.com/otn-pub/java/jdk/7u71-b14/jdk-7u71-linux-x64.tar.gz
解压jdk
然后一直不行。
最后直接在window下,下载好文件 然后通过ssh传到阿里云服务器
如图
这次终于解压成功!
标签:style http ar os 使用 sp java 文件 on
原文地址:http://my.oschina.net/liangzhenghui/blog/347976