Giter VIP home page Giter VIP logo

tars-docker's Introduction

tars-docker build in centos

在docker 自行安装Tars

tars 安装

启动docker 实例

docker run -itv /Users/nano/project/Tars/:/workerspace/Tars -p 9090:8080 -p 9091:873 --cap-add sys_ptrace leeqx/centos-tars:latest /bin/bash

执行完install_env.sh 之后,可以看到当前目录下生成几个shell脚本

-rwxr-xr-x  1 root root   45 Sep  6 10:32 mysql_start.sh
-rwxr-xr-x  1 root root  142 Sep 11 20:10 resin_start.sh
-rwxr-xr-x  1 root root   84 Sep 11 20:11 resin_stop.sh
-rw-r--r--  1 root root  194 Sep 11 10:41 tars_start.sh

安装之后tars 目录在:/usr/local/app/tars/
web的目录在:/usr/local/resin/

执行一下脚本启动tars主控等服务、以及web管理台:

  • tars_start.sh ps -ef|grep tars
root       865     1  0 10:22 pts/0    00:00:00 /usr/local/app/tars/tarsregistry/bin/tarsregistry --config=/usr/local/app/tars/tarsregistry/conf/tarsregistry.conf
root       874     1  0 10:22 pts/0    00:00:00 /usr/local/app/tars/tarsAdminRegistry/bin/tarsAdminRegistry --config=/usr/local/app/tars/tarsAdminRegistry/conf/adminregistry.conf
root       894     1  0 10:22 pts/0    00:00:00 /usr/local/app/tars/tarsconfig/bin/tarsconfig --config=/usr/local/app/tars/tarsconfig/conf/tarsconfig.conf
root       903     1  0 10:22 pts/0    00:00:00 /usr/local/app/tars/tarspatch/bin/tarspatch --config=/usr/local/app/tars/tarspatch/conf/tarspatch.conf
root       939     1  0 10:22 ?        00:00:00 rsync --address=172.17.0.2 --daemon --config=/usr/local/app/tars/tarspatch/conf/rsync.conf
root       941     1  0 10:22 ?        00:00:00 /usr/local/app/tars/tarsnode/bin/tarsnode --locator=tars.tarsregistry.QueryObj@tcp -h  172.17.0.2 -p 17890 --config=/usr/local/app/tars/tarsnode/conf/tarsnode.conf

在访问:localhost:9090

配置

  • 如果管理台链接哪个主控是在这个配置中进行配置的: /usr/local/resin/webapps/tars/WEB-INF/classes/tars.conf

  • 发布包上传相关的配置: /usr/local/app/tars/tarspatch/conf/rsync.conf

tars-docker's People

Contributors

leeqx avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.