Code Monkey home page Code Monkey logo

kaijizhushou's Introduction

安装说明

  • 这个面板不适合一点linux和docker基础都没有的童鞋

安装Docker

  • curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
  • service docker start # 如果docker没启动,可以运行这个

docker创建网络

  • docker network create cdntip_network

启动mysql容器

  • mkdir /data
  • docker run -d -it --network cdntip_network --restart=always -v /data/mysql:/var/lib/mysql --name panel_mysql -e MYSQL_ROOT_PASSWORD=root -e MYSQL_DATABASE=panel mysql:5.7 --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci

启动 cloudpanel

  • docker run -d -it --network cdntip_network -p 8111:80 --name panel cdntip/panel

进入容器

  • docker exec -it panel /bin/bash

创建管理员

添加aws镜像

  • python manage.py aws_update_images

更新程序

  • docker stop panel # 停止当前容器
  • docker rm panel # 删除当前容器
  • docker pull cdntip/panel:latest # 拉取最新的镜像
  • docker run -d -it --network cdntip_network -p 8111:80 --name panel cdntip/panel:latest # 重新创建程序容器

查看日志

  • docker logs -f panel

打开浏览器,输入 ip:8111

其它说明

  • 目前支持 aws、azure、linode(1.3版本)
  • 后端暂时未上传到github, 但是代码都是未加密的, 在容器中可以看到。
  • docker 暂时只有x86平台(不支持arm平台)
  • 目前版本为预览版,有问题请到群里反馈 @cdntip

常见问题

  • 重启之后面板打不开, 运行 service docker start && docker start panel_mysql && docker restart panel

广告

kaijizhushou's People

Contributors

cdntip 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.