当前位置: 首页 > news >正文

浙江省建设厅继续教育官方网站专门做环保设备的网站

浙江省建设厅继续教育官方网站,专门做环保设备的网站,网站挂黑链赚钱,水利厅网站集约化建设本人从官网http://tomcat.apache.org/上面下载的6.0.1_31版本#xff0c;并解压包后改名存放在#xff1a;/usr/share/tomcat6本人使用的是root用户登录#xff0c;下面就说说具体的操作步骤#xff0c;1、在/usr/share/tomcat6/bin中有commons-daemon-native.tar.gz压缩包…本人从官网http://tomcat.apache.org/上面下载的6.0.1_31版本并解压包后改名存放在/usr/share/tomcat6本人使用的是root用户登录下面就说说具体的操作步骤1、在/usr/share/tomcat6/bin中有commons-daemon-native.tar.gz压缩包2、解压commons-daemon-native.tar.gz[rootlocalhost ~]# tar -zxvf commons-daemon-native.tar.gz3、解压完成出现commons-daemon-1.0.2-native-src文件夹(目录)1、  进入commons-daemon-1.0.2-native-src下的unix目录[rootlocalhost ~]# ls[rootlocalhost ~]# cdcommons-daemon-1.0.2-native-src/unix2、  发现configure配置文件执行如下修改属性的命令[rootlocalhost ~]# chmod 777 configure4、  执行configure文件[rootlocalhost ~]# ./configure5、  编译[rootlocalhost ~]# make   #会报错[rootlocalhost ~]# make clean[rootlocalhost ~]# make    #重新编译成功6、 编译完成后出现jsvc文件夹复制jsvc到/usr/share/tomcat6/bin目录下面[rootlocalhost ~]# cp jsvc /usr/share/tomcat6/bin------------------------------------------------------------------------------------10、在/etc/init.d/目录下编写tomcat6启动服务配置文件。[rootlocalhost ~]#cd /etc/init.d/[rootlocalhost ~]# vi tomcat6录入以下内容#!/bin/sh# tomcat: Start/Stop/Restart tomcat## chkconfig: 2345 85 15# description: Apache tomcat6# Small shell script to show how to start/stop Tomcat using jsvc# If you want to have Tomcat running on port 80 please modify the server.xml# file:##    #    #               port80 minProcessors5 maxProcessors75#               enableLookupstrue redirectPort8443#               acceptCount10 debug0 connectionTimeout60000/#JAVA_HOME/usr/java/jdk1.6.0_31  #根据自己的实际jdk位置来修改CATALINA_HOME/usr/share/tomcat6         #根据自己实际tomcat位置来修改DAEMON_HOME$CATALINA_HOME/bin# I did not use the user.#TOMCAT_USERtomcat# for multi instances adapt those lines.TMP_DIR$CATALINA_HOME/tmpPID_FILE/var/run/jsvc.pidCATALINA_BASE$CATALINA_HOME. /etc/rc.d/init.d/functionsCATALINA_OPTSCLASSPATH\$JAVA_HOME/lib/tools.jar:\$CATALINA_HOME/bin/commons-daemon.jar:\$CATALINA_HOME/bin/bootstrap.jarstart() {echo -n $Starting Tomcat6: # If you want to specify a user to run Tomcat.#increase the user $ TOMCAT_USER \ to the parameter list.$DAEMON_HOME/jsvc \-home $JAVA_HOME \-Dcatalina.home$CATALINA_HOME \-Dcatalina.base$CATALINA_BASE \-Djava.io.tmpdir$TMP_DIR \-wait 10 \-pidfile $PID_FILE \-outfile $CATALINA_HOME/logs/catalina.out \-errfile1\$CATALINA_OPTS \-cp $CLASSPATH \org.apache.catalina.startup.Bootstrapecho*****************************[ok]}stop() {echo -n $Stopping Tomcat6: #$DAEMON_HOME/jsvc \-stop \-pidfile $PID_FILE \org.apache.catalina.startup.Bootstrapecho *****************************[ok]}status() {ps ax --width1000 | grep [o]rg.apache.catalina.startup.Bootstrap| awk{printf $1  }| wc | awk{print $2}/tmp/tomcat_process_count.txtread line echo -ntomcat6 ( pid ps ax --width1000 | grep[o]rg.apache.catalina.startup.Bootstrap| awk{printf $1  }echo) is runningelseechoTomcat6 is stoppedfi}case$1instart)# Start Tomcatstartexit $?;;stop)# Stop Tomcatstopexit $?;;restart)# Restart Tomcatstopsleep 3startexit $?;;status)statusexit $?;;*)echoUsage: tomcat6 {start|stop|restart|status}exit 1;;esac#########11、录入完成按Esc键。输入: wq保存退出并赋予/etc/init.d/tomcat6文件可执行权限[rootlocalhost~]# chmod 777 /etc/init.d/tomcat6------------------添加服务-----------------------------------------12、[rootlocalhost~] #chkconfig --add tomcat6          ##添加tomcat服务13、[rootlocalhost~] #chkconfig Clist |grep tomcat6      ##查看tomcat服务是否被添加--------------------启动服务---------------------------------------------14、[rootlocalhost~] # service tomcat6 start            ##启动tomcat服务15、[rootlocalhost~] # service tomcat6 stop            ##停止tomcat服务16、[rootlocalhost~] # service tomcat6 restart          ##重启tomcat17、[rootlocalhost~] # service tomcat6 status           ##查看tomcat服务启动状态
http://www.pierceye.com/news/725157/

相关文章:

  • 漯河网站推广多少钱做调查网站的问卷哪个给的钱高
  • 局域网下怎么访问自己做的网站做网站时如何将前端连接到后台
  • 网页设计与网站建设考试名词解释长治县网站建设
  • 商务网站建设实训报告总结南京太阳宫网站建设
  • 网站建设合同缴纳印花税吗建设企业网站官网登录
  • 石家庄网站开发多少钱做网站和做程序一样吗
  • cpa项目怎么做必须有网站么百度快速收录3元一条
  • 建造网站 备案产品推广文案100字
  • 希腊网站后缀昆山网站推广
  • 企业网站模板seo个人网站制作成品图片
  • 政务网站群建设需求调研表网站优化方案基本流程
  • 那个网站做调查问卷能赚钱架设一个网站
  • 什么网站是免费的合肥网页设计工资一般多少
  • 学校网站建设招聘提高网站浏览量
  • 特色专业网站建设模板北京网站建设公司分享网站改版注意事项
  • 网站上做地图手机上显示不出来的seo长尾快速排名
  • 网站怎么进行网络推广技术支持 湖州网站建设
  • 旅游找什么网站好仿朋友圈网站建设
  • 设置wordpress首页显示文章摘要aso优化是什么意思
  • 乡镇门户网站建设的现状及发展对策深圳网站建设评价
  • 河南省洛阳市建设银行的网站网站获得流量最好的方法是什么 ( )
  • 西安网站制作托wordpress媒体页
  • 杜集网站建设php网站怎么样
  • 山西做网站敬请期待哦
  • 前台网站开发技术Wordpress 建立学生档案
  • 邯郸网站制作找谁设置备份管理wordpress
  • 乌海学校网站建设镇江抖音seo
  • 网站建设在哪wordpress ping地址
  • 资讯文章网站模板徐州百度推广
  • 网站排名如何做西安有哪些网站设计公司