Install
Linux
Steps
- Install Mysql
- Download EyeblueTank,Go to download
- unzip and run
tank
./tank
1
- open
http://127.0.0.1:6010
, the install guide page means installing succeed. You may finish the initialing work by the guid.
More Run Methods
tank
is an executable file, as step 3.[Recommended] If you want to start when server bootstrap. Use system's
systemctl
orservice
/etc/systemd/system/
createtank.service
vim /etc/systemd/system/tank.service
1
tank.service
[Unit]
Description=EyeblueTank
Documentation=https://tank-doc.eyeblue.cn
Wants=network.target
After=network.target
[Service]
Type=simple
DynamicUser=yes
ExecStart=/data/program/tank/tank
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
2
3
4
5
6
7
8
9
10
11
12
13
14
15
- load
tank
service
- load
# load tank
systemctl daemon-reload
# make tank start when bootstrap
systemctl enable tank.service
# show status
systemctl status tank.service
# start tank
systemctl start tank.service
# restart tank
systemctl restart tank.service
# stop tank
systemctl stop tank.service
1
2
3
4
5
6
7
8
9
10
11
12
2
3
4
5
6
7
8
9
10
11
12
- You can also use the following ways, open folder
service
# start
./startup.sh
# stop
./shutdown.sh
1
2
3
4
2
3
4
Windows
- Install MySQL
- Download EyeblueTank,Go to download
- Unzip and double click
tank.exe
- Open
http://127.0.0.1:6010
do as the guide shows.
macOS
Steps
- Install MySQL
- Download EyeblueTank,Go to download
- Unzip and run
tank
./tank
1
- open
http://127.0.0.1:6010
do as the guide shows.
Docker
- start mysql in Docker
docker run --name dockermysql -p 13306:3306 -e MYSQL_ROOT_PASSWORD=123456 -e MYSQL_DATABASE=tank -e TZ=Asia/Shanghai -d mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --default-time_zone=+8:00
1
Hint
container is dockermysql
,use port 13306,root's password 123456,crate a tank
database,usernametank
,passwordtank123
,mounted to ~/data/dockermysql
- start EyeblueTank in docker,
x.x.x
is the latest version,See Here
docker run --name tank -p 6010:6010 --link dockermysql:mysql -v ~/data/dockermatter:/data/build/matter -d eyeblue/tank:x.x.x
1
Hint
Container is
tank
,Use port 6010,database ismysql
,usemysql
can visit step 1 mysql.Mounted to~/data/dockermatter
Default time-zone is Asia/Shanghai, if you want to change use -e TZ=xxx/yyy
- Open
http://127.0.0.1:6010
do as the guide shows.
Hints
MySQL Host => mysql
MySQL Port => 3306
MySQL Database => tank
MySQL Username => tank
MySQL Password => tank123