开箱即用instantbox

项目地址:

目前支持Ubuntu,CentOS,Arch Linux,Debian,Fedora和Alpine的各种版本

安装部署

1、安装Docker

[root@centos7 ~]# yum install docker -y
[root@centos7 ~]# systemctl start docker

2、安装instantbox

[root@centos7 ~]# mkdir instantbox && cd $_
[root@centos7 instantbox]# bash <(curl -sSL https://raw.githubusercontent.com/instantbox/instantbox/master/init.sh)
Welcome to instantbox, please wait...

docker is installed
Enter your IP (optional):
192.168.1.8
Choose a port (default: 8888):
6666
You're all set!
Run 'docker-compose up -d' then go to http://192.168.1.8:6666 on your browser.

注:安装期间需要你输入端口等相关信息,按提示输入即可。

3、启动过程

[root@CentOS instantbox]# docker-compose up -d
Unable to find image 'docker/compose:1.25.1' locally
Trying to pull repository docker.io/docker/compose ...
1.25.1: Pulling from docker.io/docker/compose
050382585609: Pull complete 
-----------省略一些拉取镜像的过程
Status: Downloaded newer image for docker.io/instantbox/cron:latest
Creating instantbox_server ... done
Creating instantbox_frontend ... done
Creating instantbox_cron ... done

4、浏览器访问

使用Server_ip+port的形式来访问

注意:获取链接中出现"拒接连接",多试几遍;在安装的过程中使用切换到root,避免一些不必要的报错

猜你喜欢

转载自www.cnblogs.com/yunweiweb/p/12664570.html