du -ah
ubuntu skill:
http://wiki.ubuntu.org.cn/UbuntuSkills#.E5.A6.82.E4.BD.95.E5.85.B3.E9.97.ADssh.E7.99.BB.E5.BD.95.E6.8F.90.E7.A4.BA
1.更新源:/etc/apt/sources.list
2.安装jdk:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u29-download-513648.html
32:http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jdk-6u29-linux-i586.bin
64:http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-x64.bin
a. ./jdk-6u27-linux-x64.bin
b. 设置pah
JAVA_HOME=/usr/local/java
TOMCAT_HOME=/usr/local/tomcat
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME TOMCAT_HOME PATH
c. 替换securty lib
3.下载tomcat
http://labs.renren.com/apache-mirror/tomcat/tomcat-5/v5.5.35/bin/apache-tomcat-5.5.35.tar.gz
4. 安装altas
5.下载 mysql
http://www.mysql.com/downloads/mirror.php?id=404240#mirrors
http://download.softagency.net/MySQL/Downloads/MySQL-5.5/MySQL-5.5.19-1.linux2.6.i386.tar
常用命令
--------------------------------------------------------------------
mysql导入导出
mysqldump -u root -p ocndb >/home/atlas/ocndb.sql
mysql -u root -p ocndb</home/ocndb.sql
scp
scp js.tar.gz root@69.90.188.171:/home
tar
tar xvf test.tar.gz
tar cvf test.tar.gz test1 test2
jar命令格式和tar一样
查看cpu
/proc/cpuinfo
ubuntu skill:
http://wiki.ubuntu.org.cn/UbuntuSkills#.E5.A6.82.E4.BD.95.E5.85.B3.E9.97.ADssh.E7.99.BB.E5.BD.95.E6.8F.90.E7.A4.BA
1.更新源:/etc/apt/sources.list
2.安装jdk:
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u29-download-513648.html
32:http://download.oracle.com/otn-pub/java/jdk/6u29-b11/jdk-6u29-linux-i586.bin
64:http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-x64.bin
a. ./jdk-6u27-linux-x64.bin
b. 设置pah
JAVA_HOME=/usr/local/java
TOMCAT_HOME=/usr/local/tomcat
PATH=$JAVA_HOME/bin:$PATH
export JAVA_HOME TOMCAT_HOME PATH
c. 替换securty lib
3.下载tomcat
http://labs.renren.com/apache-mirror/tomcat/tomcat-5/v5.5.35/bin/apache-tomcat-5.5.35.tar.gz
4. 安装altas
5.下载 mysql
http://www.mysql.com/downloads/mirror.php?id=404240#mirrors
http://download.softagency.net/MySQL/Downloads/MySQL-5.5/MySQL-5.5.19-1.linux2.6.i386.tar
常用命令
--------------------------------------------------------------------
mysql导入导出
mysqldump -u root -p ocndb >/home/atlas/ocndb.sql
mysql -u root -p ocndb</home/ocndb.sql
scp
scp js.tar.gz root@69.90.188.171:/home
tar
tar xvf test.tar.gz
tar cvf test.tar.gz test1 test2
jar命令格式和tar一样
查看cpu
/proc/cpuinfo