日期:2014-05-16  浏览次数:20733 次

Linux下安装tomcat6.0.29步骤
第一部分 :linux下帐户的创建

   例:创建帐户   用户名: lw  密码: Lw1234   注:密码输入时不显示出来
         [root@IDD ~]# useradd lw                                                 


         [root@IDD ~]# passwd lw Changing password for user lw.


         New UNIX password:                                                       

         BAD PASSWORD: it is based on a dictionary word            


         Retype new UNIX password:                                           

         passwd: all authentication tokens updated successfully.

         [root@IDD ~]#                                                                 




         说明 :$useradd lw  增加名称为lw的用户    #passwd lw 将要为lw用户设密码

                  New UNIX password:为lw用户设密码   如:New UNIX password:Lw1234(输入密码不显示出来的)

                  Retype new UNIX password:  确认密码  如 :Retype new UNIX password:Lw1234

         OK,帐户创建建好了,默为所有权限目录   /home/lw



第二部分:安装Tomcate

       第一步:下载Tomcat

           退出,用lw帐户重新登录,查看当前路径pwd       为:/home/lw  新建目录 services  路径  /home/lw/services

           下载apache-tomcat-6.0.29.tar.gz 放到   /home/lw/services/apache-tomcat-6.0.29.tar.gz

            [lw@IDD ~]$  pwd               

            /home/lw                              

            [lw@IDD ~]$  mkdir services

            [lw@IDD ~]$  cd   services   

  &n