cd /etc/sysconfig/network-scripts/
[root@rgdefmdb1 network-scripts]# cat ifcfg-bond0
DEVICE=bond0
NM_CONTROLLED=no #yes的话是不需要network restart,直接生效。
BOOTPROTO=static
ONBOOT=yes
IPADDR=10.225....
分类:
其他好文 时间:
2016-05-13 03:11:40
阅读次数:
939
postgres=# select name, setting, contextpostgres-# from pg_settings where context = 'postmaster'; name | setting | context + + allow_system_table_mods ...
分类:
数据库 时间:
2016-05-11 17:59:52
阅读次数:
301
1.安装Apache yum install httpd 相关命令: systemctl start httpd.service #启动apache systemctl stop httpd.service #停止apache systemctl restart httpd.service #重启a ...
分类:
其他好文 时间:
2016-05-10 09:53:37
阅读次数:
172
vi /etc/my.cnf #编辑文件,找到[mysqld],在下面添加一行skip-grant-tables [mysqld] skip-grant-tables :wq! #保存退出 service mysqld restart #重启MySQL服务 2、进入MySQL控制台 mysql -u ...
分类:
数据库 时间:
2016-05-10 09:43:50
阅读次数:
161
在从服务器拉取了工程导入android studio 时,出现了unsupported modules detected错误,导致无法运行和启动应用 在google后,找到解决方法 方法一: File -> Invalidate Caches / Restart -> Invalidate Cach ...
分类:
移动开发 时间:
2016-05-08 10:30:09
阅读次数:
4561
一直用CentOS 6 习惯了,一下没适应过来。防火墙配置后执行service iptables save 出现”Failed to restart iptables.service: Unit iptables.service failed to load: No such file or dir ...
分类:
其他好文 时间:
2016-05-07 15:01:24
阅读次数:
281
iptables是linux下的防火墙,同时也是服务名称。service iptables status 查看防火墙状态
service iptables start 开启防火墙
service iptables stop 关闭防火墙
service iptables restart 重启防火墙防火墙开放特定端口:...
分类:
系统相关 时间:
2016-05-07 08:23:56
阅读次数:
184
1.命令格式: at[参数][时间] 2.命令功能: 在一个指定的时间执行一个指定任务,只能执行一次,且需要开启atd进程( ps -ef | grep atd查看, 开启用/etc/init.d/atd start or restart; 开机即启动则需要运行 chkconfig --level ...
分类:
系统相关 时间:
2016-05-06 23:11:41
阅读次数:
310
[1]
Insert an installation DVD and restart Computer. Next, the following screen is shown, then Push Enter key.
[2]
This is the section to check the installation DVD, Selec...
分类:
其他好文 时间:
2016-05-06 14:58:43
阅读次数:
181
[1]
Insert an installation media of SLES in CD/DVD drive and restart your computer. After follwoing screen is shown, Select "Installation" to proceed next.
[2]
Select your...
分类:
系统相关 时间:
2016-05-06 13:09:11
阅读次数:
526