What's new

tutorial How to Install CentOS 8 on VPS in VNC Mode

ah nou nhy mou

Staff member
  • SikatPInoy Staff
  • medal 1
How to Install CentOS 8 on VPS in VNC Mode
Last Updated: January 7, 2020 Xiao Guoan (Admin) 0 Comment CentOS
This tutorial is going to show you how to install CentOS 8 on a VPS (virtual private server) in VNC mode. This is useful when your hosting provider doesn’t offer CentOS 8 in one-click install, or you want to customize the installation, such as encrypting the disk.

VNC (Virtual Network Computing) allows you to manage a VPS like you are sitting in front of the monitor and keyboard. You can insert a custom ISO image to the virtual optical disk and install the custom operating system.

Step 1: Get the Gateway IP Address
In VNC mode, you need to manually configure Internet access for your VPS, so you have to know the gateway IP address. The gateway is on the same logical network as your VPS and its IP address usually ends with the number 1 like For example, if my VPS IP address is, then the IP address of the gateway is almost always

If you want to be sure about it, you can first install Ubuntu or Debian on your VPS via the one-click install function in the VPS control panel, then boot it up and issue the following command:

ip route show

default via dev ens3 proto static metric 100 dev ens3 proto kernel scope link src metric 100
The IP address after “default via” is the IP address of your gateway.

Step 2: Boot Your VPS From CentOS 8 ISO
In your VPS control panel, find the virtual optical disk drive and mount CentOS 8 ISO. Sometimes you may need to give the direct download link of CentOS 8 ISO file to your hosting provider and ask them to mount it for you. You can find the CentOS 8 ISO download links here. Note that I recommend using the net-install ISO image (534MB in size), instead of the DVD ISO image because your hosting provider might not be able to mount a 7G size ISO image.

centos 8 iso download

Then establish a VNC connection to your VPS. You can get VNC login info from your hosting provider. Normally you can use a web-based VNC client in the VPS control panel.

Next, configure the boot order of your VPS. Set it to boot from optical disk first. After that, click boot button in the control panel to boot up your VPS.

Step 3: Install CentOS 8
Now you should see the following screen in the VNC client. Press Enter to Install CentOS Linux 8.

install centos 8 on vps in vnc mode

Then choose your language. I selected English.