Linux system cloud server ECS usage navigation and common Linux instance operations

坏嘻嘻
Release: 2018-09-28 17:05:25
Original
2569 people have browsed it

This article introduces the navigation of Linux system cloud server ECS and common Linux instance operations, and focuses on the specific steps. The content of this article is compact, and I hope you can gain something from it.

Linux system cloud server ECS usage navigation

Log in to Alibaba Cloud

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

Query the cloud server ECS account and password

The cloud server ECS account and password have been It will be sent to the mobile phone and email address bound to your account.

The default administrator account of Linux system is root.

Remotely log in to the cloud server ECS

Usually Linux systems use the SSH service to provide remote connections. You can:

Log in to the instance on the console through a browser

Use password authentication on the PC to log in to the Linux instance

Use the SSH key on the PC Log in to the Linux instance

Mobile terminal login to the Linux instance

Check the disk and partition format

Current 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 a Linux instance. For specific operations, please refer to Creating an FTP site using an ECS instance.

Adjust the owner and ownership group of the directory file

In the Web server, if the permissions of the file or directory are incorrect, it will cause an error when accessing the website. 403 error. So we first need to confirm the identity of the process that needs to operate these file directories. In Linux, you can query it through ps and grep.

You can also use ls -l to query the owner and ownership group of the file directory. Use chown to modify permissions: chown -R www.www /alidata/www/phpwind/ will change the owner group of all files and directories under the directory /alidata/www/phpwind to the www account.

Update source

Sometimes you need to use new software sources to install software under the Linux system. The convenient tools in the help center can complete the Linux installation System source updates. You can refer to this document for operation: Cloud Server ECS Linux Software Source Automatic Update Tool.

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 Alibaba Cloud Linux in the cloud market to install the web environment with one click.

Install VNC Server to achieve graphical access to the Linux system

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

More frequently asked questions

For questions during use, you can view the Help Center.

The above is the detailed content of Linux system cloud server ECS usage navigation and common Linux instance operations. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template