ECS experience_Ali server configuration pagoda panel detailed explanation

Get ECS for free at 0 yuan, and easily complete cloud deployment: https://click.aliyun.com/m/1000370358/

1. Purchase a server

We have an ECS server, and then we will configure the pagoda panel. The steps are as follows, we first purchase a suitably configured Alibaba Cloud server.
PS: Recently, I just saw that Alibaba Cloud now has a free server activity:

Get ECS for free at 0 yuan, and easily complete cloud deployment: https://click.aliyun.com/m/1000370358/

There are many other just-needed services that can be used for free, which is a good activity.
insert image description here

1.1 Server configuration process

Snipaste_2022-05-10_11-33-11.png
Snipaste_2022-05-10_11-35-59.png

2. Configure the security group

Let's open a few security group ports first to prevent inaccessibility.
image.png
Open all ports 8888, 20, and 21 as shown above.

3. Install Pagoda Linux Panel

Click the remote connection in the figure below to enter the ecs control panel.
image.png
We can configure password-free login before this!
image.png

Click Remote Connection to enter the ecs control panel. The following image appears.
image.png

4. Linux panel

We can first enter the official website of Pagoda, find the Linux panel, and click on the installation script.
image.png
Ubuntu/Deepin installation script

wget -O install.sh http://download.bt.cn/install/install-ubuntu_6.0.sh && sudo bash install.sh ed8484bec

We enter the Ubuntu/Deepin installation script in the ecs control panel to enter the download and installation steps.

This process is slow and may take about five minutes. Waiting for the download, the Ubuntu/Deepin pagoda panel is installed on the Alibaba Cloud server.

5. After the configuration is completed, the address of the external network and the internal network will appear

Snipaste_2022-05-10_12-53-48.png
Keep this place in mind. and keep it secret

6. Visit the external network address of the pagoda

Snipaste_2022-05-10_12-53-29.png
As shown above, we have entered the home page of the basic pagoda panel.

7. Change the security entrance to prevent the server from being invaded

image.png

Eight, install mysql and other basic databases and language interpreters

image.png
image.png

The basic configuration is completed here, and the server configuration pagoda panel is the basis here.

9. How to efficiently use Alibaba Cloud cloud server

We will explain in more detail how to use Alibaba Cloud's products to build applications.
1. Create a cloud server
First, we need to create a cloud server to host our application. In the management console of Alibaba Cloud, select the cloud server ECS service, and then select different configurations according to your needs, such as operating system, instance specification, network type, etc. After the creation is complete, remote connections can be made through SSH and other methods, and the application can be deployed and configured.
2. Create a cloud database
In applications, we usually need to use a database to store data, so we need to create a cloud database as our data storage. In the management console of Alibaba Cloud, select the cloud database RDS service, and then select different database engines and configurations according to your needs. After the creation is complete, you can connect to the database through connection strings and other methods, and manage and maintain the data.
3. Create cloud storage
In applications, we usually need to use file storage to store files, such as pictures, videos, etc. So we need to create a cloud storage as our file storage. In the Alibaba Cloud management console, select the object storage OSS service, and then select different storage types and configurations according to your needs. After the creation is complete, the file can be uploaded and downloaded through API and other methods.
4. Configure cloud security
In applications, security is essential, so Alibaba Cloud's cloud security products need to be configured to ensure application security. For example, you can use security hardening to harden hosts, use DDoS protection to defend against DDoS attacks, use vulnerability scanning to discover security holes in applications, and use data encryption to encrypt and protect important data.
5. Monitoring application
In the application, we need to discover and deal with the abnormal situation of the application in time, so we need to configure the cloud monitoring service of Alibaba Cloud to realize the real-time monitoring of the application. For example, monitoring items can be set to monitor the application's CPU usage, memory usage, network traffic, etc., alarm rules can be set to notify the application administrator in time, and automatic operations can be set to automatically handle abnormal situations.

Next, we will discuss how Alibaba Cloud Cloud Server and other products can be used together to better build applications.

9.1 Cloud Server

Cloud server is one of the most commonly used products of Alibaba Cloud. It provides a virtual server environment, which can easily create and manage multiple virtual machines, and you can choose different configurations to meet different needs. When building an application, the cloud server can serve as a host to provide computing power and storage capacity, and can be operated remotely through SSH or other methods.

9.2 Cloud database

ApsaraDB for Cloud Database is a highly available, scalable, automatic backup and automatic recovery cloud database service provided by Alibaba Cloud. It can store and manage large amounts of data conveniently, and provides various types of database engines, including MySQL, SQL Server, PostgreSQL, etc. When building applications, cloud databases can be used as the main data storage method to facilitate data management and maintenance.

9.3 Cloud storage

Cloud storage is a highly available and low-cost cloud storage service provided by Alibaba Cloud. It can conveniently store large amounts of data, including documents, pictures, and videos. When building an application, cloud storage can be used as a file storage method to facilitate file upload and download.

9.4 Cloud Security

Alibaba Cloud provides a variety of security products, including security hardening, DDoS protection, vulnerability scanning, and data encryption. When building applications, security is essential. By using Alibaba Cloud's cloud security products, you can ensure the security of applications and prevent problems such as attacks and data leakage.

9.5 Cloud Monitoring

Alibaba Cloud provides a variety of monitoring services, including real-time monitoring, log monitoring, and performance monitoring. When building an application, by using Alibaba Cloud's cloud monitoring service, you can detect abnormalities in the application in a timely manner, helping application administrators to handle and adjust them in a timely manner.

To sum up, Alibaba Cloud's cloud server and other products can be used in conjunction to build high-quality applications. Cloud servers provide computing and storage capabilities, cloud databases provide data storage, cloud storage provides file storage, cloud security provides security, and cloud monitoring provides timely monitoring and other services to achieve high availability, scalability, security and performance of applications. reliability.

10. Free trial of Alibaba Cloud products

Just like the linkage scenario between Alibaba Cloud products that I usually use in the development process: (Alibaba Cloud's cloud server, Alibaba Cloud's object storage, and Alibaba Cloud's cloud database can complete the following application scenarios) 1. Static website deployment
and Storage: Use cloud servers to build a web server, store static website files in object storage, and store website-related data (such as user information, message information, etc.) through cloud databases.
2. Storage and distribution of live video: use cloud servers to deploy live video applications, store live recorded videos in object storage, use cloud databases to store user viewing records and like information, distribute live streams through CDN, and improve user viewing experience.
3. Cloud storage backup: use object storage to store the backup data of the application, and use the cloud server to regularly download the backup data to the local or other storage media, so as to realize the safety and reliability of data backup.
4. Construction of database clusters: use cloud servers to build database clusters, use cloud databases for data storage and management, and store backup data and log files through object storage to achieve high availability and data backup.
5. Cloud storage and analysis of big data: use object storage to store massive data, use cloud servers to build a data analysis platform, and use cloud databases to store analysis results to achieve efficient data processing and utilization.

In the past few days, I just saw that Alibaba Cloud has official activities. Friends who need it can try to get it. The performance and duration are very impressive, which can meet the daily development needs.

Get ECS for free at 0 yuan, and easily complete cloud deployment: https://click.aliyun.com/m/1000370358/

Guess you like

Origin blog.csdn.net/weixin_52908342/article/details/129835823