博客园 首页 新随笔 联系 订阅 管理

2013年7月25日 #

摘要: From: http://hi.baidu.com/spmno/item/9425018707f295dfd1f8cdbe1. Project->Properties,然后选 C/C++ Build->Settings->Tool Settings,标签页里面选 GCC C++ Complier,这个项目下选择Miscellaneous,把`pkg-config --cflags gtk+-2.0`填入other flags栏目的最后面,要用空格与前面隔开。2. 同上面一样的标签页里选GCC C++ Linker,选择Miscellanous,把`pkg-config --l 阅读全文
posted @ 2013-07-25 04:58 ZhanGSKen163 阅读(696) 评论(0) 推荐(0) 编辑

2013年7月19日 #

摘要: From: http://blog.csdn.net/lchengcome/article/details/6715591From: http://bbs.chinaunix.net/thread-3753562-1-1.html第一步:下载内核源码:http://www.kernel.org/pub/linux/kernel# cp linux-3.10.tar.xz /usr/src/linux-3.10.tar.xz# tar -xf linux-3.10.tar.xz# cd /usr/src/linux-3.10第二步:开始编译清理以前的编译痕迹# make mrproper# ma 阅读全文
posted @ 2013-07-19 15:40 ZhanGSKen163 阅读(1006) 评论(0) 推荐(0) 编辑

2013年7月18日 #

摘要: From: http://zhidao.baidu.com/question/530358126.htmlFrom: http://hi.baidu.com/billdkj/item/464fb84343090d94833ae1261. 到http://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html下载epel-release-6-8.noarch.rpm安装。可到http://fedoraproject.org/wiki/EPEL查阅。2. su 转到 root,执行yum install wine. 阅读全文
posted @ 2013-07-18 13:15 ZhanGSKen163 阅读(2953) 评论(0) 推荐(0) 编辑

2013年7月16日 #

摘要: 【CentOS 6】1.在官网下载VirtualBox-4.2-4.2.16_86992_el6-1.x86_64.rpm安装。2.YUM安装kernel-devel包。3.把用户加入vboxusers中。[Archlinux][zsj@Arch ~]$ sudo pacman -S virtualbox[zsj@Arch ~]$ sudo pacman -S vde2[zsj@Arch ~]$ sudo pacman -S virtualbox-sdk[zsj@Arch ~]$ sudo pacman -S net-toolsFrom: https://wiki.archlinux.org/ 阅读全文
posted @ 2013-07-16 11:49 ZhanGSKen163 阅读(342) 评论(0) 推荐(0) 编辑

2013年6月21日 #

摘要: From: http://www.iteye.com/topic/599648中国国家授时中心:http://www.time.ac.cn/stime.asp其他网络时间服务器地址如下:(也可以自己去搜索下)time.nist.gov (美国)ntp.fudan.edu.cn (复旦) )(国内用户推荐使用此服务器)timekeeper.isi.edusubitaneous.cpsc.ucalgary.causno.pa-x.dec.comtime.twc.weather.comswisstime.ethz.chntp0.fau.dentp3.fau.detime-a.nist.govtime 阅读全文
posted @ 2013-06-21 01:22 ZhanGSKen163 阅读(696) 评论(0) 推荐(0) 编辑

2013年6月14日 #

摘要: From: http://www.win7china.com/html/4975.html0. 关闭所有应用程序;1. 按一下“Windows”键,输入“计算机管理”之后按“Enter”,呼出“计算机管理器”;2. 鼠标点击“Administrator”,选择属性,而后在随后的对话框中去掉“帐户已禁用”之前的勾,而后关闭“计算机管理器”;3. 注销当前用户(注意,不是“切换用户”),而后以“Administrator”登录4. 打开命令行窗口,输入以下命令:robocopy "C:\Users" "D:\Users" /E /COPYALL /XJ /X 阅读全文
posted @ 2013-06-14 05:25 ZhanGSKen163 阅读(613) 评论(0) 推荐(0) 编辑

2013年5月31日 #

摘要: From: http://hi.baidu.com/tangzzhh/item/0ece124e2b6904ed1e19bcfb1.vi /etc/inittab把“id:3:initdefault:”改成“id:5:initdefault:”2.vi /etc/gdm/custom.conf在[daemon]段下添加以下配置。AutomaticLoginEnable = trueAutomaticLogin = username3.reboot.注:有时候你可能还有这样的要求,希望出现登录画面,让你可以选择登录别的用户,但是在一定时间内(我们以10秒为例),用户没有选择别的用户登录,那么 就 阅读全文
posted @ 2013-05-31 02:00 ZhanGSKen163 阅读(447) 评论(0) 推荐(0) 编辑

2013年5月25日 #

摘要: 调用程序时候传入代理参数。如:"D:\Program Files\Google\Chrome\Application\chrome.exe" --proxy-server=127.0.0.1:8087 阅读全文
posted @ 2013-05-25 02:42 ZhanGSKen163 阅读(108) 评论(0) 推荐(0) 编辑

2013年1月21日 #

摘要: 切换的时候要disable原先的管理器。如:systemctl disable kdm.servicesystemctl enable gdm.service 阅读全文
posted @ 2013-01-21 00:14 ZhanGSKen163 阅读(767) 评论(0) 推荐(0) 编辑

2012年12月20日 #

摘要: 安装命令:1.安装到MBR:grub-install /dev/sda2.安装到第二个主分区:grub-install /dev/sda2 --force更新命令:grub-mkconfig -o /boot/grub/grub.cfg配置文件:/etc/default的grub文件和/etc/gurb.d目录下的脚本文件 阅读全文
posted @ 2012-12-20 02:06 ZhanGSKen163 阅读(1886) 评论(0) 推荐(0) 编辑