Cloud Service Guide
You should have some skills about Cloud Server when you use open source software on Cloud Platform.
🗃️ Azure
2 items
🗃️ AWS
2 items
🗃️ Alibaba Cloud
2 items
🗃️ Tencent Cloud
2 items
🗃️ HUAWEI Cloud
2 items
🗃️ OpenStack
2 items
Connect Server
If you only need to connect to the Server, and you have prepared the server's administrator account and password, Internet IP address and other information, you can refer to the following general tutorial to start connecting to the server.
For Linux
We suggest you use SFTP to connect Linux. SFTP is an FTP mode that uses the SSH protocol, also known as security-enhanced FTP. The SFTP tool is a favorite operation mode for Linux users. The following is an example of WinSCP SFTP tool, which details the use of SFTP.
Configure WinSCP
-
Download WinSCP and install it, then start it to create a new connection
-
The following is based on the cloud server's password verification and key-key pair verification:
- Password authentication(the most common way)
- Key-key pair authentication
-
You may want to save your session details to a site so you do not need to type them in every time you want to connect. Press Save button and type site name.
-
Successfully connected interface
Manage Files
WinSCP can easily upload and download files by dragging and dropping, and can perform various settings and operations on files (folders).
-
In general, the files on the website are placed in the /data/wwwroot directory.
-
You can perform multiple operations on the VM by right-clicking on a file or folder on the server.
-
The relevant interface for modifying file permissions is as follows:
Run Command
WinSCP has a built-in command run function. Although the command function is limited to running non-interactive naming (that is, no feedback and process input are required during command execution), it is simple and practical for beginners.
- WinSCP logs in to the server, click on the command window icon from the menu (shortcut Ctrl+T is also available)
- In the pop-up command run window to execute the command (one command at a time), to query the memory usage as an example, run the command
free -m
Putty Integration
Under certain specificities, you may need to use Putty to run commands. Since Putty is a command operation interface, you need to enter the root password every time you use it. If the password is complicated, it will make people feel more troublesome. In fact, WinSCP can be integrated with Putty. After integration, you can open Putty through WinSCP and log in to the server automatically.
- Open the Preferences of WinSCP->Integration->Application, and input the local address of your Putty, click OK
- After the integration is successful, you only need to open the Putty through Winscp's window shortcut.
For Windows
You can connect to the Window server through the Remote Desktop Tool (MSTSC) on your local computer.
Below is the steps of MSTSC connection
-
Log in Cloud platform console, get you Internet IP Address of Cloud Server
-
Choose a way to open a local computer remote desktop (three-in-one):
- Open Start -> Remote Desktop
- Open Start, input "mstsc" directly, the system will search for the Remote Desktop
- Using the keyboard Windows Logo + R to start the command windows, input input "mstsc" to open the Remote Desktop
-
In the Remote Desktop Connection dialog, enter the Internet IP address of the instance. Then click 【Show Options】
-
Enter the user name,check Allow me to save credentials. In this way, you do not need to manually enter the password again when you log on later.
-
Click the Connect button to complete connection to the instance.
-
After logging in remotely, you can copy the file directly from the local and paste the file to the server.
If you need to use FTP on Windows or Linux, you need to install the FTP Sever yourself
FAQ
Forgotten Instance's password?
Please reset it in the Console of Cloud
What's username of Server?
Most of time, the username of OS is root
for Linux and 'administrator' for Windows, but diffrent Cloud not always
You can refer below sheet for yourself:
- Linux
- Windows
Cloud Platform | Administrator Username | Other |
---|---|---|
Azure | It was set by yourself when created instance | How to enable root account? |
AWS | AmazonLinux is ec2, CentOS is centos, Ubuntu is ubuntu, Debian is admin | How to enable root account? |
Alibaba Cloud, Tencent Cloud, HUAWEI Cloud | All username is root except Ubuntu of Tencent is ubuntu |
Cloud Platform | Administrator Username | Other |
---|---|---|
Azure | It was set by yourself when created instance | |
AWS, Alibaba Cloud, Tencent Cloud, HUAWEI Cloud | administrator |