Home  >  Article  >  Backend Development  >  Alibaba Cloud Server Mac connects to Alibaba Cloud Server

Alibaba Cloud Server Mac connects to Alibaba Cloud Server

WBOY
WBOYOriginal
2016-07-28 08:27:341322browse

1. Connect to the Server through the command line and set up

  1.1 Connect to the Server

#: ssh root@hctec.top

ssh: Remote connection tool

root: Remote server user name, here I use: root user

hctec.top: is the domain name of the server, of course you can use IP directly

1.2 Directly connect to the Server without a password (we use ssh -copy-id tool, perform key verification)

#: brew install ssh-copy-id

#: ssh-copy-id root@hctec.top

    brew: brew again Called Homebrew, it is a software package management tool on Mac OSX. It can easily install or uninstall software on Mac. It only requires one command, which is very convenient. Reference: brew installation and use

     brew is similar to apt-get under the ubuntu system Functions

2. ECS instances:

 2.1 Instance snapshot

  Personal understanding: It can be used as a backup of the system. When the system encounters an irreparable operation, the system can be restored by rolling back the instance;

 2.2 System image

 We can make a system image based on the snapshot of the system disk, so that we do not need to repeatedly configure the server.

 2.3 Security Group

 Specified intranet & public network access Rules

The above introduces how to connect Alibaba Cloud Server Mac to Alibaba Cloud Server, including the content of Alibaba Cloud Server. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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