#!/bin/sh curl=/usr/bin/curl tomcat_path=/mapbar/home/tomcat netty_path=/mapbar/home/tomcat/server-netty $tomcat_path/tomcat6_www_decode/bin/run.sh $tomcat_path/tomcat6_www_search/bin/run.sh cd $netty_path/bin && sh run.sh $tomcat_path/tomcat6_www_inverse_netty/bin/run.sh && sleep 2s $curl -I "http://xxxx:8080/inverse/getInverseGeocoding.jsp?detail=1&zoom=11&customer=2&latlon=120.16926,30.28174" /mapbar/app/mongodb/mongodb-linux-x86_64-2.0.3-rc0/bin/mongod --dbpath=/mapbar/app/mongodb/mongodata/ --logpath=/mapbar/app/mongodb/mongolog/mongodb.log --bind_ip 192.168.217.131 --port 20000 --fork --nohttpinterface --logappend& su - postgres -c "/mapbar/app/pgsql/bin/postgres -D /mapbar/app/pgsql/data"
不打印日志方式的启动:
使用这个命令,启动tomcat 关闭操作窗口就不会停服务了: nohup /mapbar/app/tomcat/tomcat7-id/bin/run.sh &
添加权限:
chmod+x run.sh
- vi /etc/rc.local
- /mapbar/sh/run.sh
相关推荐
②执行【chmod u+x ./run.sh】; ③执行【./run.sh】便会自动执行数据库安装 脚本安装的逻辑是什么? ①添加【postgres】用户,数据库安装在postgres用户目录【/home/postgres/disk_d/applications/service/...
作为linux服务启动:sudo ln -s /opt/cachecloud-web/cachecloud-web-1.0-SNAPSHOT.war /etc/init.d/cachecloud-web /etc/init.d/cachecloud-web start(9999是tomcat的端口号,具体要参考第三节中的online....
错误原因:序列化问题,由于使用seata自带的zk-config.sh脚本向zk写入配置信息的时候,采用的序列化方式相当于String.getBytes(),而框架读取配置的时候使用的是org.101tec包中的Zkclient客户端,反序列化使用的是该...
假设您有Linux服务器,您的仓库位于GitLab上,并且您想使用CI / GitLab的CD功能。 每个网站/脚本/ API在服务器上都有自己的Docker容器。 此外,还有一个nginx代理服务器(位于其自己的Docker容器中),该服务器将...
对于Linux用户,要自动执行这些步骤,可以使用脚本build_and_run.sh 。 手册 进入项目文件夹并运行以下命令 docker build -t amazon_price_tracker . docker run -d --name=amazon_price_tracke
大多数的Linux发行版都默认关闭TFTP服务。以RedHat系统为例,如果要使能TFTP服务,编辑文件/etc/xinetd.d/tftp,移除这一行: disable = yes 或者注释掉它,或者修改disable = no 此外,确保/tftpboot目录存在,而且...
脚本 / 启动幻灯片开发模式(幻灯片上的更改会导致浏览器中的自动重新加载): 从...开始 Linux: ./startPresentation.sh Windows:右键单击startPresentation.ps1然后Run with PowerShell 。 演示文稿在 如果...
Dockerdemo制作了官方的镜像,可以直接拉取使用docker pull newpanjing/simpleui_demodocker run -p 8080:8080 newpanjing/simpleui_demo启动成功后访问:自动安装Linux或者macOS可以直接运行bootstrap.sh脚本,自动...
如果符合以上两点,则必须使用--dhcp模式启动zdclient,而且在认证成功后,是需要运行系统的DHCP客户端重新获取一次IP的,通常是dhclient,这一点在启动脚本dhcp_zdc_run.sh内已经包含。 至于在认证前已经能获得...
jmeter.sh:Linux下启动文件 jmeter.log:Jmeter运行日志文件 jmeter.properties:Jmeter配置文件 jmeter-server.bat:windows下启动负载生成器服务文件 jmeter-server:Linux下启动负载生成器文件 /docs目录——...