Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to get started with remote control of ECS and lightweight application servers

2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)05/31 Report--

It is believed that many inexperienced people are at a loss about how to start the remote control of ECS and lightweight application server. therefore, this paper summarizes the causes and solutions of the problem. I hope you can solve this problem through this article.

Introduction

The representative of IaaS is ECS, while the application of ECS in cloud computing is mainly based on Linux distribution, so the frequently mentioned control of IaaS is mainly based on the remote control of Linux distribution (hereinafter referred to as Linux).

The remote control of Linux mainly consists of three points: terminal control file transfer and content editing. Terminal control mainly uses some Linux operation commands, file transfer is the interaction between local files and server files, content editing is the editing of some configuration files, mainly with editors, this is very important, many novices use notepad and WordPad to edit configuration files, which is prone to configuration errors.

Terminal control

Terminal control software mainly recommends free and open source Putty, which supports Telnet, SSH, rlogin, pure TCP and serial interface connection software.

download

There are many Putty download addresses on the network, because Putty is open source, so many malicious versions of Putty after tampering with the code are circulated in some download stations, so be sure to identify the official download address:

English official website address: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

Then, because the default interface of Putty is in English, there is a certain cost for some pure beginners to learn. Beginners who are not sensitive to English here recommend using the open source Chinese version maintained by Larry Li:

Chinese download address: https://github.com/larryli/PuTTY/releases

Note: the Chinese version of Putty is a virus, behind the worst-hit areas, must authenticate the download address!

Use

To facilitate the demonstration to beginners, the Chinese version is used here.

Cdn.com/7785a59d30e9607fa4f579284de642e9486b5604.png ">

No need to install, after decompression, you can see several binary exe files, which are common tools in Linux remote control, but today's protagonist is putty.exe

And then in

Enter ECS public network IP in the host name, for example: 47.58.11.22

The default port is 22. It can not be changed.

Enter the name of the comment in the saved session, for example: Ali Yun-East China 1

Then click Save, and then click Open for remote control!

When it comes to this point, there is no more explanation.

Then enter root, and enter the password of the root account, note, it is not the password of the Aliyun account!

The page after successful login:

File transfer

File transfer is mainly FileZilla software, FileZilla client is a fast and reliable, cross-platform FTP,FTPS and SFTP client, with a graphical user interface and many useful features.

If there are students who have used virtual hosts before, they must be familiar with FileZilla, and FileZilla is no worse than other commercial FTP software and supports multiple operating systems.

download

Official address: https://filezilla-project.org/download.php

Despite the fact that the interface of the official website is in English, as long as the operating system is in Chinese after the software is installed, the software will also be in Chinese, so there is no need to download any Chinese version or Chinese version from other channels. These versions will increase your risk of poisoning.

Use

And then began to fill in:

Host: sftp:// server public network IP, note: sftp:// must not be forgotten, just like http:// declares the protocol.

User name: root as usual

Password: root password is the same

Port: 22 if there is a change, it needs to be modified here.

This is what it looks like after landing:

The operation of uploading and downloading is similar to that of our data manager, with a list of local files on the left and a list of servers on the right.

Right-click the file you want to upload and click upload to achieve upload, download is the same, we can also drag and drop to achieve quick upload and download.

At the same time, FileZilla also supports multi-thread upload, which can significantly improve the upload efficiency when uploading multiple small files.

Content editing

When we study the relevant cloud computing tutorials later, we will inevitably need to modify or create some files like .conf .json .xml, because the carriage return newline under Windlows is CRLF and the carriage return newline under class Unix is LF, as well as some indentation problems. If you use notepad or WordPad to modify files, then the software startup can not be small, and serious may also lead to server downtime.

Here is a recommendation for Microsoft's Visual Studio Code (hereinafter referred to as VSC). Don't be intimidated by Visual Studio. Visual Studio Code is a lightweight cross-platform code editor rather than a heavy IDE. After VSC is installed, as long as the language of the operating system is simplified Chinese, then the language of the software will be simplified Chinese by default, which is much more convenient than finding troublesome Chinese tools for Sublime and Atom.

Download address: https://code.visualstudio.com/Download

What if you quickly use VSC for editing in FileZilla?

In the menu bar, click Edit-Settings

Choose to use the custom editor

Locate the Code software in the installation directory of VSC

Then click OK.

Then right-click on the file that needs to be modified and click View / Edit to quickly call out VSC and edit it!

After reading the above, have you mastered how to get started with the remote control of ECS and lightweight application servers? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report