前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Linux系统之安装Linux管理工具inpanel

Linux系统之安装Linux管理工具inpanel

原创
作者头像
江湖有缘
发布2023-01-21 21:26:23
1.1K0
发布2023-01-21 21:26:23
举报
文章被收录于专栏:Linux成长之路Linux成长之路

@TOC

一、inpanel介绍

1.inpanel简介

inpanel是一款一个基 Web的Linux开源管理工具。这个项目的目标是做出最简单、最快速、最无痛的 Linux VPS 管理方式。

2.inpanel特点

  • 免费、简单、开源
  • 快速在线安装、小巧与节省资源
  • 当前支持CentOS/Redhat 5.4+、6.x、7.x、8.x
  • 基于发布版本软件源的软件管理机制
  • 轻松架构 Linux + Nginx + MySQL + PHP 环境
  • 强大的在线文件管理和回收站机制作
  • 快速创建和安装多种站点
  • 丰富实用的系统工具

二、检查本地系统环境

1.检查系统版本

代码语言:shell
复制
[root@ecs-ffcd ~]# cat /etc/os-release 
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

2.检查系统内核版本

代码语言:shell
复制
[root@ecs-ffcd ~]#  uname -r 
3.10.0-1160.53.1.el7.x86_64

三、下载inpanel软件包

1.创建下载目录

代码语言:shell
复制
[root@ecs-ffcd ~]# mkdir -p /data/inpanel
[root@ecs-ffcd ~]# cd /data/inpanel/
[root@ecs-ffcd inpanel]#

2.下载inpanel软件

代码语言:shell
复制
[root@ecs-ffcd inpanel]# git clone https://github.com/inpanel/inpanel.git
Cloning into 'inpanel'...
remote: Enumerating objects: 4634, done.
remote: Counting objects: 100% (847/847), done.
remote: Compressing objects: 100% (334/334), done.
remote: Total 4634 (delta 530), reused 772 (delta 480), pack-reused 3787
Receiving objects: 100% (4634/4634), 3.32 MiB | 0 bytes/s, done.
Resolving deltas: 100% (3239/3239), done.

3.查看源码inpanel文件

代码语言:shell
复制
[root@ecs-ffcd inpanel]# cd inpanel/
[root@ecs-ffcd inpanel]# ll
total 76
-rw-r--r-- 1 root root 13223 Jan 15 13:34 CHANGELOG.md
-rwxr-xr-x 1 root root  3068 Jan 15 13:34 config.py
drwxr-xr-x 4 root root  4096 Jan 15 13:34 core
drwxr-xr-x 2 root root  4096 Jan 15 13:34 data
-rw-r--r-- 1 root root 14982 Jan 15 13:34 install.py
drwxr-xr-x 3 root root  4096 Jan 15 13:34 lib
-rw-r--r-- 1 root root  1667 Jan 15 13:34 LICENSE
drwxr-xr-x 4 root root  4096 Jan 15 13:34 plugins
-rw-r--r-- 1 root root  1928 Jan 15 13:34 README.md
drwxr-xr-x 5 root root  4096 Jan 15 13:34 scripts
-rwxr-xr-x 1 root root  3369 Jan 15 13:34 server.py
drwxr-xr-x 7 root root  4096 Jan 15 13:34 static
-rw-r--r-- 1 root root  1647 Jan 15 13:34 TODOLIST.md

四、部署inpanel应用

1.一键安装inpanel

  • 直接使用python一键安装inpanel
代码语言:shell
复制
python install.py
代码语言:shell
复制
[root@ecs-ffcd inpanel]# python install.py
Platform centos 7.6.1810 [Linux]
* Checking Platform... centos ...OK
Package epel-release-7-14.noarch already installed and latest version
Package wget-1.14-18.el7_6.1.x86_64 already installed and latest version
Package net-tools-2.0-0.25.20131004git.el7.x86_64 already installed and latest version
Package 2:vim-enhanced-7.4.629-8.el7_9.x86_64 already installed and latest version
Package psmisc-22.20-17.el7.x86_64 already installed and latest version
Package rsync-3.1.2-12.el7_9.x86_64 already installed and latest version
Package GeoIP-1.5.0-14.el7.x86_64 already installed and latest version
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
* Install Dependent Software... [ OK ]
* Current Python Version is [2.7] ... [ OK ]
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Package git-1.8.3.1-23.el7_8.x86_64 already installed and latest version
Nothing to do
* Install GIT ... [ OK ]
* Installing InPanel

Repository   : https://github.com/inpanel/inpanel.git
Branch       : main
Install path : /usr/local/inpanel

Cloning into '/usr/local/inpanel'...
remote: Enumerating objects: 4634, done.
remote: Counting objects: 100% (847/847), done.
remote: Compressing objects: 100% (334/334), done.
remote: Total 4634 (delta 531), reused 772 (delta 480), pack-reused 3787
Receiving objects: 100% (4634/4634), 3.32 MiB | 5.04 MiB/s, done.
Resolving deltas: 100% (3240/3240), done.
Admin Username [default: admin]: 
Admin Password [default: admin]: 
* Username and password set successfully!
InPanel Port [default: 8888, minimum: 5000]: 
* InPanel will work on port "8888"
FirewallD is not running
* Config firewall... [ OK ]
Starting inpanel (via systemctl):                          [  OK  ]

============================
*                          *
*     INSTALL COMPLETED    *
*                          *
============================

The URL of your InPanel is: http://119.8.186.24:8888/

Username is: admin
Password is: admin
Wish you a happy life !

2.查看服务端口

代码语言:shell
复制
[root@ecs-ffcd inpanel]# netstat -tunlp |grep 8888
tcp        0      0 0.0.0.0:8888            0.0.0.0:*               LISTEN      18207/python        
tcp6       0      0 :::8888                 :::*                    LISTEN      18207/python  

五、关闭防火墙和selinux

  • 关闭selinux
代码语言:shell
复制
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config
setenforce 0
  • 关闭防火墙
代码语言:shell
复制
systemctl stop firewalld && systemctl disable firewalld

六、访问inpanel管理面板

1.登录inpanel

http://119.8.186.24:8888/#/

admin/admin

在这里插入图片描述
在这里插入图片描述

2.进入inpanel首页

在这里插入图片描述
在这里插入图片描述

3.查看系统信息

在这里插入图片描述
在这里插入图片描述

4.查看硬件信息

在这里插入图片描述
在这里插入图片描述

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

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

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

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

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • 一、inpanel介绍
    • 1.inpanel简介
      • 2.inpanel特点
      • 二、检查本地系统环境
        • 1.检查系统版本
          • 2.检查系统内核版本
          • 三、下载inpanel软件包
            • 1.创建下载目录
              • 2.下载inpanel软件
                • 3.查看源码inpanel文件
                • 四、部署inpanel应用
                  • 1.一键安装inpanel
                    • 2.查看服务端口
                    • 五、关闭防火墙和selinux
                    • 六、访问inpanel管理面板
                      • 1.登录inpanel
                        • 2.进入inpanel首页
                          • 3.查看系统信息
                            • 4.查看硬件信息
                            相关产品与服务
                            云数据库 MySQL
                            腾讯云数据库 MySQL(TencentDB for MySQL)为用户提供安全可靠,性能卓越、易于维护的企业级云数据库服务。其具备6大企业级特性,包括企业级定制内核、企业级高可用、企业级高可靠、企业级安全、企业级扩展以及企业级智能运维。通过使用腾讯云数据库 MySQL,可实现分钟级别的数据库部署、弹性扩展以及全自动化的运维管理,不仅经济实惠,而且稳定可靠,易于运维。
                            领券
                            问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档