原创 centos7安裝系統時設置網卡名稱爲ethX

centos7的網卡名稱默認是網卡在主板上的槽位號,如:en33。我們習慣的網卡名稱爲ethX,修改方法如下:1、選擇安裝centos2、按tab鍵3、在屏幕下方出現的提示行最後輸入:net.ifnames=0 biosdevname=04

原创 SecureCRT連接SSH慢解決辦法

1、在ssh服務端上更改配置文件:vi /etc/ssh/sshd_config在文件最後添加:UseDNS noGSSAPIAuthentication no 2、重啓SSHD服務CentOS6:執行/etc/init.d/sshd re

原创 重啓網卡報錯

報錯:Bringing up interface eth0: Active connection state: activatedActive connection path: /org/freedesktop/NetworkManage

原创 linux yum安裝源

阿里雲鏡像CentOS 5wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-5.repoCentOS 6wget -O /etc/

原创 linux yum安裝時找不到mirror

CentOS6第一步:#vi /etc/resolv.conf在文件後面添加nameserver 8.8.8.8nameserver 8.8.4.4search localdomain第二步:#service network restart