Buy Tencent Cloud
First of all, I went to the official website of Tencent cloud to buy a cloud server cloud.tencent.com/. What I bought was a preferential price of 348 yuan for 2 gigabytes of one core for three years. After purchase, I found that there was a loss of 298 seconds for three years
Log in to the server
After the purchase is successful, the initial password will be sent to wechat, a series of many characters
Login method 1: Log in on the official website of Tencent Cloud, first log in your Account of Tencent Cloud, and click the console in the upper right corner after logging inAt this point you will find yourself with a cloud serverClick in and find the reset password as shown belowAfter resetting the password set for yourself, click login and a TWO-DIMENSIONAL code pops up. Use wechat to scan and click login immediately. Enter the newly reset password in the popup window and the connection is successful
Login method 2: The author also used the Termius software on the iPad to log in, and the experience was also good. First, download the software and open it, click the plus sign on the upper right corner to set the connection: Note the following when setting: HostName Specifies the assigned public IP address. Port Use the default Port 22. Username Specifies the root PasswordRealizing the dream of using the iPad to develop code
Simple command to view server status
Viewing the GCC Version
gcc --version
Copy the code
Viewing the CentOS Version
cat /etc/redhat-release
Copy the code
Viewing the Linux Version
cat /proc/version
Copy the code
Checking the Git Version
git --version
Copy the code
Install git
The server does not have git installed
yum -y install git
Copy the code
How to configure a Git account on Linux