1.ntp4.2.4之前的版本都存在一个很严重的BUG,当ntp的启动参数里有同时有-g -x,并且在ntp.config中的server的校时服务器地址不可达时,会出现无论是start,stop,restart服务都会报错。报错内容:Starting ntpd: ERROR:only one pa...
分类:
系统相关 时间:
2014-10-11 16:56:25
阅读次数:
310
1.1 设置ip地址 执行命令 service network restart 验证 ifconfig1.2 关闭防火墙 执行命令 service iptables stop 验证 service iptables status1.3 关闭防火墙的自动运行(永久关闭) 执行命令 ...
分类:
其他好文 时间:
2014-10-09 02:57:57
阅读次数:
189
打开IIS配置窗口的CMD命令:开始---运行---CMD----输入inetmgr直接使用CMD我们可以操作很多事情,比如启动IIS,重启IIS,停止IIS重启IIS服务器,开始->运行->cmd (以下列出相关操作命令):iisreset /RESTART 停止后启动iisreset /STAR...
分类:
其他好文 时间:
2014-10-07 11:42:53
阅读次数:
155
修改/etc/sysconfig/network-scripts/ifcfg-ens33文件添加如下信息:保存,把virtualbox的网卡模式调成(仅主机(host-only))模式,重启网卡:sudo service network restart查看ip:如需上网,则把virtualbox中的...
分类:
其他好文 时间:
2014-10-03 16:34:44
阅读次数:
357
在虚拟机中以最小化方式安装centos7,后无法上网,可以设置文件 /etc/sysconfig/network-scripts/ifcfg-enp0s3将 ONBOOT=no 改为 ONBOOT=yes保存后重启网卡: service network restart此时就可以上网了。因为是最小化安...
分类:
其他好文 时间:
2014-10-01 23:13:01
阅读次数:
263
当最大连接数比較小时,可能会出现“1040 too many connection”错误。能够通过改动配置文件来改动最大连接数,但我连配置文件在哪都不知道,应该怎么办呢?首先须要重新启动mysql服务,运行命令:service mysql restart也有可能是:service mysqld re...
分类:
数据库 时间:
2014-10-01 15:02:21
阅读次数:
292
添加vim支持 plugins->browse repositories-> search "IdeaVIM"-> click "download and install" -> restart pycharm...
分类:
其他好文 时间:
2014-09-30 00:53:02
阅读次数:
785
常用命令整理如下:查看主板的序列号: dmidecode | grep -i ’serial number’用硬件检测程序kuduz探测新硬件:service kudzu start ( or restart)查看CPU信息:cat /proc/cpuinfo [dmesg | grep -i 'c...
分类:
系统相关 时间:
2014-09-28 23:48:46
阅读次数:
235
3 常用命令3.1. 启动ZK服务: bin/zkServer.sh start3.2. 查看ZK服务状态: bin/zkServer.sh status3.3 停止ZK服务: bin/zkServer.sh stop3.4. 重启ZK服务: bin/zkServer.sh restart 3.5 ...
分类:
其他好文 时间:
2014-09-28 12:18:41
阅读次数:
128
The full path to the file is ‘/etc/postfix/main.cf‘ Just add or modify your hostname and restart the postfix service by running ‘service postfix restart‘. Please note mydomain.net. is an invalid ho...
分类:
其他好文 时间:
2014-09-26 12:24:59
阅读次数:
614