2018年10月31日 星期三

CentOS 7 note

1. no network connection

Find Necessary configuration file in following path
cd /etc/sysconfig/network-scripts/

Name: ifcfg-enp0s3 (maybe.... or other names)

change content:
DNS1=8.8.8.8
DNS2=8.8.4.4
# Note this was set to no
ONBOOT=yes

Then:
service network restart

sudo yum update

sudo yum install net-tools

2. how to use bridge????

沒有留言:

張貼留言