The following tutorial column of Pagoda will introduce you to the pre-installed Pagoda Linux panel image deployment tutorial. I hope it will be helpful to friends in need!
Pre-installed Pagoda Linux panel image deployment tutorial
Application scenarios:
1. IDC cloud platform system Image
2. Image from major cloud markets
3. Custom image
Preparation:
1. One cloud server
2. Centos7.x / Ubuntu16.04/Ubuntu18.04 system, Centos7.x
is recommended to start:
1. Upgrade the system kernel and apply to the latest version yum update -y
2. Install Pagoda Linux version 6.8.9
Note:
1. Because it is a packaged image, there is no need to mount the disk. Please install Pagoda directly to the system disk
2. Please do not configure the default use of private keys to log in to SSH. The SSH private key will be cleared during the encapsulation process.
Encapsulation:
1. Execute in SSH: python /www/server/ panel/tools.py package
2. Clear command line records: history -c
The following information will be cleared by the package program:
1. Operation log
2. Scheduled task history records, including installation logs, download logs, etc.
3. Network monitoring records
4. CPU monitoring records
5. Disk monitoring record
6. Security entrance
7./root/.ssh/*
Advanced:
is executing encapsulation Previously, you could also make the following presets for the panel:
1. Pre-installed environment (not recommended)
2. Change the default port of the panel, the default is: 8888
3. Preset one or more scheduled tasks, such as: memory release
4. Release specific ports, such as: 443
5. Block specific IPs, or IP segments, such as: 10.0 .0.1/24
6. Set alias
7. Modify the default administrator user name
8. System security configuration
9. Custom initialization Page template:/www/server/panel/BTPanel/templates/default/install.html
Complete:
1. After the encapsulation is completed, it can be packaged into an image
2. Panel initialization address: http://server IP:8888/install
Supplement:
If you want the system to automatically regenerate a random number when it is first started User name and password, please enter the following command before packaging:
echo > /www/server/panel/aliyun.pl
After using the automatically generated random user name and password, the user will no longer be prompted to initialize the panel when accessing the panel for the first time. The user needs to enter SSH and use the following command to obtain the panel default Username and password:
bt default
The above is the detailed content of About pre-installed Pagoda Linux panel image deployment. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

SublimeText3 Linux new version
SublimeText3 Linux latest version

Dreamweaver Mac version
Visual web development tools

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment

SecLists
SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SublimeText3 Mac version
God-level code editing software (SublimeText3)