Linux VPS Hosting Management

Listed below you will find Help articles regarding how to use a server in Linux.

Worldwide Linux VPS Hosting

High-Performance VPS Servers for Linux Web Hosting
Generally speaking, a Linux web server (VPS or dedicated) may be less vulnerable to exploits than a Windows server. But Linux server management often requires a user to have enough Linux-related knowledge to better control it. Here we list some of the knowledge-based articles regarding how to use a server in Linux.

Login and server connection

How to access Linux Server via Mac?

After the order is placed and paid, the login information will be sent to your registered email within the next 1-2 hours. If you are using a Mac local PC, please follow these steps to access your Linux VPS:

  1. Check your email box and looking for login details sent from Database Mart.
  2. Use the keyboard shortcut "Command + Space" to open Terminal on Mac, double-click it, and Terminal will open.
  3. Input "ssh username@IP". Such as "ssh root@123.45.67.89".
  4. Type "yes" and press enter.
  5. Input the password.
  6. Now you are connected to VPS, you can use any existing commands(such as "hostname -I" to get the server IP).

How to SSH to Linux Server?

  1. Introduction
    SSH is a cryptographic network protocol for operating network services securely over an unsecured network. This tutorial shows how to SSH to a Linux server via Putty.exe.
  2. Open the Putty.exe
  3. Enter the Server IP (Host Name (or IP address)) and Port number (if it's not the default 22), then Click Open
  4. Click on Yes
  5. Enter Username and Password

Change Server Settings

How to change passwords for users on Linux server?

As a Linux system administrator (administrator or root), you can change the password for any users on your server. To change a password on behalf of a user:

  1. First, sign on or “su” or “sudo” to the “root” account on Linux, run: sudo -i and enter the password.
  2. Then type passwd username to change a password for a specific user. For example, run passwd root or passwd administrator to change the password of user "root" or "administrator". Or type passwd to change the password of the current user. The system will prompt you to enter a password twice.
  3. Log into your server again using the new password for verification.

How to Change Server Name for Windows and Linux Server?

For Windows server

  1. Please go to Control Panel -> System and Security -> System, and click Change settings under Computer name, domain, and workgroup settings
  2. Click Change to change the server name
  3. Click OK and restart the server
  4. Now the server name is changed after server restarted

For Linux server
Centos7: Please run the command "hostnamectl set-hostname your new hostname" on your server directly.
Ubuntu/Debian: Please run "sudo -i" to get root permission first, and then run the command "hostnamectl set-hostname your new hostname" on your server to change the hostname.

How to Change Linux SSH port?

Port 22 is used to establish an SSH connection by default. You can strengthen the server security by modifying the SSH port to prevent brute force attacks. This article introduces the steps on how to change the SSH port.

  1. Log in to the server.
  2. Edit the SSH configuration file.
  3. Save the configuration file and exit.
  4. Restart the SSH service.
  5. Log in to the server with the new port.