码迷,mamicode.com
首页 > Web开发 > 详细

centos7 connect internet

时间:2015-12-18 18:49:27      阅读:140      评论:0      收藏:0      [点我收藏+]

标签:

First, if it can not connect to internet

1. input ‘su‘ to enter root

2. ls /etc/sysconfig/network-scripts/

3. remember the name of file ifcfg-enXXXXX

4.gedit file in 3, change ONBOOT to yes

5. service network restart

OK

Second, install chrome

1. su root

2. cd /etc/yum.repos.d/

3.gedit google.repo

4. input below into the file

name=Google-x86_64

baseurl=http://dl.google.com/linux/rpm/stable/x86_64

enabled=1

gpgcheck=0

gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub

5. yum install google-chrome-stable

 

centos7 connect internet

标签:

原文地址:http://www.cnblogs.com/chuiyuan/p/5057702.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!