• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved Prepare /etc/network/interface for Plesk

Tomili

New Pleskian
HI

I hate reinstalled my Ubuntuserver 16.04

Now i will Prepare my Network on the Server for install PLesk successfull
It's a Server and they stay at my home.
I have a Domain and on this domain i set the A-Record to my Public IP.

I has read this Topic
https://www.cyberciti.biz/tips/howt...configuration-to-static-ip-configuration.html


I have edited the /etc/network/interfaces
Code:
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto enp4s0
iface enp4s0 inet static
address 192.168.168.200 (local IP)
netmask 255.255.255.0
network 192.168.168.0
gateway 192.168.168.1 (RouterIP)
broadcast 192.168.168.255

and the /etc/resolv.conf
Code:
# Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8)
#     DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
search domain.ch
nameserver 192.168.168.1 (Router IP)
nameserver 212.60.61.246 (DNS from my Provider)
nameserver 212.60.63.246 (DNS from my Provider)


The output of ifconfig
Code:
enp4s0    Link encap:Ethernet  Hardware Adresse 44:1e:a1:3e:e0:82
          inet Adresse:192.168.168.200  Bcast:192.168.168.255  Maske:255.255.255.0
          inet6-Adresse: fe80::461e:a1ff:fe3e:e082/64 Gültigkeitsbereich:Verbindung
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metrik:1
          RX-Pakete:1063 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:555 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:1000
          RX-Bytes:94393 (94.3 KB)  TX-Bytes:184228 (184.2 KB)
          Interrupt:18

lo        Link encap:Lokale Schleife
          inet Adresse:127.0.0.1  Maske:255.0.0.0
          inet6-Adresse: ::1/128 Gültigkeitsbereich:Maschine
          UP LOOPBACK RUNNING  MTU:65536  Metrik:1
          RX-Pakete:164 Fehler:0 Verloren:0 Überläufe:0 Fenster:0
          TX-Pakete:164 Fehler:0 Verloren:0 Überläufe:0 Träger:0
          Kollisionen:0 Sendewarteschlangenlänge:1
          RX-Bytes:12438 (12.4 KB)  TX-Bytes:12438 (12.4 KB)

/etc/hostname
Code:
domain.ch


What else should I do so that I can install Plesk successful?
 
Last edited:
Hi Tomili

Some things have to be corrected before installing Plesk Onyx:

a. /etc/network/interfaces
Set the name server directives at the end of your interface config
Code:
iface enp4s0 inet static
...
dns-nameserver 192.168.168.1
dns-nameserver 212.60.61.246
dns-nameserver 212.60.63.246

b. Delete your entries in /etc/resolv.conf, this file will be auto-generated with the dns.-nameserver entries.

c. Then I would check /etc/hosts if your servers ip and and the fully qualified domain name (fqdn) are in there before going further:
Code:
192.168.168.200 my.homeserver.ch my

d. Then reload the network or simply reboot (not the sysadmins way;-) and check all entries.

e. I guess you have done the latest updates on Ubunut 16.04, but that would be beneficial:
Code:
sudo apt update && sudo apt dist-upgrade

Then install the Plesk Onyx with the installer.

Gruess us Basel. Oliver
 
Back
Top