前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >1Panel开源Linux服务器运维管理面板

1Panel开源Linux服务器运维管理面板

作者头像
yuanfan2012
发布2024-03-21 17:16:34
1320
发布2024-03-21 17:16:34
举报
文章被收录于专栏:WalkingCloudWalkingCloud

一、1Panel简单介绍

1Panel 是一个现代化、开源的 Linux 服务器运维管理面板。

1、特点
  • 快速建站:深度集成 Wordpress 和 Halo,域名绑定、SSL 证书配置等一键搞定;
  • 高效管理:通过 Web 端轻松管理 Linux 服务器,包括应用管理、主机监控、文件管理、数据库管理、容器管理等;
  • 安全可靠:最小漏洞暴露面,提供防火墙和安全审计等功能;
  • 一键备份:支持一键备份和恢复,备份数据云端存储,永不丢失。

1Panel 基于 Golang 语言编写,可执行文件大小约 40MB、运行时占用系系统内存约 150MB。

2、官方文档
代码语言:javascript
复制
https://1panel.cn/docs/

二、RHEL/CentOS一键安装脚本

代码语言:javascript
复制
 curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh

三、安装过程如下

代码语言:javascript
复制
[root@centos ~]# cat /etc/redhat-release 
CentOS Linux release 7.9.2009 (Core)
[root@centos ~]# curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_start.sh && sh quick_start.sh
开始下载 1Panel v1.8.2 版本在线安装包
安装包下载地址:https://resource.fit2cloud.com/1panel/package/stable/v1.8.2/release/1panel-v1.8.2-linux-amd64.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 39.3M  100 39.3M    0     0  8996k      0  0:00:04  0:00:04 --:--:-- 8997k
1panel-v1.8.2-linux-amd64/1panel.service
1panel-v1.8.2-linux-amd64/1pctl
1panel-v1.8.2-linux-amd64/LICENSE
1panel-v1.8.2-linux-amd64/README.md
1panel-v1.8.2-linux-amd64/install.sh
1panel-v1.8.2-linux-amd64/1panel

 ██╗    ██████╗  █████╗ ███╗   ██╗███████╗██╗     
███║    ██╔══██╗██╔══██╗████╗  ██║██╔════╝██║     
╚██║    ██████╔╝███████║██╔██╗ ██║█████╗  ██║     
 ██║    ██╔═══╝ ██╔══██║██║╚██╗██║██╔══╝  ██║     
 ██║    ██║     ██║  ██║██║ ╚████║███████╗███████╗
 ╚═╝    ╚═╝     ╚═╝  ╚═╝╚═╝  ╚═══╝╚══════╝╚══════╝
[1Panel Log]: ======================= 开始安装 ======================= 
设置 1Panel 安装目录(默认为/opt):
[1Panel Log]: 您选择的安装路径为 /opt 
[1Panel Log]: ... 在线安装 docker 
# Executing docker install script, commit: e5543d473431b782227f8908005543bb4389b8de
+ sh -c 'yum install -y -q yum-utils'
+ sh -c 'yum-config-manager --add-repo https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo'
Loaded plugins: fastestmirror
adding repo from: https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo
grabbing file https://mirrors.aliyun.com/docker-ce/linux/centos/docker-ce.repo to /etc/yum.repos.d/docker-ce.repo
repo saved to /etc/yum.repos.d/docker-ce.repo
+ '[' stable '!=' stable ']'
+ sh -c 'yum makecache'
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Metadata Cache Created
+ sh -c 'yum install -y -q docker-ce docker-ce-cli containerd.io docker-compose-plugin docker-ce-rootless-extras docker-buildx-plugin'
warning: /var/cache/yum/x86_64/7/docker-ce-stable/packages/docker-buildx-plugin-0.11.2-1.el7.x86_64.rpm: Header V4 RSA/SHA512 Signature, key ID 621e9f35: NOKEY
Public key for docker-buildx-plugin-0.11.2-1.el7.x86_64.rpm is not installed
Importing GPG key 0x621E9F35:
 Userid     : "Docker Release (CE rpm) <docker@docker.com>"
 Fingerprint: 060a 61c5 1b55 8a7f 742b 77aa c52f eb6b 621e 9f35
 From       : https://mirrors.aliyun.com/docker-ce/linux/centos/gpg
setsebool:  SELinux is disabled.

================================================================================

To run Docker as a non-privileged user, consider setting up the
Docker daemon in rootless mode for your user:

    dockerd-rootless-setuptool.sh install

Visit https://docs.docker.com/go/rootless/ to learn about rootless mode.


To run the Docker daemon as a fully privileged service, but granting non-root
users access, refer to https://docs.docker.com/go/daemon-access/

WARNING: Access to the remote API on a privileged Docker daemon is equivalent
         to root access on the host. Refer to the 'Docker daemon attack surface'
         documentation for details: https://docs.docker.com/go/attack-surface/

================================================================================

[1Panel Log]: ... 启动 docker 
Created symlink from /etc/systemd/system/multi-user.target.wants/docker.service to /usr/lib/systemd/system/docker.service.
[1Panel Log]: docker 安装成功 
[1Panel Log]: ... 在线安装 docker-compose 
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 45.4M  100 45.4M    0     0  14.9M      0  0:00:03  0:00:03 --:--:-- 14.9M
[1Panel Log]: docker-compose 安装成功 
设置 1Panel 端口(默认为15266):
[1Panel Log]: 您设置的端口为:15266 
[1Panel Log]: 防火墙开放 15266 端口 
success
success
设置 1Panel 用户名称(默认为bdd533ccaa):admin
[1Panel Log]: 您设置的用户名称为:admin 
设置 1Panel 用户密码(默认为0d3007a9bb):
[1Panel Log]: 配置 1Panel Service 
Created symlink from /etc/systemd/system/multi-user.target.wants/1panel.service to /etc/systemd/system/1panel.service.
[1Panel Log]: 启动 1Panel 服务 
[1Panel Log]: 1Panel 服务启动成功! 
[1Panel Log]:  
[1Panel Log]: =================感谢您的耐心等待,安装已经完成================== 
[1Panel Log]:  
[1Panel Log]: 请用浏览器访问面板: 
[1Panel Log]: 外网地址: http://117.147.125.180:15266/1b063e606e 
[1Panel Log]: 内网地址: http://192.168.31.170:15266/1b063e606e 
[1Panel Log]: 用户名称: admin 
[1Panel Log]: 用户密码: XXXXXXXX
[1Panel Log]:  
[1Panel Log]: 项目官网: https://1panel.cn 
[1Panel Log]: 项目文档: https://1panel.cn/docs 
[1Panel Log]: 代码仓库: https://github.com/1Panel-dev/1Panel 
[1Panel Log]:  
[1Panel Log]: 如果使用的是云服务器,请至安全组开放 15266 端口 
[1Panel Log]:  
[1Panel Log]: ================================================================ 
代码语言:javascript
复制
[root@centos ~]# 1pctl user-info
面板地址: http://$LOCAL_IP:15266/1b063e606e 
用户名称: admin
用户密码: XXXXXXXXXX
[root@centos ~]# 

四、初体验

(图片点击放大查看)

(图片点击放大查看)

(图片点击放大查看)

当然访问路径你可以自行修改,例如http://$LOCAL_IP:15266/1Panel

(图片点击放大查看)

应用商店里面内置非常多的应用 你可以安装、升级、备份和恢复应用。

(图片点击放大查看)

当然1Panel的功能很多,建议自行安装体验

(图片点击放大查看)

本文参与 腾讯云自媒体分享计划,分享自微信公众号。
原始发表:2023-11-14,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 WalkingCloud 微信公众号,前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 一、1Panel简单介绍
    • 1、特点
      • 2、官方文档
      • 二、RHEL/CentOS一键安装脚本
      • 三、安装过程如下
      • 四、初体验
      相关产品与服务
      容器服务
      腾讯云容器服务(Tencent Kubernetes Engine, TKE)基于原生 kubernetes 提供以容器为核心的、高度可扩展的高性能容器管理服务,覆盖 Serverless、边缘计算、分布式云等多种业务部署场景,业内首创单个集群兼容多种计算节点的容器资源管理模式。同时产品作为云原生 Finops 领先布道者,主导开源项目Crane,全面助力客户实现资源优化、成本控制。
      领券
      问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档