My first cloud server

preface

Prior to want to buy a cheap cloud server toss toss, two-eleven to see the cloud server discounts, cheaper than a year 86 student computers, then hurry to start the first year of playing. Here Come along with me playing ~

1. Purchase cloud server

  • By purchasing mission to fight an active link, click ❤️ freezing huge benefit activities ❤️, here choose the cheapest 86ECS server
  • After the purchase is complete, Ali cloud into the console home page, click on the top menu entry fee Ali cloud center users find delivery coupons Management in the left menu, select just buy into the cloud offering click to use.
  • Configure the server, select centos general operating system, create a server instance after waiting (about five minutes).

2. Log cloud server using SSH

Windows users generally use Xshell cloud server connection

  • First generate public and private keys
    • After opening private key to generate public Xshell, under the new user click on Tools key generation wizard, select the type of key RSA, the key length selection 2048, fill in the username password pair, copy the public key
  • Creating a key pair
    • Ali Cloud Console home page, click on the cloud server ECS left menu tree to enter the cloud server management console, click Network and Security in the left navigation and selection key
    • Select Create Type import existing key pair, the public key of the copy and paste into the input box, to generate a key pair
    • After creating the key, click on the binding key pairs and select the created instance ECS bind
  • Restart instance
    • Click on the left navigation bar at the instance of the cloud server management console with mirror, select the new instance and restart copying public IP address
  • Log cloud server
    • Use Xshell create a new session, click on the link on the left column category, enter the name - Ali cloud, protocol selection -SSH, just fill in the host replication public IP address, port number, default 22
    • Type the left column click user authentication method selection -Public Key, enter the user name root, the user key to select our new key connection
    • A dialog box will accept the key, choose to accept and permanently save the password, a successful login cloud server

3. Operation cloud server

Linux server systems generally, of course, will point to the Linux command to operate, you can read my introductory notes to learn wave

  • Installation common tools
    • yum install lszrz, windows and linux file upload and download sz rz software
  • Configuring Operating Environment
    • Install the JDK
    • Tomcat installation

4. Open the external network access port

The default server can access the Internet, but outside the network can not access the server, you need to open port to access

  • In the cloud server management console page, click on the left navigation network security - a security group, the security group generated configure rules
  • Create a security group rules, open ports such as 8080, this time the browser accesses the server ip: 8080 interface port to see tomcat

end

These are learning the basic operation of the first cloud servers, private letters in question or comment oh

Guess you like

Origin www.cnblogs.com/pycrab/p/11789957.html