1,修改IPedit file: /etc/sysconfig/network-scripts/ifcfg-eth0(eth0可能会是别的名字)修改好以后,重启网卡:service network restart完工。2,关闭/开启防火墙service iptables stopservice ip...
分类:
系统相关 时间:
2014-10-23 14:19:14
阅读次数:
166
用途说明service命令用于对系统服务进行管理,比如启动(start)、停止(stop)、重启(restart)、查看状态(status)等。相
关的命令还包括chkconfig、ntsysv等,chkconfig用于查看、设置服务的运行级别,ntsysv用于直观方便的设置各个服务是否自动
启动。service命令本身是..
分类:
系统相关 时间:
2014-10-22 18:32:02
阅读次数:
273
rotatelogs 截断日志,进行配置。但是保存vhost.conf 之后,服务器httpd -k restart 始终无法重启成功。
日志文件:
(2)No such file or directory: AH00089: Couldn't start ErrorLog process ' rotatelogs /var/www/html/logs/error/%Y/%m/%d_error...
分类:
Web程序 时间:
2014-10-19 23:15:56
阅读次数:
253
Linux电源管理(3)_Generic PM之Reboot过程1. 前言在使用计算机的过程中,关机和重启是最先学会的两个操作。同样,这两个操作在Linux中也存在,称作shutdown和restart。这就是本文要描述的对象。在Linux Kernel中,主流的shutdown和restart都是...
分类:
Web程序 时间:
2014-10-19 11:34:33
阅读次数:
148
Extras属性主要用于传递目标组件所需要的额外的数据 。通过putExtras()方法设置。 常作为一个Intent,BroadCast
Receiver等组件的传入数据使用!接下来我们来看下有哪些 Extras吧
EXTRA 常量值
意义
EXTRA_ALARM_COUNT
存放延迟的 Pending Alarms...
分类:
移动开发 时间:
2014-10-18 17:06:16
阅读次数:
655
inux平台及windows平台mysql重启方法 Linux下重启MySQL的正确方法: 1、通过rpm包安装的MySQL service mysqld restart 2、从源码包安装的MySQL // linux关闭MySQL的命令 $mysql_dir/bin/mysqladmi...
分类:
数据库 时间:
2014-10-18 10:59:13
阅读次数:
232
Fixing the “Your PC needs to restart” error in Windows 8.1 in VirtualBoxJust a quick tip for people out there trying out Windows 8.1 in Oracle VirtualBox. If you’re experiencing the following e...
问题:将规则添加到防火墙中,总是端口无法开启
(1)修改文件
首先vim /etc/sysconfig/iptables
-A INPUT -m state --state NEW -m tcp -p tcp --dport 5001:5009 -j ACCEPT(允许5001到5009的端口通过防火墙)
接着执行/etc/init.d/iptables restart (重启...
分类:
其他好文 时间:
2014-10-17 20:34:43
阅读次数:
223
三个问题一次性解决。启动时的蓝屏显示错误信息是:STOP 0x000000CE (...)DRIVER_UNLOADED_WITHOUT_CANCELLING_PENDING_OPERATIONSintelppm.sys通过开机按F8,选择 恢复到上一次正确配置 启动则OK。可是,总这么开机也够烦人...
分类:
其他好文 时间:
2014-10-17 18:37:38
阅读次数:
180
今天很逗比的装了Ubuntu14.04 又装了Android studio 写了个app 运行报错:
Adb
not responding. you can wait more or kill adb process manually and click ‘restart’ ”
Google了一下,找到一个外国佬写的专业解决方法:
http://simpledevelop...
分类:
数据库 时间:
2014-10-17 15:38:10
阅读次数:
203