
How to install CentOS 8 to VPS in VNC mode
This tutorial shows you how to install CentOS 8 on a VPS (Virtual Private Server) in VNC mode. This is useful if your hosting provider does not offer a one-click installation of CentOS 8 or if you want to configure the installation, for example B. the encryption of the player.
VNC (Virtual Network Computing) allows you to control the VPS as if you were sitting in front of the screen and keyboard. You can insert a custom ISO image into the virtual optical drive and install a custom operating system.
Step 1: Determine the IP address of Gateway.
In VNC mode, you must manually configure Internet access for your VPS so that you know the IP address of the gateway. The gateway is on the same logical network as your VPS, and the IP address usually ends in 1, such as 192.168.0.1. For example, if the IP address of my VPS is 23.254.225.226, the IP address of the gateway is almost always 23.254.225.1.
If you want to be sure, you can first install Ubuntu or Debian on your VPS using the one-click installation function in the VPS control panel, then download it and enter the following command:
show routing ip
A way out:
standard in 23.254.225.1 dev ens3 prototype static metric 100
23.254.225.0/24 dev ens3 prototype core reference range src 23.254.225.226 metric 100
The default IP address after the via is the IP address of your gateway.
Step 2: Download your VPS from CentOS 8 ISO
Locate the Virtual Optical Drive in the VPS control panel and connect the CentOS 8 ISO. Sometimes you have to give your webhost a direct link to download the CentOS-8 ISO file and ask them to mount it for you. Links to download ISO in CentOS 8 can be found here. Note that I recommend using a network installation ISO image (534 MB) instead of a DVD-ISO image because your web host may not be able to import a 7G-ISO image.
Then make a VNC connection to your VPS. You can obtain the VNC login and password from your hosting provider. Normally, you can use the VNC Web client in the VPS control panel.
Then define the startup order of your VPS. Install it first to boot from the optical disc. Then click on the Download button in the Control Panel to download the VPS.
Step 3: Installing CentOS 8
You should now see the following screen in the VNC client. Press the Enter key to install CentOS Linux 8.
Then choose your language. I chose English.
On the next screen you have to fill in 4 points:
- Installing a hard disk partition
- Introduction of Internet access
- Implementation of the software archive
- Select the software to be installed on your server
First click on Installation Area to configure the hard disk partition. By default, automatic marking is selected, so click Done. If you want to encrypt the drive, you can do so in this step.
Then click Network and Host Name to configure Internet access. Turn on Ethernet and press the configuration button. Go to the IPv4 settings tab and change the DHCP method from automatic to manual. Then click on the Add button. Enter the IP address of your VPS, the Netmask and the IP address of the gateway.
Click the Save button to save your network settings. Then press Done.
Then click on the installation source to configure the software memory. By default, the nearest mirror is selected, but it does not work. Instead, you can use the following settings.
- URL: http://mirror.centos.org/centos-8/8/BaseOS/x86_64/os/.
- The type of URL is the repository URL.
Click the Finish button and wait until the archive is configured.
Finally, click on the software selection button to select the software to be installed on your server. By default the GUI server is selected, but I choose the minimum installation for my VPS.
After filling in 4 points, click on the Start installation button. Set a password for the root user when installing the operating system.
Once the installation is complete, return to the VPS control panel and install the VPS to boot from the hard drive. Then restart your VPS. You should now be able to manage the social sciences and humanities in your CentOS 8 VPS.
Packaging
I hope this manual has helped you install CentOS 8 on your VPS in VNC mode. As always, if you find this message useful, subscribe to our free newsletter for more tips and tricks. Take care of yourself.
Evaluate this training manual.
On second thought: 1 Average : 4]