[Linux] Configure network services for Linux platforms

zhaozj2021-02-16  72

Want to enjoy the online service to your Linux platform? Make the following method (Red Hat 8.0):

1. NIC configuration: ifconfig eth0 192.168.25 (your IP address) UP

2. Gateway configuration: Route Add Default GW 192.168.0.1 (gateway address)

3.DNS configuration: vi /etc/resolv.conf (do related configuration)

4. Activate configuration: / sbin / service network restart

Ok, if you can't do it, you can surf the Internet under Linux.

There is also this file more useful, you can go see: / etc / sysconfig / network

Configuration for Telnet and FTP services:

Telnet: /etc/xinetd.d/telnet

FTP: /etc/xinetd.d/wu-ftpd

转载请注明原文地址:https://www.9cbs.com/read-14743.html

New Post(0)