Home > php教程 > php手册 > Mac connects to Alibaba Cloud server

Mac connects to Alibaba Cloud server

WBOY
Release: 2016-07-09 09:08:02
Original
950 people have browsed it

1. Connect to Server via command line and set up

 1.1 Connect Server

 #: ssh root@hctec.top

 ssh: remote connection tool

 root: remote server username, 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 the ssh-copy-id tool to verify the secret key)

 #: brew install ssh-copy-id

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

Brew: brew, also called Homebrew, 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

The function of brew is similar to apt-get under ubuntu system

2. ECS instance:

 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

Specify intranet & public network access rules

 

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template