
OpsAnt开源的云原生运维平台
OpsAnt是全开源的云原生运维平台,致力于为全国数百万小微企业提供开源的多云管理和运维管理平台。目前提供免费下载试用,2021年年底完全开放源代码。
开发框架
前端开发:Vue.js + Ant Design of Vue 后端开发:Python + Django 数据库:MySQL、Redis
部署安装
安装Docker
curl -sSL https://get.docker.com/ | sh
部署OpsAnt需要一台2CPU、4G内存的云主机,硬盘默认即可。对外开放安全组:80和443端口。
CentOS 7安装Docker和MySQL客户端
curl -o /etc/yum.repos.d/epel.repo http://mirrors.aliyun.com/repo/epel-7.repo curl -o /etc/yum.repos.d/docker-ce.repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo yum install -y git wget docker-ce mariadb systemctl enable --now docker
CentOS 8安装Docker和MySQL客户端
dnf config-manager --add-repo=http://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo dnf -y install docker-ce --nobest dnf -y install mariadb git systemctl enable --now docker
Ubuntu安装Docker和MySQL客户端
# step 1: 安装必要的一些系统工具
sudo apt-get update sudo apt-get -y install apt-transport-https ca-certificates curl software-properties-common #
step 2: 安装GPG证书
curl -fsSL https://mirrors.aliyun.com/docker-ce/linux/ubuntu/gpg | sudo apt-key add - # Step
3: 写入软件源信息
sudo add-apt-repository "deb [arch=amd64] https://mirrors.aliyun.com/docker-ce/linux/ubuntu $(lsb_release -cs) stable" #
Step 4: 更新并安装Docker-CE
sudo apt-get -y update sudo apt-get -y install docker-ce wget mysql-client git systemctl enable --now docker
克隆项目代码
[root@linux-node1 ~]# git clone https://github.com/unixhot/opsant.git
修改配置文件并执行安装
[root@linux-node1 ~]# cd opsant/ [root@linux-node1 opsant]# cp install.config.example install.config [root@linux-node1 opsant]# vim install.config LOCAL_IP="192.168.56.11" DOMAIN_NAME="192.168.56.11" [root@linux-node1 opsant]# ./install.sh DOMAIN_NAME是指访问的地址,为了安全期间,访问地址不支持域名和IP混用。
访问OpsAnt,支持Chrome、Firefox等,不支持IE浏览器
https://192.168.0.2
使用安装脚本输出的用户名和密码进行登录。
安装成功后会自动生成admin的密码,请使用输出的密码进行登录。并及时修改密码。
[超站]友情链接:
四季很好,只要有你,文娱排行榜:https://www.yaopaiming.com/
关注数据与安全,洞悉企业级服务市场:https://www.ijiandao.com/

随时掌握互联网精彩
- 1 把最好的精神食粮奉献给人民 7906896
- 2 湖北省委原书记蒋超良被查 7944971
- 3 DeepSeek评中国最宜居城市 7855598
- 4 手机国补满月 持续点燃消费热潮 7765473
- 5 网友呼吁《难哄》下架 7654861
- 6 大量黄金正从各国运往美国 7591314
- 7 民警建议家里不要安装摄像头 7437758
- 8 《哪吒2》票房破128亿 7303549
- 9 殡仪馆一岗位107人竞争:需能上夜班 7212922
- 10 AI救场 阿里重回牌桌 7106773