Linux 启动tomcat服务器2

http://www.cnblogs.com/cy163/category/91478.html  可参考资源

Linux下文件操作

一、上传文件

从windows操作系统中向Linux服务器上传文件使用pscp,首先下载pscp.exe,存放于某目录A下,同时将需要上传的文件或文件夹B也存放在该目录A下,然后点击“运行->cmd”,进入DOS命令窗口,进入目录A下

1、上传文件B(包含后缀名)

命令:pscp B linux账户@linux系统地址:/上传目录

例如:

pscp index.php root@192.168.0.1:/home/usr

该命令中上传文件为index.php,linux用户名为root,linux地址为192.168.0.1,上传目录为:/home/usr

回车,输入root账户的密码,才能上传成功。

2、上传文件夹B

命令:pscp -r B linux账户@linux系统地址:/上传目录

例如:

pscp -r data root@192.168.0.1:/home/usr

该命令中data为所上传的文件夹

回车,输入root账户的密码,才能上传成功。

二、查找文件

查找文件(一定要带后缀)或文件夹A:

find / -name A

三、移动文件或文件夹

移动文件(一定要带后缀名)或文件夹A:

mv /home/test /home/value

将home目录下的test文件夹移动到home目录下的value文件夹内

mv /home/index.php /home/value

将home目录下的index.php文件移动到home目录下的value文件夹内



login as: root
root@202.96.137.72's password:
Last login: Thu Jan 5 14:23:03 2012 from 183.37.67.210
[root@web05_server ~]# pgrep -fl java
6967 /opt/atlassian/jira/jre//bin/java -Djava.util.logging.config.file=/opt/atlassian/jira/conf/logging.properties -XX:MaxPermSize=256m -Xms256m -Xmx768m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/opt/atlassian/jira/endorsed -classpath /opt/atlassian/jira/bin/bootstrap.jar -Dcatalina.base=/opt/atlassian/jira -Dcatalina.home=/opt/atlassian/jira -Djava.io.tmpdir=/opt/atlassian/jira/temp org.apache.catalina.startup.Bootstrap start
9534 /root/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/bin/java -Djava.util.logging.config.file=/sdb/tomcat/9090/apache-tomcat-6.0.33/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/sdb/tomcat/9090/apache-tomcat-6.0.33/endorsed -classpath /sdb/tomcat/9090/apache-tomcat-6.0.33/bin/bootstrap.jar -Dcatalina.base=/sdb/tomcat/9090/apache-tomcat-6.0.33 -Dcatalina.home=/sdb/tomcat/9090/apache-tomcat-6.0.33 -Djava.io.tmpdir=/sdb/tomcat/9090/apache-tomcat-6.0.33/temp org.apache.catalina.startup.Bootstrap start
12178 /root/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/bin/java -Djava.util.logging.config.file=/sdb/tomcat/2020/apache-tomcat-7.0.8/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/sdb/tomcat/2020/apache-tomcat-7.0.8/endorsed -classpath /sdb/tomcat/2020/apache-tomcat-7.0.8/bin/bootstrap.jar:/sdb/tomcat/2020/apache-tomcat-7.0.8/bin/tomcat-juli.jar -Dcatalina.base=/sdb/tomcat/2020/apache-tomcat-7.0.8 -Dcatalina.home=/sdb/tomcat/2020/apache-tomcat-7.0.8 -Djava.io.tmpdir=/sdb/tomcat/2020/apache-tomcat-7.0.8/temp org.apache.catalina.startup.Bootstrap start
12725 /root/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/bin/java -Djava.util.logging.config.file=/sdb/tomcat/3030/apache-tomcat-7.0.8/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/sdb/tomcat/3030/apache-tomcat-7.0.8/endorsed -classpath /sdb/tomcat/3030/apache-tomcat-7.0.8/bin/bootstrap.jar:/sdb/tomcat/3030/apache-tomcat-7.0.8/bin/tomcat-juli.jar -Dcatalina.base=/sdb/tomcat/3030/apache-tomcat-7.0.8 -Dcatalina.home=/sdb/tomcat/3030/apache-tomcat-7.0.8 -Djava.io.tmpdir=/sdb/tomcat/3030/apache-tomcat-7.0.8/temp org.apache.catalina.startup.Bootstrap start
16964 /root/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/bin/java -Djava.util.logging.config.file=/sdb/tomcat/6063/apache-tomcat-6.0.24/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/sdb/tomcat/6063/apache-tomcat-6.0.24/endorsed -classpath /sdb/tomcat/6063/apache-tomcat-6.0.24/bin/bootstrap.jar -Dcatalina.base=/sdb/tomcat/6063/apache-tomcat-6.0.24 -Dcatalina.home=/sdb/tomcat/6063/apache-tomcat-6.0.24 -Djava.io.tmpdir=/sdb/tomcat/6063/apache-tomcat-6.0.24/temp org.apache.catalina.startup.Bootstrap start
27720 /root/jrockit-jdk1.6.0_20-R28.1.0-4.0.1/bin/java -Djava.util.logging.config.file=/sdb/tomcat/6060/apache-tomcat-7.0.8/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/sdb/tomcat/6060/apache-tomcat-7.0.8/endorsed -classpath /sdb/tomcat/6060/apache-tomcat-7.0.8/bin/bootstrap.jar:/sdb/tomcat/6060/apache-tomcat-7.0.8/bin/tomcat-juli.jar -Dcatalina.base=/sdb/tomcat/6060/apache-tomcat-7.0.8 -Dcatalina.home=/sdb/tomcat/6060/apache-tomcat-7.0.8 -Djava.io.tmpdir=/sdb/tomcat/6060/apache-tomcat-7.0.8/temp org.apache.catalina.startup.Bootstrap start
[root@web05_server ~]# cd /sdb/tomcat/6062/apache-tomcat-6.0.24/
-bash: cd: /sdb/tomcat/6062/apache-tomcat-6.0.24/: 没有那个文件或目录
[root@web05_server ~]# cd /sdb/tomcat/6062/apache-tomcat-7.0.8/
[root@web05_server apache-tomcat-7.0.8]# ls
bin conf lib LICENSE logs NOTICE RELEASE-NOTES RUNNING.txt temp webapps work
[root@web05_server apache-tomcat-7.0.8]# cd webapps/
[root@web05_server webapps]# ls
cms_gather.zip docs examples host-manager manager ROOT
[root@web05_server webapps]# unzip cms_gather.zip
Archive: cms_gather.zip
creating: cms_gather/
creating: cms_gather/common/
extracting: cms_gather/common/200.jsp
inflating: cms_gather/common/403.jsp
inflating: cms_gather/common/404.jsp
inflating: cms_gather/common/500.jsp
inflating: cms_gather/common/footer.jsp
inflating: cms_gather/common/header.jsp
inflating: cms_gather/common/meta.jsp
inflating: cms_gather/common/taglibs.jsp
creating: cms_gather/css/
inflating: cms_gather/css/jquery.tree.css
inflating: cms_gather/css/style.css
inflating: cms_gather/css/yui.css
inflating: cms_gather/default.jsp
creating: cms_gather/images/
creating: cms_gather/images/icons/
extracting: cms_gather/images/icons/checkbox_0.gif
extracting: cms_gather/images/icons/checkbox_1.gif
extracting: cms_gather/images/icons/checkbox_2.gif
inflating: cms_gather/images/logo.jpg
extracting: cms_gather/images/s.gif
creating: cms_gather/images/tree/
inflating: cms_gather/images/tree/arrows.gif
inflating: cms_gather/images/tree/elbow-end-minus-nl.gif
inflating: cms_gather/images/tree/elbow-end-minus.gif
inflating: cms_gather/images/tree/elbow-end-plus-nl.gif
inflating: cms_gather/images/tree/elbow-end-plus.gif
inflating: cms_gather/images/tree/elbow-end.gif
inflating: cms_gather/images/tree/elbow-line.gif
inflating: cms_gather/images/tree/elbow-minus-nl.gif
inflating: cms_gather/images/tree/elbow-minus.gif
inflating: cms_gather/images/tree/elbow-plus-nl.gif
inflating: cms_gather/images/tree/elbow-plus.gif
inflating: cms_gather/images/tree/elbow.gif
inflating: cms_gather/images/tree/folder-open.gif
inflating: cms_gather/images/tree/folder.gif
inflating: cms_gather/images/tree/leaf.gif
inflating: cms_gather/images/tree/loading.gif
inflating: cms_gather/images/tree/page.gif
inflating: cms_gather/images/tree/root.gif
extracting: cms_gather/index.jsp
creating: cms_gather/js/
inflating: cms_gather/js/jquery.js
inflating: cms_gather/js/jquery.tree.js
inflating: cms_gather/js/table.js
creating: cms_gather/js/validate/
creating: cms_gather/js/validate/images/
extracting: cms_gather/js/validate/images/checked.gif
inflating: cms_gather/js/validate/images/unchecked.gif
inflating: cms_gather/js/validate/jquery.validate.css
inflating: cms_gather/js/validate/jquery.validate.js
inflating: cms_gather/js/validate/messages_cn.js
creating: cms_gather/WEB-INF/
creating: cms_gather/WEB-INF/classes/
inflating: cms_gather/WEB-INF/classes/application.properties
inflating: cms_gather/WEB-INF/classes/applicationContext-hessian.xml
inflating: cms_gather/WEB-INF/classes/applicationContext-quartz.xml
inflating: cms_gather/WEB-INF/classes/applicationContext-security.xml
inflating: cms_gather/WEB-INF/classes/applicationContext.xml
creating: cms_gather/WEB-INF/classes/ehcache/
inflating: cms_gather/WEB-INF/classes/ehcache/ehcache-hibernate-local.xml
inflating: cms_gather/WEB-INF/classes/log4j.properties
extracting: cms_gather/WEB-INF/classes/mmpp.properties
creating: cms_gather/WEB-INF/classes/net/
creating: cms_gather/WEB-INF/classes/net/intertimes/
creating: cms_gather/WEB-INF/classes/net/intertimes/dao/
creating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/CategoryDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/ConsultingDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/DoctorDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/HospitalDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/HospitalNewsDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/InformationDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/KeywordDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/PicDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/PlasticItemsCatDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/PlasticItemsDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/PreferentialDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/PriceDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/TagDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/TagInformationDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/gather/TemplateDao.class
creating: cms_gather/WEB-INF/classes/net/intertimes/dao/security/
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/security/AuthorityDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/security/ResourceDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/security/RoleDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/dao/security/UserDao.class
creating: cms_gather/WEB-INF/classes/net/intertimes/entity/
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/ContextItem.class
creating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Category.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Consulting.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Doctor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Gather.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/GatherParam.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/GatherSite.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Hospital.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/HospitalNews.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Information.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Keyword.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Pic.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/PlasticItems.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/PlasticItemsCat.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Preferential.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Price.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Tag.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/TagInformation.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/gather/Template.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/IdEntity.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/Keyword.class
creating: cms_gather/WEB-INF/classes/net/intertimes/entity/security/
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/security/Authority.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/security/Resource.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/security/Role.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/security/User.class
creating: cms_gather/WEB-INF/classes/net/intertimes/entity/_99mr/
inflating: cms_gather/WEB-INF/classes/net/intertimes/entity/_99mr/Category.class
creating: cms_gather/WEB-INF/classes/net/intertimes/gather/
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/AnalysisException.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/BaseRssFetch.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/ClearAttrProcessor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/ClearElProcessor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/ContextItem.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/ElFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/HTMLAnalysis.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/ImgUploadProcessor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/Processor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/RssFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/gather/Text.class
creating: cms_gather/WEB-INF/classes/net/intertimes/http/
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/CookieSpecBaseExt.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/HttpClientService.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/HttpRequestFailException.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/HttpsClientService$TrustAnyTrustManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/HttpsClientService.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/Response.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/http/URLUtils.class
creating: cms_gather/WEB-INF/classes/net/intertimes/manager/
creating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/CategoryManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/ConsultingManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/DoctorManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/HospitalManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/HospitalNewsManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/InformationManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/KeywordManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/PlasticItemsCatManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/PlasticItemsManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/PreferentialManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/PriceManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/TagInformationManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/TagManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/manager/gather/TemplateManager.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/BaseService.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/GatherCommonService$CharsetHandler.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/GatherCommonService$GatherThread.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/GatherCommonService.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/GatherDao.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/GatherManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/common/_99mrCategoryManager.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/haodf/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/haodf/ConsultingServiceHaodf.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/hjzhengxing/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/hjzhengxing/ConsultingServiceHjZhengXing.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/hjzhengxing/GatherServicehjZhengxing$1.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/hjzhengxing/GatherServicehjZhengxing.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/hjzhengxing/InformationHjZhengxing.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/mmpp/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/mmpp/GatherService.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/pclady/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/pclady/GatherServicePclady$1.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/pclady/GatherServicePclady.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/pclady/InformationPclady.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/qianlong/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/qianlong/QianLongInformationService.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/BaseFetch.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/EnorthCProcessor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/ExcelReader.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/InformationServiceRss.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/LinkFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/PageFetch$ElementLog.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/PageFetch.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/RepeatFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/RssCache.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/RssFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/RssLinksService.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/RunnableFetch.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/SourceFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/rss/TestFetch.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/com/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/com/ConsultingServiceZx_wywy.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/com/GatherServiceZx_xywy$1.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/com/GatherServiceZx_xywy$2.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/com/GatherServiceZx_xywy.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/zx_xywy/com/InformationZx_wywy.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_120ask/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_120ask/ConsultingService120ask.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_120ask/GatherService120ask.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_120ask/GatherService120askEday.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_39mr/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_39mr/GatherService39mr.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_39mr/InformationService39mr.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_39net/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_39net/PlasticItemsService39net.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_517mr/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_517mr/$517mrClearAttrProcessor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_517mr/$517mrListELFilter.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_517mr/ConsultingService517mr.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_517mr/GatherService517mr.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_517mr/InformationService517mr.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/ConsultingService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/GatherService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/HospitalService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/InformationService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/InformationService960soYesterday.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/PlasticItemsService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/PreferentialService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/PriceService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/TagInfoService960so.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_960so/TagService960so.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_caamed/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_caamed/CaamedClearAttrProcessor.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_caamed/GatherRssServiceCaamed.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/GatherServiceDfhon.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/HospitalServiceDfhon.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/InformationServiceDfhon.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/InformationServiceDfhonYesterday.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/PlasticItemsServiceDfhon.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_dfhon/PreferentialServiceDfhon.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_iface/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_iface/InformationServiceIface.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_ylmr/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_ylmr/ConsultingServiceYlmr.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_ylmr/GatherServiceYlmr.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_ylmr/InformationServiceYlmr.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_ylmr/YlmrListELFilter.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_yszx/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_yszx/GatherServiceYszx.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/gather/_yszx/InformationServiceYszx.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/security/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/security/ResourceDetailsServiceImpl.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/security/SecurityEntityManager.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/security/UserDetailsServiceImpl.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/ServiceException.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/support/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/support/SimpleJdbcSupport.class
creating: cms_gather/WEB-INF/classes/net/intertimes/service/utils/
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/utils/Compress.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/utils/DateUtils.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/utils/ImageUtils.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/service/utils/TextReplace.class
creating: cms_gather/WEB-INF/classes/net/intertimes/test/
creating: cms_gather/WEB-INF/classes/net/intertimes/trigger/
creating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/CleanRepeatCache.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/EveryHourGather$1.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/EveryHourGather$2.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/EveryHourGather.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/GatherInformation.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/GatherRss.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/trigger/gather/GatherTagInformation.class
creating: cms_gather/WEB-INF/classes/net/intertimes/utils/
inflating: cms_gather/WEB-INF/classes/net/intertimes/utils/GatherParser.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/utils/ImgFileUtils$1.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/utils/ImgFileUtils$2.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/utils/ImgFileUtils.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/utils/ToStringSupport.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/utils/URLUtils.class
creating: cms_gather/WEB-INF/classes/net/intertimes/web/
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/CrudActionSupport.class
creating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/CategorytreeAction.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$1.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$2.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$3.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$4.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$5.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$6.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$7.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction$8.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GatherAction.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/gather/GathercommonAction.class
creating: cms_gather/WEB-INF/classes/net/intertimes/web/security/
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/security/RoleAction.class
inflating: cms_gather/WEB-INF/classes/net/intertimes/web/security/UserAction.class
creating: cms_gather/WEB-INF/classes/replace/
extracting: cms_gather/WEB-INF/classes/replace/39mr.txt
inflating: cms_gather/WEB-INF/classes/replace/517mr.txt
extracting: cms_gather/WEB-INF/classes/replace/96so.txt
extracting: cms_gather/WEB-INF/classes/replace/bdrss.txt
extracting: cms_gather/WEB-INF/classes/replace/caamed.txt
extracting: cms_gather/WEB-INF/classes/replace/dfhong.txt
inflating: cms_gather/WEB-INF/classes/replace/hjZhengxing.txt
extracting: cms_gather/WEB-INF/classes/replace/iface.txt
extracting: cms_gather/WEB-INF/classes/replace/pclady.txt
extracting: cms_gather/WEB-INF/classes/replace/ylmr.txt
extracting: cms_gather/WEB-INF/classes/replace/yszx.txt
inflating: cms_gather/WEB-INF/classes/replace/zx_xywy.txt
creating: cms_gather/WEB-INF/classes/rssfilter/
extracting: cms_gather/WEB-INF/classes/rssfilter/link.txt
inflating: cms_gather/WEB-INF/classes/rssfilter/source.txt
creating: cms_gather/WEB-INF/classes/sites/
inflating: cms_gather/WEB-INF/classes/sites/89mn_1.properties
extracting: cms_gather/WEB-INF/classes/sites/fengniaoluntan_1.properties
inflating: cms_gather/WEB-INF/classes/sites/fengniao_0.properties
inflating: cms_gather/WEB-INF/classes/sites/meinv86_1.properties
inflating: cms_gather/WEB-INF/classes/sites/meinvdd_11.properties
inflating: cms_gather/WEB-INF/classes/sites/meitushow_11.properties
inflating: cms_gather/WEB-INF/classes/struts.xml
creating: cms_gather/WEB-INF/classes/template/
creating: cms_gather/WEB-INF/classes/template/custom/
inflating: cms_gather/WEB-INF/classes/template/custom/actionmessage.ftl
inflating: cms_gather/WEB-INF/classes/template/custom/checkboxlist.ftl
inflating: cms_gather/WEB-INF/classes/template/custom/theme.properties
inflating: cms_gather/WEB-INF/classes/test.xml
creating: cms_gather/WEB-INF/content/
creating: cms_gather/WEB-INF/content/gather/
inflating: cms_gather/WEB-INF/content/gather/gathercommon-input.jsp
inflating: cms_gather/WEB-INF/content/gather/gathercommon.jsp
inflating: cms_gather/WEB-INF/content/login.jsp
inflating: cms_gather/WEB-INF/web.xml
[root@web05_server webapps]# ls
cms_gather cms_gather.zip docs examples host-manager manager ROOT
[root@web05_server webapps]# rm -f cms_gather.zip
[root@web05_server webapps]# ls
cms_gather docs examples host-manager manager ROOT
[root@web05_server webapps]# cd cms_gather
[root@web05_server cms_gather]# ls
common css default.jsp images index.jsp js WEB-INF
[root@web05_server cms_gather]# cd WEB-INF/classes/
[root@web05_server classes]# ls
applicationContext-hessian.xml applicationContext-security.xml application.properties log4j.properties net rssfilter struts.xml test.xml
applicationContext-quartz.xml applicationContext.xml ehcache mmpp.properties replace sites template
[root@web05_server classes]# cd ..
[root@web05_server WEB-INF]# ls
classes content web.xml
[root@web05_server WEB-INF]# cp -rf /sdb/tomcat/6060/apache-tomcat-7.0.8/webapps/ROOT/WEB-INF/lib/ .
[root@web05_server WEB-INF]# ls
classes content lib web.xml
[root@web05_server WEB-INF]# cd lib
[root@web05_server lib]# ls
antlr-2.7.6.jar freemarker-2.3.16.jar jsf-api.jar spring-context-support-2.5.6.jar
aopalliance-1.0.jar h2-1.1.119.jar jsf-impl.jar spring-core-2.5.6.jar
aspectjweaver-1.6.6.jar hessian-3.1.6.jar json-lib-2.3-jdk15.jar spring-jdbc-2.5.6.jar
cglib-nodep-2.2.jar hibernate-annotations-3.4.0.GA.jar jsonplugin-0.34.jar spring-orm-2.5.6.jar
CharsetDetector.jar hibernate-commons-annotations-3.1.0.GA.jar jsoup-1.6.1.jar spring-security-acl-2.0.5.RELEASE.jar
commons-beanutils-1.8.2.jar hibernate-core-3.3.2.GA.jar jsr250-api-1.0.jar spring-security-core-2.0.5.RELEASE.jar
commons-codec-1.4.jar hibernate-ehcache-3.3.2.GA.jar jstl-1.1.2.jar spring-security-core-tiger-2.0.5.RELEASE.jar
commons-collections-3.2.1.jar htmlcleaner2_0.jar jstl-1.2.jar spring-security-taglibs-2.0.5.RELEASE.jar
commons-dbcp-1.2.2.jar htmlparser-1.6.jar jta-1.1.jar springside3-core-3.2.2.jar
commons-fileupload-1.2.1.jar httpclient-4.0.3.jar jzlib-1.0.7.jar spring-tx-2.5.6.jar
commons-httpclient-3.1.jar httpcore-4.1.jar log4j-1.2.15.jar spring-web-2.5.6.jar
commons-io-1.4.jar jackson-core-asl-1.4.0.jar mysql-connector-java-5.1.6.jar spring-webmvc-2.5.6.jar
commons-lang-2.4.jar jackson-mapper-asl-1.4.0.jar ognl-2.7.3.jar standard-1.1.2.jar
commons-logging-1.1.1.jar javassist-3.11.0.GA.jar quartz-all-1.6.0.jar struts2-convention-plugin-2.1.8.jar
commons-pool-1.3.jar jaxb-api-2.1.jar remote-proxy.jar struts2-core-2.1.8.jar
dom4j-1.6.1.jar jaxb-impl-2.1.9.jar rome-1.0.jar struts2-spring-plugin-2.1.8.jar
ehcache-1.6.2.jar jaxen-1.1-beta-7.jar slf4j-api-1.5.10.jar xml-apis-1.0.b2.jar
ehcache-jgroupsreplication-1.3.jar jcl-over-slf4j-1.5.11.jar slf4j-log4j12-1.5.10.jar xwork-core-2.1.6.jar
ejb3-persistence-1.0.2.GA.jar jdom-1.0.jar spring-aop-2.5.6.jar
ezmorph-1.0.6.jar jdom.jar spring-beans-2.5.6.jar
FastInfoset-1.2.2.jar jgroups-2.6.8.GA.jar spring-context-2.5.6.jar
[root@web05_server lib]# cd http://www.cnblogs.com/../..
[root@web05_server apache-tomcat-7.0.8]# ls
bin conf lib LICENSE logs NOTICE RELEASE-NOTES RUNNING.txt temp webapps work
[root@web05_server apache-tomcat-7.0.8]# bin/startup.sh
Using CATALINA_BASE: /sdb/tomcat/6062/apache-tomcat-7.0.8
Using CATALINA_HOME: /sdb/tomcat/6062/apache-tomcat-7.0.8
Using CATALINA_TMPDIR: /sdb/tomcat/6062/apache-tomcat-7.0.8/temp
Using JRE_HOME: /root/jrockit-jdk1.6.0_20-R28.1.0-4.0.1
Using CLASSPATH: /sdb/tomcat/6062/apache-tomcat-7.0.8/bin/bootstrap.jar:/sdb/tomcat/6062/apache-tomcat-7.0.8/bin/tomcat-juli.jar
[root@web05_server apache-tomcat-7.0.8]# tail -f logs/catalina.out
2012-1-5 15:27:32 org.apache.catalina.startup.Catalina load
信息: Initialization processed in 1590 ms
2012-1-5 15:27:32 org.apache.catalina.core.StandardService startInternal
信息: Starting service Catalina
2012-1-5 15:27:32 org.apache.catalina.core.StandardEngine startInternal
信息: Starting Servlet Engine: Apache Tomcat/7.0.8
2012-1-5 15:27:32 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory host-manager
2012-1-5 15:27:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory docs
2012-1-5 15:27:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory ROOT
2012-1-5 15:27:33 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory manager
2012-1-5 15:27:34 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory cms_gather
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core_rt is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/core is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/core is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt_rt is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/fmt is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/fmt is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/functions is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/permittedTaglibs is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://jakarta.apache.org/taglibs/standard/scriptfree is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql_rt is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/sql is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/sql is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml_rt is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jstl/xml is already defined
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
2012-1-5 15:28:08 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2012-1-5 15:28:09 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["http-bio-6062"]
2012-1-5 15:28:09 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["ajp-bio-6002"]
2012-1-5 15:28:09 org.apache.catalina.startup.Catalina start
信息: Server startup in 37354 ms

[root@web05_server apache-tomcat-7.0.8]# tail -f logs/catalina.out
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
2012-1-5 15:28:08 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2012-1-5 15:28:09 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["http-bio-6062"]
2012-1-5 15:28:09 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["ajp-bio-6002"]
2012-1-5 15:28:09 org.apache.catalina.startup.Catalina start
信息: Server startup in 37354 ms

[root@web05_server apache-tomcat-7.0.8]# iptables -I INPUT -p tcp -m tcp --dport 6062 -j ACCEPT
[root@web05_server apache-tomcat-7.0.8]# tail -f logs/catalina.out
2012-1-5 15:27:35 org.apache.catalina.startup.TaglibUriRule body
信息: TLD skipped. URI: http://java.sun.com/jsp/jstl/xml is already defined
2012-1-5 15:28:08 org.apache.catalina.startup.HostConfig deployDirectory
信息: Deploying web application directory examples
2012-1-5 15:28:09 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["http-bio-6062"]
2012-1-5 15:28:09 org.apache.coyote.AbstractProtocolHandler start
信息: Starting ProtocolHandler ["ajp-bio-6002"]
2012-1-5 15:28:09 org.apache.catalina.startup.Catalina start
信息: Server startup in 37354 ms
原文地址:https://www.cnblogs.com/yifenghong/p/2313318.html