摘要:
由于是在做mongoDB的实验中再一次的遇到了mongos路由节点同步时由于ntp时间的问题导致同步非常的慢。故写了个时间同步的语句===>while :; do rdate -s 192.168.109.129; sleep 2s; done > /dev/null 2>&1 &rdate: co... 阅读全文
摘要:
[root@i158 ~]# ntpdate -u time.uuwatch.com 9 Jul 11:18:50 ntpdate[853]: no server suitable for synchronization found[root@i158 ~]# ntpdate -d time.uuw... 阅读全文
摘要:
groupadd-g, --gid GID The numerical value of the group′s ID. This value must be unique, unless the -o option is used. The value mu... 阅读全文
摘要:
2.找出普通用户s212 data # cat /etc/passwd|awk -F: '{if($3>499)print $0}'nobody:x:65534:65534:nobody:/:/bin/falseuuwatch:x:1000:10::/home/uuwatch:/bin/bash1... 阅读全文
摘要:
以后大家升级rpm包的时候,不要用Uvh了!我推荐用Fvh前者会把没有安装过得包也给装上,后者只会更新已经安装的包总结:未安装的加上小写p,已安装的不需要加p 查询qrpm {-q|--query} [select-options] [query-options]RPM的查询功能是极为强大,是极为重... 阅读全文