Giter Site home page Giter Site logo

yangxin1994 / 1panel-installer Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wojiushixiaobai/1panel-installer

0.0 0.0 0.0 26 KB

1Panel 离线安装包

Home Page: https://github.com/1Panel-dev/1Panel

License: GNU General Public License v3.0

Shell 100.00%

1panel-installer's Introduction

1Panel-installer

1Panel 离线安装包, 供无法访问外网的用户使用

(*) 注意: 带 offline 的是离线安装包, 不带 offline 的需要自行部署好 DockerCompose 环境.

Docker 手动安装请参考 Docker 官方文档.
Compose 手动安装请参考 Compose 官方文档.

食用方法

下载对应版本的离线安装包, 解压后运行 install.sh 或者 upgrade.sh 即可安装或者升级.

环境依赖

请使用 root 用户执行安装脚本, 并且确保环境中已经存在下面命令:

  • tar
  • iptabls
  • systemd

参数说明

./install.sh --help

Usage: ./install.sh [OPTIONS]

Global Options:
  -h, --help  	 Show this help message and exit
  -v, --version  Show the version information
  --port  	     Configure web access port in the Installation Phase.
  --user  	     Configure 1Panel user in the Installation Phase.
  --password  	 Configure 1Panel password in the Installation Phase.
  --entrance  	 Configure 1Panel web security access in the Installation Phase.
  --install-dir  Configure 1Panel install directory in the Installation Phase.

For more help options on how to use 1Panel, head to https://1panel.cn/docs/

安装

## 后台的相关设置, 自行修改
# (*) 密码推荐使用 24 位以上的随机字符串
# (*) 入口推荐使用随机字符串, 比如 --entrance x8elulqXDVTszo6o4j 注意不支持特殊字符串
#
# --port 8888               # 端口号 8888
# --user admin              # 用户名, 通常不要使用 admin 作为用户名
# --password WeakPassword   # 密码, 请使用强密码
# --entrance secret         # 设置 entrance 后只能通过访问 http://ip:port/secret 访问 1Panel
# --install-dir /opt/1panel # 1Panel 数据存储目录

./install.sh --port 8888 --user admin --password WeakPassword --entrance secret --install-dir /opt/1panel

升级

升级没有参数, 直接执行即可. 需要通过在线升级, 等待后续优化.

./upgrade.sh

卸载

1panel uninstall

1panel-installer's People

Contributors

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