(相关资料图)
@TOC
inpanel是一款一个基 Web的Linux开源管理工具。这个项目的目标是做出最简单、最快速、最无痛的 Linux VPS 管理方式。
[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"
[root@ecs-ffcd ~]# uname -r 3.10.0-1160.53.1.el7.x86_64
[root@ecs-ffcd ~]# mkdir -p /data/inpanel[root@ecs-ffcd ~]# cd /data/inpanel/[root@ecs-ffcd inpanel]#
[root@ecs-ffcd inpanel]# git clone https://github.com/inpanel/inpanel.gitCloning 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 3787Receiving objects: 100% (4634/4634), 3.32 MiB | 0 bytes/s, done.Resolving deltas: 100% (3239/3239), done.
[root@ecs-ffcd inpanel]# cd inpanel/[root@ecs-ffcd inpanel]# lltotal 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.pydrwxr-xr-x 4 root root 4096 Jan 15 13:34 coredrwxr-xr-x 2 root root 4096 Jan 15 13:34 data-rw-r--r-- 1 root root 14982 Jan 15 13:34 install.pydrwxr-xr-x 3 root root 4096 Jan 15 13:34 lib-rw-r--r-- 1 root root 1667 Jan 15 13:34 LICENSEdrwxr-xr-x 4 root root 4096 Jan 15 13:34 plugins-rw-r--r-- 1 root root 1928 Jan 15 13:34 README.mddrwxr-xr-x 5 root root 4096 Jan 15 13:34 scripts-rwxr-xr-x 1 root root 3369 Jan 15 13:34 server.pydrwxr-xr-x 7 root root 4096 Jan 15 13:34 static-rw-r--r-- 1 root root 1647 Jan 15 13:34 TODOLIST.md
python install.py
[root@ecs-ffcd inpanel]# python install.pyPlatform centos 7.6.1810 [Linux]* Checking Platform... centos ...OKPackage epel-release-7-14.noarch already installed and latest versionPackage wget-1.14-18.el7_6.1.x86_64 already installed and latest versionPackage net-tools-2.0-0.25.20131004git.el7.x86_64 already installed and latest versionPackage 2:vim-enhanced-7.4.629-8.el7_9.x86_64 already installed and latest versionPackage psmisc-22.20-17.el7.x86_64 already installed and latest versionPackage rsync-3.1.2-12.el7_9.x86_64 already installed and latest versionPackage GeoIP-1.5.0-14.el7.x86_64 already installed and latest versionDelta RPMs disabled because /usr/bin/applydeltarpm not installed.* Install Dependent Software... [ OK ]* Current Python Version is [2.7] ... [ OK ]Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfilePackage git-1.8.3.1-23.el7_8.x86_64 already installed and latest versionNothing to do* Install GIT ... [ OK ]* Installing InPanelRepository : https://github.com/inpanel/inpanel.gitBranch : mainInstall path : /usr/local/inpanelCloning 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 3787Receiving 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: adminPassword is: adminWish you a happy life !
[root@ecs-ffcd inpanel]# netstat -tunlp |grep 8888tcp 0 0 0.0.0.0:8888 0.0.0.0:* LISTEN 18207/python tcp6 0 0 :::8888 :::* LISTEN 18207/python
sed -i "s/SELINUX=enforcing/SELINUX=disabled/" /etc/selinux/configsetenforce 0
关闭防火墙systemctl stop firewalld && systemctl disable firewalld
http://119.8.186.24:8888/#/
admin/admin
下一篇:最后一页
X 关闭
X 关闭