How to use VPS for beginners?

by xthemes content creator
7 minutes read
hello i newbie cart 160652713
How to use VPS for beginners?

For those who are new to VPS, it won’t come as a surprise because it is very different from imagination and moreover, it is very difficult to control. Usually, for beginners, they often encounter the following problems when using a VPS:

  • Initial installation and configuration: When renting a new VPS, users need to install and configure some software, service packs, firewalls, security updates to ensure stable and secure server operation.
  • Remote VPS Management: Since VPS is a virtual server, users need to manage the server remotely through command line interface or remote graphical interface.
  • VPS Security: Users are responsible for ensuring the security of their servers by installing and configuring firewalls, updating systems and applications, creating user accounts with sufficient permissions , etc
  • Resource Tuning: With VPS, users can customize and manage server resources, but this requires knowledge of the system and the ability to analyze and optimize server resources.
  • Service management: If users use VPS to run services such as web server, database server, email server, etc., they need to manage and maintain these services to ensure stable and continuous operation . .

1. How to use VPS for beginners?

Step 1: Learn how to login to your VPS via Secure Shell (SSH) access

uploading wordpress files via ftp

When you sign up for a VPS plan, your web host will provide you with a set of credentials, including:

  • IP address of your server
  • Username (usually) root )
  • Password for the account your root

Usually users start with Putty

A%CC%89nh chu%CC%A3p Ma%CC%80n hi%CC%80nh 2023 04 19 lu%CC%81c 15.04.43

In this paragraph, you need to enter the IP address of the server in the Hostname field (or IP address) and to set the Port to the default value of 22 :

After connecting the following, we will need to enter the password to log in to the VPS:

A%CC%89nh chu%CC%A3p Ma%CC%80n hi%CC%80nh 2023 04 19 lu%CC%81c 16.08.33

Upon successful login, you will see detailed parameters on your VPS:

A%CC%89nh chu%CC%A3p Ma%CC%80n hi%CC%80nh 2023 04 19 lu%CC%81c 16.08.55

Install a few more commands to update system files including:

Update:

yum update -y

Compress and decompress zip files

yum install zip unzip

Nano text editor

yum install nano

See active development htop

yum install htop

After lightning, you may have other options depending on your direction. Specifically it is:

To install and use the VPS we have 2 methods: Automatic installation or manual installation.

Install the VPS automatically

Automatic installation is our automatic installation of VPS management software from start to finish, which we can easily manipulate and manage through a graphical interface or command line.

Using the Control Panel: is an intuitive web-based VPS management software, its advantage is easy to use but the disadvantage is that it costs Ram and some fees. Some popular Control Panels are Zpanel, Vesta Control Panel or Kloxo-MR

Use Automated Scripts: script similar to control panel but command-line interface, completely RAM free and completely free, its disadvantage is that you can’t customize it as comfortably as installing it manually. Some popular VPS scripts are: HocVPS Script, VPSSIM or Centmin Mod

Manual VPS Setup

Manual VPS installation will be more complicated and time-consuming, as it is necessary to install and configure each service. But it will help you learn more, customize according to your preferences, needs and fix errors if any.

Basically to run the website, you need a webserver that can be Apache, Nginx or OpenLiteSpeed, the database can be MySQL or MariaDB, in addition to some additional software like phpMyadmin …

Each software has many different versions, so to be compatible and optimize performance, we usually install them in groups as follows, you can choose 1 of these groups to be installed for VPS mine.

  • Install LAMP on CentOS 8: Apache MySQL/MariaDB PHP8 PhpMyadmin
  • Installing LEMP on CentOS 8: Nginx MySQL/MariaDB PHP8 PhpMyadmin

Apache is standard, easy to configure, especially for those of you who are familiar with .htaccess. Nginx is more modern, better optimized with static files.

Ok as above is the basic VPS installation for new users. If you need more details, you can read more articles here: https://helpdesk.inet.vn/category/cloud-vps

Related Posts

Leave a Comment