0 1 * * * root /sbin/ifconfig ath0 down30 7 * * 1-5 root /sbin/ifconfig ath0 up30 8 * * 1-5 root /sbin/ifconfig ath0 down0 21 * * 1-5 root /sbin/ifcon...
分类:
其他好文 时间:
2014-12-07 11:14:20
阅读次数:
174
1、更新yum源wgethttp://repo.mysql.com/mysql-community-release-el7-5.noarch.rpmrpm-ivhmysql-community-release-el7-5.noarch.rpm2、安装:yuminstallmysql-server3、...
分类:
数据库 时间:
2014-12-07 06:31:17
阅读次数:
226
被这个问题虐惨了,只为后来者不要再被虐,故写此文。
CentOS 6.4装在在物理机上和Win7形成双系统,但是CentOS却一直没法联网,仔细一看才发现网线接口根本不亮。因为网卡驱动不存在!你执行ifconfig命令也显示不出eth0!
在Windows下个驱动精灵搞定驱动问题极其方便,但是在Linux就要你自己找了。
现在我已经找好了,对于CentOS 6.X 系列的来说,如...
分类:
其他好文 时间:
2014-12-06 14:08:05
阅读次数:
245
Gitlab服务器环境是CentOS7+Gitlab7.2.1,最近发现在开发机上使用git pull更新文件时,会报如下错误。
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
Google了半天也没找到个好办法,最后还是查错误日志定位到了问题...
分类:
其他好文 时间:
2014-12-06 10:08:01
阅读次数:
527
被这个问题虐惨了,只为后来者不要再被虐,故写此文。CentOS6.4装在在物理机上和Win7形成双系统,但是CentOS却一直没法联网,仔细一看才发现网线接口根本不亮。因为网卡驱动不存在!你执行ifconfig命令也显示不出eth0!在Windows下个驱动精灵搞定驱动问题极其方便,但是在Linux..
分类:
其他好文 时间:
2014-12-06 06:38:06
阅读次数:
235
方法一:ifconfig[root@localhost~]#ifconfigeth0Linkencap:EthernetHWaddr00:0C:29:5A:03:D0inetaddr:192.168.1.8Bcast:192.168.1.255Mask:255.255.255.0inet6addr:fe80::20c:29ff:fe5a:3d0/64Scope:LinkUPBROADCASTRUNNINGMULTICASTMTU:1500Metric:1RXpackets:90931errors:0d..
分类:
系统相关 时间:
2014-12-05 19:36:58
阅读次数:
200
IP设定查看Command# ifconfig -a# netstat -nr给eth0设定值# vi /etc/sysconfig/network-scripts/ifcfg-eth0DEVICE=eth0 #设备名ONBOOT=yes ...
分类:
其他好文 时间:
2014-12-05 16:49:21
阅读次数:
183
转载:http://blog.csdn.net/wangjingfei/article/details/5283632/熟悉使用ifconfig 会非常方便。 ifconfig eth0 新ip 然后编辑/etc/sysconfig/network-scripts/ifcfg-eth0,修改ip.....
分类:
系统相关 时间:
2014-12-05 12:36:13
阅读次数:
324
比如我的配置文件, cd /etc/sysconfig/network-scripts/ifcfg-Auto_eth0是这个名称,但是我使用ifconfig显示的信息却是
eth6 Link encap:Ethernet HWaddr 08:00:27:3F:55:54
inet addr:192.168.137.103 Bcast:1...
分类:
其他好文 时间:
2014-12-04 23:21:01
阅读次数:
478
一、环境:
宿主机:mac os 10.10
虚拟机:virtualbox 4.3.20
虚拟机操作系统:CentOS7-1406
Openvswitch 2.3.0
二、安装
1、安装依赖包:yum -y install openssl-devel wget kernel-devel
2、安装开发工具:yum groupinstall "Development Tools"
...
分类:
其他好文 时间:
2014-12-04 19:59:43
阅读次数:
268