当前位置: 首页 > 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/608906/

相关文章:

  • 网页版拍图搜题seo的流程是怎么样的
  • 吴中区做网站那个网站可以找人做设计师
  • 光效网站网站建设方案浩森宇特
  • 亚马逊网站入口英文专业的网站设计
  • 赤水市白房建设局网站企业网站如何进行定位
  • 有私人做网站的吗网页界面设计方法
  • 免费 网站模板中国建设银行总行门户网站
  • 网站推广的方式公司组网
  • 推广 网站的优秀文案劳务输送网站建设方案
  • 特色的岑溪网站开发济南响应式网站开发
  • 网站源码官网招聘网站内容建设
  • 网站如何布局wordpress 商城系统
  • 深圳专业设计网站平台网站开发国内外现状研究
  • 哪个建站软件比较好带论坛无锡网站推广优化公司
  • 英文网站建设方案 ppt模板国内代理ip免费网址
  • 城乡建设网站 资料员深圳定制型网站建设
  • 浦江网站建设微信开发手机html编辑器
  • 做网站的个人总结论坛内网站怎么建设
  • 那里有个人做网站的如何建设网页制作的网站
  • 佛山网站建设玲念建站会议管理系统
  • 网站开发需要什么资质天马行空网站建设
  • 猎聘网网站建设目标怎么做网站上的模拟动画
  • 南通制作企业网站福州做网站设计
  • 上什么网站做会计教育wordpress cookies
  • 山东网站备案号四川省建筑信息网
  • 网站开发可以用哪些语言中国十二冶金建设有限公司网站
  • 中药网站模板襄阳seo优化服务
  • 做爰片免费观看网站会展企业网站建设方案
  • 国内空间没备案可以打开网站吗dw做网站 怎么做背景图片
  • host绑定网站国外网站风格