liunx安装jdk和tomact操作记录

[root@localhost bin]# history

    1  ifconfig

    2  ifconfig eth0 192.168.29.2

    3  ifconfig

    4  cd /software

    5  ls

    6  cd jdk

    7  ls

    8  chmod 755 jdk-6u13-linux-i586.bin 

    9  ls

   10  cd /usr

   11  ls

   12  mkdir Java

   13  ls

   14  cd /software

   15  ls

   16  cd jdk

   17  ls

   18  cp jdk-6u13-linux-i586.bin /usr/Java

   19  cd /usr/Java

   20  ls

   21  ./jdk-6u13-linux-i586.bin 

   22  vi /etc/profile

   23  reboot

   24  cd /software

   25  ls

   26  cd tomcat

   27  ls

   28  chmod +x apache-tomcat-6.0.18.tar.gz 

   29  ls

   30  cd /usr

   31  ls

   32  mkdir tomcat

   33  ls

   34  cd /software/tomcat

   35  ls

   36  cp apache-tomcat-6.0.18.tar.gz /usr/tomcat

   37  cd /usr/tomcat

   38  ls

   39  tar -zxvf apache-tomcat-6.0.18.tar.gz 

   40  ls

   41  rm apache-tomcat-6.0.18.tar.gz

   42  ls

   43  cd apache-tomcat-6.0.18

   44  ls

   45  cd bin

   46  ls

   47  ./startup.sh

   48  ./shutdown.sh

   49  hi

   50  history

[root@localhost bin]# 

[root@localhost bin]# 

猜你喜欢

转载自pengbaowei0311.iteye.com/blog/2166175