云服务器重装系统,备份下有用数据

首先我只有一台云服务器,要装很多的应用

之前装的是windows OS,用起来感受一般,不如linux centos顺畅;所以想换一下OS,而且像新增更多的应用,比如docker,sonarcube,jacoco

tomcat:用来做图片服务器

nginx: 用来做反向代理

Jenkins:用来做持续集成和发布,端口号5118 【chenziyan  12qwaszx】

 

 

还有最最根基的jdk

git

nodejs

 

三个应用

Testplatform: 其中包含目录logo,用作项目的logo,启停脚本,项目属性文件;端口号8083

511easy: 端口号8085

图片服务器: 端口号 8051

<?xml version="1.0" encoding="UTF-8"?>

<Server port="8005" shutdown="SHUTDOWN">
  <Listener className="org.apache.catalina.startup.VersionLoggerListener" />

  <!--APR library loader. Documentation at /docs/apr.html -->
  <Listener className="org.apache.catalina.core.AprLifecycleListener" SSLEngine="on" />
  <!-- Prevent memory leaks due to use of particular java/javax APIs-->
  <Listener className="org.apache.catalina.core.JreMemoryLeakPreventionListener" />
  <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" />
  <Listener className="org.apache.catalina.core.ThreadLocalLeakPreventionListener" />


  <GlobalNamingResources>

    <Resource name="UserDatabase" auth="Container"
              type="org.apache.catalina.UserDatabase"
              description="User database that can be updated and saved"
              factory="org.apache.catalina.users.MemoryUserDatabaseFactory"
              pathname="conf/tomcat-users.xml" />
  </GlobalNamingResources>


  <Service name="Catalina">


    <Connector port="8051" protocol="HTTP/1.1"
               connectionTimeout="20000"
               redirectPort="8444" />



    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <Connector port="8009" protocol="AJP/1.3" redirectPort="8443" />

    <Engine name="Catalina" defaultHost="localhost">


      <Realm className="org.apache.catalina.realm.LockOutRealm">

        <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
               resourceName="UserDatabase"/>
      </Realm>

      <Host name="localhost"  appBase="webapps"
            unpackWARs="true" autoDeploy="true">
			
	<Context path="/img" docBase="C:/pic" reloadable="false"></Context>


        <Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
               prefix="localhost_access_log" suffix=".txt"
               pattern="%h %l %u %t "%r" %s %b" />

      </Host>
    </Engine>
  </Service>
</Server>

  

 

 

 

1, jenkins中

从Github上拉取代码,在8085端口发布

https://github.com/JasmineQian/511easy.git

不需凭据

*/master

 

一般我选触发机制:Build periodically  H 1 * * *

 

call C:\Learn8085\8085Kill.bat 

 cd target

call C:\Learn8085\runLearn8085.bat
exit

 

 

邮箱这儿

942812509@qq.com

【511easy】$DEFAULT_SUBJECT

 

 

posted @ 2019-08-12 10:38  巴黎爱工作  阅读(439)  评论(0编辑  收藏  举报