VPS FAQ and Tutorials

How to use my VPS (CentOS) ?

Installing your VPS :





You have to provide an username which will be used to install the server, this will be your username to login to your VPS.









Login to your VPS :





Once the server is installed, you will receive an email with a generated password. We recommend you change this password as soon as possible with a more secure one.





Under Windows, you can use a software named PuTTY to access your VPS using SSH.









A terminal will appear after you clicked on « Open », you will have to provide the username you defined when installing the server.





Then you will have to provide your password. There is no indication that you are typing, but it’s normal. Under Linux/macOS, you just need to use « ssh user@VPSIP » in the terminal





Manage your VPS safely with your user :





You will find a lot of tutorials that directly use the « root » user, however for security reasons you should never use this user directly. The « sudo » command will allow you to run commands from your own user with « admin » permissions, just like admin mode under windows. Here is an example of this command : « sudo [command] »









sudo yum update




This command will ask you to provide a password, this is your current user password. If you need to use sudo multiple times in a row, you will not need to re-type your password for some time.






sudo yum install htop nload iftop




(htop, nload and iftop are utilities that show system information)


Here are some examples of commands with and without sudo :







  • « touch » command to create an empty file.


  • « mv » command to move a file or a folder. If you don’t have enough permissions, sudo command can be used to get « admin » permissions.


  • « cp » command to copy files.


  • « rm » command to delete a file/folder. In the example below sudo is not needed, because our user created this file and already owns the required permissions.










I still need to use root user :





In some cases you will need to use « root » to execute some actions like editing system configuration. To do so, you only need to use this command :





sudo -s







Then you will need to provide your user password. This will put you in the root user, indicated by a « # » character. It is recommended not to edit any files that belong to your user when using this mode, as it will mix files that belong to your user and files that belong to root. You can type « exit » to exit root mode and return to your user.