Huawei Cloud Yunyao Cloud Server L instance evaluation | Yunyao Cloud Server L instance deployment Linux management panel mdserver-webl
1. Introduction to Yunyao Cloud Server L Instance
1.1 Introduction to Yunyao Cloud Server L instance
Yunyao Cloud Server L instance is a new generation of lightweight application cloud server, specially designed for small and medium-sized enterprises and developers, providing a convenient out-of-box experience. This product provides rich and strictly screened application images and can deploy applications with one click, greatly simplifying the process of customers building e-commerce websites, web applications, applets, learning environments, and various development and testing tasks in the cloud.
1.2 Features of Yunyao Cloud Server L instance
-
Intelligent and non-stuck: Huawei Cloud Qingtian architecture supports software and hardware collaboration combined with AI algorithm intelligent scheduling to provide you with high-quality performance. Huawei Cloud has a global storage and computing network with data transmission latency shorter than the blink of an eye, meeting the high requirements of low network latency scenarios such as games and audio and video.
-
Excellent price, easy to use: super cost-effective, ultra-low threshold, open to use as you like. Multiple instance specifications to balance performance and cost. Technology upgrades optimize cloud costs and benefit more start-ups and developers.
-
It’s easier to get started: order multiple images and resource combinations with one click. A variety of high-quality images have been carefully selected and rigorously tested by Huawei Cloud officials. They cover seven major scenarios and have preset templates, which are quick to build, safe and trustworthy. Automated orchestration, one-click activation of resources, and business online in minutes. Smooth learning curve, wizard-based application construction, and easy application activation.
-
Management is more worry-free: topology, resources, and mirroring are managed visually, and business architecture is transparently managed. Intimate service status reminders, one-click resource renewal and withdrawal, and simplified management. Real-time monitoring of resource load, security, and usage ensures that services are always online. A wide range of optional security services are available, including extensive backup, host security and other services, providing the highest level of security protection.
2. Introduction to mdserver-web
2.1 Introduction to mdserver-web
mdserver-web is a Web-based Linux server management panel that can help administrators quickly deploy, manage and monitor Linux servers.
2.2 mdserver-web features
- SSH terminal tool
- Panel collection function
- Website subdirectory binding
- Website backup function
- Plug-in management
2.3 Introduction to main plug-ins
- OpenResty - lightweight, takes up less memory, and has strong concurrency capabilities.
- PHP[53-82] - PHP is the best programming language in the world.
- MySQL - a relational database management system.
- MariaDB - is an important fork of MySQL.
- MySQL [APT/YUM] - A relational database management system.
- MongoDB - A non-relational NOSQL database management system.
- phpMyAdmin - the famous web-side MySQL management tool.
- Memcached - A high-performance distributed memory object caching system.
- Redis - a high-performance KV database.
- PureFtpd - A free FTP server software focused on program robustness and software security.
- Gogs - A self-service Git service that is extremely easy to set up.
- Rsyncd - Universal synchronization service.
3. Introduction to this practice
3.1 Introduction to this practice
1. This practice is a personal test learning environment, aiming to quickly deploy applications. Please be cautious in the production environment;
2. This practice environment is a Yunyao Cloud Server L instance, and the application image used is Portainer 2.18.4;
3. Due to the use The application image is Portainer, and the cloud server has automatically deployed the Docker environment;
4. Deploy the Linux management panel 1Panel on the Huawei Cloud Cloud Server L instance.
3.2 This environmental plan
Server category | Application image | Intranet IP address | Docker version | Portainer version |
---|---|---|---|---|
Yunyao cloud server L instance | Docker visualization Portainer | 192.168.0.168 | 24.0.4 | 2.18.4 |
4. Check the server environment
4.1 Purchase Yunyao Cloud Server L instance
- Purchase steps:
1. Official website link: https://www.huaweicloud.com/product/hecs-light.html
2. Purchase specifications:
Region: North China-Beijing IV;
Application image: Docker visualization-Portainer;
Instance specifications: 2 cores 2G/system Disk 40G/peak bandwidth 3Mbps/traffic package 400G;
instance name: Customize it, edit it here as HECS-L-Portainer;
purchase duration: 1 month.
- Just pay after selecting the specifications.
4.2 Remote connection to server
Use Xshell to connect to the server remotely and fill in the elastic public IP address of the Yunyao Cloud Server L instance, the server account password.
4.3 Check operating system version
Check the operating system version of the Yunyao Cloud Server L instance. When using the Portainer application image, the operating system version is Ubuntu 22.04.1 LTS.
root@hcss-ecs-f91c:~# cat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.1 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Check the kernel version of Yunyao Cloud Server L instance.
root@hcss-ecs-f91c:~# uname -r
5.15.0-60-generic
4.4 Check Docker environment
Since the Docker environment has been automatically installed when the Yunyao Cloud Server L instance uses the portainer application image, we can use the Docker environment directly.
root@hcss-ecs-f91c:~# docker version
Client: Docker Engine - Community
Version: 24.0.4
API version: 1.43
Go version: go1.20.5
Git commit: 3713ee1
Built: Fri Jul 7 14:50:55 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.4
API version: 1.43 (minimum version 1.12)
Go version: go1.20.5
Git commit: 4ffc614
Built: Fri Jul 7 14:50:55 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.21
GitCommit: 3dce8eb055cbb6872793272b4f20ed16117344f8
runc:
Version: 1.1.7
GitCommit: v1.1.7-0-g860f061
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Check the Docker service status to ensure that the Docker service is running normally.
root@hcss-ecs-f91c:~# systemctl status docker
● docker.service - Docker Application Container Engine
Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2023-09-27 15:05:06 CST; 1 day 23h ago
TriggeredBy: ● docker.socket
Docs: https://docs.docker.com
Main PID: 1058 (dockerd)
Tasks: 75
Memory: 97.3M
CPU: 1min 53.792s
CGroup: /system.slice/docker.service
5. Deploy mdserver-web management panel
5.1 Deploy mdserver-web
Use the official one-click installation script and execute the following command.
curl --insecure -fsSL https://cdn.jsdelivr.net/gh/midoks/mdserver-web@latest/scripts/install.sh | bash
After executing the script, you need to wait for the installation to be completed. After the installation is completed, you will be prompted for information such as access address, login account and password.
5.2 Check the listening port
Check the local mdserver-web service listening port, and it is listening to port 11996 normally.
root@hcss-ecs-f91c:~# ss -tunlp |grep 11996
tcp LISTEN 0 512 0.0.0.0:11996 0.0.0.0:* users:(("gunicorn",pid=55045,fd=8),("gunicorn",pid=55043,fd=8),("gunicorn",pid=54886,fd=8))
5.3 Release security group ports
On the security group management page of Huawei Cloud Yaoyun Server L instance, allow port 11996/888/80/443/22 in the inbound direction.
5.4 Access mdserver-web management panel
Access address: http://Elastic public IP address:11996/ydtc8ehx. You can access it according to the access address prompted when the installation is successful.
Log in according to the username and password prompted for successful installation.
6. Basic use of mdserver-web
6.1 View server monitoring status
Click the monitoring module to see the overall monitoring status of the server.
You can compare it with Huawei Cloud’s own monitoring service.
6.2 Panel settings
You can make system settings for mdserver-web in the panel settings, including user password, access port, panel alias, domain name, etc.
6.3 Install SSH terminal
In Software Management - System Tools, click SSH terminal installation. This terminal is only used to connect to this server.
Open an SSH terminal, send the command, and check the execution effect.
6.4 File management
Click File Management to enter the server's file system and upload website files to the website root directory for website deployment.
6.5 Software management
Equivalent to an application market, you can deploy many applications with one click, which is very convenient.
7. Use experience and summary
This practice "Huawei Cloud Yunyao Cloud Server L Instance Evaluation | Yunyao Cloud Server L Instance Deployment Linux Management Panel mdserver-web" was successfully completed. Huawei Cloud Yaoyun Server L instance is a cost-effective, stable and secure cloud server. It uses the Porrainer tool that automatically installs the Portainer application image to achieve flexible management of the Docker container environment. With the mdserver-web management panel, even users who do not know much about the Linux environment can easily manage it. Choose to use Huawei Cloud Yaoyun Server L instance and start a pleasant cloud server experience!