[example@localhost ~]$ su - Password: [root@localhost ~]# [example@localhost ~]$ vi /etc/hosts.deny ------------------------------------------ ALL: ALL ------------------------------------------ [root@localhost ~]# vi /etc/hosts.allow ------------------------------------------ ALL: 192.168.0.0/255.255.0.0 # example LAN ------------------------------------------ [root@localhost ~]# vi /etc/resolv.conf ------------------------------------------ search example.com nameserver 192.168.1.1 ------------------------------------------ [root@localhost ~]# vi /etc/sysconfig/network NETWORKING=yes GATEWAY="192.168.1.1" HOSTNAME=localhost.localdomain [root@localhost ~]# vi /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE="eth0" ONBOOT="yes" BOOTPROTO="none" IPADDR="192.168.1.9" NETMASK="255.255.255.0" [root@localhost ~]# service network restart
PukiWiki 1.5.3 © 2001-2020 PukiWiki Development Team. Powered by PHP 7.4.33. HTML convert time: 0.064 sec.