05 2012 档案
摘要:在Linux环境下,就不同了。Visual Studio不用想了,地球人都知道是不可能的事。好用的只有Anjuta,KDevelop和Code::Blocks。本人偏爱Gnome,所以 KDevelop排除。Anjuta很久很久以前用过,很好用,但是搭配的是GTK。要跨平台开发,非Code::Blocks+wxWidgets莫属。 安装步骤: 1.先把编译环境,C库、C++库和Boost库装好 ,如下: sudo apt-get install libc6 libc6-dbg libc6-dev glibc-doc libstdc++6 libstdc++6-4.2-dbg libstdc++
阅读全文
摘要:sudo apt-get install 软件包 这个是更新你指定的软件包 sudo apt-get update 获取更新列表 sudo apt-get dist-upgrade 开始更新 ./configure的问题 错误: C compiler cannot create executables 原因: 解决:sudo apt-get gcc libc6-dev 错误:checking for C compiler default output... configure: error: C compiler cannot create executables 原因: 解决:sudo a.
阅读全文
摘要:VMware7.1.5虚拟机安装Ubuntu 11.10使用share folders共享目录 将虚拟机掉电关闭(不能暂停),设置share folders目录,重启虚拟机。 此时/mnt/hgfs目录仍然是空的。 应该sudo apt-get install open-vm-dkms,一路按enter键通过。 然后sudo mount -t vmhgfs .host:/ /mnt/hgfs,这样/mnt/hgfs下便有了与windows的共享目录。 为了每次开机自动挂载共享目录,在/etc/init.d/open-vm-tools末尾增加一行: sudo mount -t vmhgfs .h
阅读全文
摘要:1、首先备份Ubuntu源列表 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup 2、修改更新源 sudo gedit /etc/apt/sources.list (打开Ubuntu源列表文件) 3、将下面的代码粘贴进去#网易 Ubuntu 11.10 源deb http://mirrors.163.com/ubuntu/ oneiric main universe restricted multiverse deb-src http://mirrors.163.com/ubuntu/ oneiric main unive..
阅读全文
摘要:memcached官网 http://www.danga.com/memcached/ memcached windows官网 http://jehiah.cz/projects/memcached-win32/ memcached 1.2.0 for Win32为最新版,需libevent 1.2 Unzip the binaries in your desired directory (eg. c:\memcached) Install the service using the command: 'c:\memcached\memcached...
阅读全文
摘要:1、下载解压 下载地址:http://windows.php.net/download/ 需下载:VC9 x86 Thread Safe (2012-Feb-29 21:16:12),zip版的,否则没有php5apache2_2.dll文件。 暂时无法配置php5apache2_3.dll的!还没有找到解决方法╮(╯▽╰)╭ ~ 不过5.4自带2_2和2_3的。2、修改配置文件 先备份php.ini-development文件,然后再将原文件改名为:php.ini。打开php.ini修改以下参数:(1)、211行:short_open_tag = On;(2)、215行:asp_tags =
阅读全文
摘要:du -h -s du -h -s /* | sort 查看/ 目录下 所有文件夹大小命令 1.0K /lu1 1.1G /lu2 11M /lu3 2.2G /lu5 6.0M /lu56 6.9M /lu567 80M /lu5678 查看目录的大小 du -sh dirname -s 仅显示总计 -h 以k、m、g为单位,提高信息的可读性。kb、mb、gb是以1024为换算单 位, -h以1000为换算单位 以下是刚装好的RH9.0(全部) Linux目录大小参考: /usr 4.5G /usr/share 2.2G /usr/src 189M ...
阅读全文
浙公网安备 33010602011771号