Basic installation

Connect to your virtual server using VNC

If you are on an vServer (root server), first use VNC to connect to your virtual server with the settings you received from your provider.

Partitioning

First of all, partition the hard disk according to the following scheme.

/boot 1 GB
/ 10 GB
swap 2 GB
/home set the remaining space

 

Now set an encryption password for all partitions except /boot.

Installation

  • Configure the network settings: hostname, your static IP, subnet, gateway and DNS (domain name system).

  • Start the installation.

  • Set a simple root password (but not to simple). We will change it later to a strong one.

  • Shutdown the system at the end of the installation. Press strg-alt-f1 and type: shutdown 0

  • Remove the install CD/DVD from the virtual drive, make sure VNC access is still enabled and boot the system.

  • Type the disk decryption password into the VNC window and start into your system.

First steps (optional)

"Everything is a file." Because the DNS settings are gone after each reboot, you have to remove the NetworkManager from your system.

root$

yum remove NetworkManager

root$

yum autoremove

Install epel-release for additional packages

root$

yum install epel-release

Update and restart the server

root$

yum update

root$

yum reboot

Hostname

hostnamectl set-hostname your-new-hostname

Quelle: https://www.tecmint.com/set-change-hostname-in-centos-7/

Check DNS settings

Open the configuration file for DNS with:

root$

vi /etc/resolv.conf

Make sure to configure your system like the given example:

nameserver xxx.xxx.xxx.xxx
nameserver 8.8.8.8
domain server.your-domain.com

Replace xxx.xxx.xxx.xxx with your favorite domain name server.

Replace server.your-domain.com with your servers domain name.

 

Next Step:

Related links

Check DNS Settings

https://wiki.archlinux.de/title/Systemd/systemd-resolved

Kommentare

Bitte rechnen Sie 1 plus 5.