Remember a Centos7 installation, configuration pagoda service

1. Introduction

        The Pagoda Linux panel is a server management software that improves the efficiency of operation and maintenance. It supports one-click LAMP/LNMP/cluster/monitoring/website/FTP/database/JAVA and more than 100 server management functions.

Official website: https://www.bt.cn/

2. Basic environment

1. Operating system Centos7.4 x64 Minimal 1708

Install 1 virtual machine: 4G memory, 1 core CPU

2. Tools: xshell5

3. VMware version: VMware Workstation Pro15

Three, installation, deployment, configuration

1. Install the virtual machine and configure the virtual machine network

(1) Reference for virtual machine installation process:  https://blog.csdn.net/llwy1428/article/details/89328381

(2) Virtual machine network configuration process:  https://blog.csdn.net/llwy1428/article/details/85058028

2. Install basic tools

[root@controller ~]# yum install -y vim net-tools

3. Close SELINUX permanently (restart to take effect)

https://blog.csdn.net/llwy1428/article/details/100938748

Temporarily close SELINUX (to take effect)

[root@controller ~]# setenforce 0

4. Turn off the firewall (or open the designated port)

关闭防火墙    : systemctl stop firewalld
查看状态      : systemctl status firewalld
开机禁用      : systemctl disable firewalld

For other firewall operations, please refer to:

https://blog.csdn.net/llwy1428/article/details/99676257

5. Upgrade pip

[root@controller ~]# pip install --upgrade pip

6. Download the upgrade script

[root@controller ~]# wget -O update.sh http://download.bt.cn/install/update_pro.sh && bash update.sh pro

7. Install the pagoda

[root@controller ~]# yum install -y wget && wget -O install.sh http://download.bt.cn/install/install_pro.sh && sh install.sh

8. Modify the configuration file

[root@controller ~]# vim /www/server/panel/class/common.py

原文:data = panelAuth().get_order_status(None)

After modification:

data = {
'status' : True,
'msg' : {'endtime' : 32503651199 }
}

9. Create an empty file

[root@controller ~]# cd /www/server/panel/class/

[root@controller ~]# touch userInfo.json

Modify permissions

[root@controller ~]# chmod 755 userInfo.json

10. Restart the pagoda service

[root@controller ~]# /etc/init.d/bt restart

11. Check the initial account and password

[root@controller ~]# bt default

12. Browser view

Enter in the browser address bar: http://192.168.11.61:8888      ( 192.168.11.61  is the IP of my virtual machine)

(1) Login page

(2) The default homepage, you can choose to install recommended programs

(3) Specify the program installation process

(4) Database management page for successful installation

(5) Use phpMyAdmin to manage the installed database

(6) File management page

(7) System timing task management page

(8) Installation software management page supported by Pagoda

(9) System configuration page

Other pages: omitted.

At this point, Centos7 installation and configuration of pagoda services are complete!

 

reference:

https://blog.csdn.net/WeilaPls/article/details/86243602

https://www.cnblogs.com/wentutu/p/8549050.html

Guess you like

Origin blog.csdn.net/llwy1428/article/details/103807055