一、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.检查系统版本
[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.检查系统内核版本
[root@ecs-ffcd ~]# uname -r 3.10.0-1160.53.1.el7.x86_64
三、下载inpanel软件包
1.创建下载目录
[root@ecs-ffcd ~]# mkdir -p /data/inpanel [root@ecs-ffcd ~]# cd /data/inpanel/ [root@ecs-ffcd inpanel]#
2.下载inpanel软件
[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文件
[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
python install.py
[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.查看服务端口
[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
sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selinux/config setenforce 0
-
关闭防火墙
systemctl stop firewalld && systemctl disable firewalld
六、访问inpanel管理面板
1.登录inpanel
http://119.8.186.24:8888/#/ admin/admin

2.进入inpanel首页

3.查看系统信息

4.查看硬件信息

原文始发于微信公众号(运维江湖客):Linux系统之安装Linux管理工具inpanel
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
文章由极客之家整理,本文链接:https://www.bmabk.com/index.php/post/200316.html