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 use navigation and common Linux instance operations on Linux CVM ECS

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly introduces how Linux CVM ECS uses navigation and commonly used Linux instance operations, which can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.

On the basis of introducing the navigation of ECS on Linux CVM and the common operation of Linux instances, this article focuses on its specific steps. This article is compact. I hope you can get something.

Linux system CVM ECS usage navigation

Log in to Aliyun

Console login address: https://home.console.aliyun.com/new#/

Query ECS account and password of CVM

The account number and password of the CVM ECS have been sent to the mobile phone and mailbox bound to your account.

The default administrator account for the Linux system is root.

Remotely log in to the CVM ECS

Typically, Linux systems use SSH services to provide remote connections. You can:

Log in to the instance on the console through the browser

PC uses password authentication to log in to Linux instance

PC uses SSH key pair to log in to Linux instance

The mobile terminal logs in to the Linux instance

Check disk and partition formatting

At present, disk space and usage can be queried through the df-h command, and disk information can be queried through the fdisk-l command.

For disk partitioning and formatting operations on Linux instances, please refer to formatting and mounting data disks.

Upload files to the system

You can use the FTP service to upload files to the Linux instance. For more information, please see using ECS instances to create FTP sites.

Adjust the owner and ownership group of the catalog file

Incorrect permissions of files or directories in the Web server will lead to 403 errors in accessing the website. So we first need to confirm the identity of the process that needs to manipulate these file directories. In Linux, you can query through ps and grep.

You can also use ls-l to query file directory owners and ownership groups. Use chown to modify permissions: chown-R www.www / alidata/www/phpwind/ can change all files and directory ownership groups under the directory / alidata/www/phpwind to www accounts.

Update sourc

It is sometimes necessary to use a new software source to install the software under the Linux system. The convenient tools in the help center can update the source of the Linux system. You can refer to this document: automatic update tool for ECS Linux software source on CVM.

Build a Web environment that supports PHP

To build a Web environment that supports PHP, you usually need to install Apache/Nginx+PHP+MySQL. You can use Aliyun Linux in Cloud Market to install the Web environment with one click.

Install VNC Server for graphical access to the Linux system

You can refer to the tools provided in this document to complete the installation of VNC Server: introduction to the automatic installation tool for CVM ECS Linux VNC Server.

More frequently asked questions to view the help center.

Thank you for reading this article carefully. I hope it will be helpful for everyone to share how the Linux CVM ECS uses navigation and common Linux instance operations. At the same time, I also hope that you will support it, pay attention to the industry information channel, and find out if you encounter problems. Detailed solutions are waiting for you to learn!

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