Вы находитесь на странице: 1из 1

172.16.34.

0/24
ECODES

Internet

PC Dispositivo portátil

Firewall # vim /etc/sysconfig/network-scripts/ifcfg-enp0s3


TYPE="Ethernet"
BOOTPROTO="static"
IPADDR="192.168.1.199"
NETMASK="255.255.255.0"
NAME="enp0s3"
ONBOOT="yes"
Dispositivo
portátil # vim /etc/resolv.conf
Centos 7
DNS1=xxx.xxx.xxx.xxx
sudo nano /etc/apt/sources.list
DNS2=xxx.xxx.xxx.xxx
"deb http://download.webmin.com/download/repository sarge contrib"
# systemctl restart network.service
Ethernet
# wget http://www.webmin.com/jcameron-key.asc
# sudo apt-key add jcameron-key.asc Ethernet
# sudo apt update
# sudo apt install webmin haproxy

Output Webmin install complete. You can now Ubuntu 18.04


login to https://your_server_ip:10000 as root with
your root password, or as any user who can use
`sudo`.
PC

sudo nano /etc/netplan/50-cloud-init.yaml DNS

network:
ethernets: sudo nano /etc/network/interfaces
Ethernet
enp0s3: Ubuntu 18.04
addresses: [192.168.1.2/24] auto eth1
gateway4: 192.168.1.1 Ubuntu 16.04 iface eth1 inet static
nameservers: address 192.168.1.14
addresses: [8.8.8.8,8.8.4.4] gateway 192.168.1.1
dhcp4: no netmask 255.255.255.0
version: 2 network 192.168.1.0
broadcast 192.168.1.255
sudo netplan apply
Servidor app Servidor web dns-nameservers 192.168.1.1 8.8.8.8

Вам также может понравиться