摘要:1.Fedora中使用ibus来管理输入法a.检查ibus是否已经安装sudo yum install ibussudo yum install ibus-sunpinyinb.设置默认启动ibus在fedora 17的桌面依次点击【Activities】->【Applications】,然后点击右边列表下面的【Other】,接着选择【Input Method Selector】;选择Use ibus,logout以后即可生效。c.点击【 Use IBus】后面的【Preferences】,就可以设置输入法了。2.界面显示的中文字体有大有小使用英文的Fedora17系统时,中文字体显示的
阅读全文
摘要:root@server ~]# free -mtotal used free shared buffers cachedMem: 249 163 86 0 10 94-/+ buffers/cache: 58 191Swap: 511 0 511其中:total 内存总数used 已经使用的内存数free 空闲的内存数shared 多个进程共享的内存总额buffers Buffer Cache和cached Page Cache 磁盘缓存的大小-buffers/cache 的内存数:used - buffers - cached+buffers/cache 的内存数:free + buffer
阅读全文
摘要:应用patch时,最好不要使用master分支,用其他同步的分支处理后再merge到master中,确保安全。1.$ git am 0001-XXX.patch(错误信息如下)...When you have resolved this problem run "git am --resolved".If you would prefer to skip this patch, instead run "git am --skip".To restore the original branch and stop patching run "gi
阅读全文
摘要:关闭IPv6 可以加快DNS 解析速度,对上网有一定的加速效果。方法:打开终端,运行以下三条命令:#echo –e “install ipv6 /bin/true\nblacklist ipv6” > /etc/modprobe.d/blacklist–ipv6.conf#service ip6tables stop#chkconfig ip6tables off提醒:这个方法适用于Fedora 、CentOS 、Redhat 和它们的衍生版,不适用于其他的Linux发行版。Fedora14及Redhat6中都没有/etc/modprobe.conf文件。
阅读全文