- 博客(10)
- 收藏
- 关注
原创 TinyXML应用小结
下载地址:http://www.grinninglizard.com/tinyxml/ 类图结构如下: 一、相关类的主要方法及使用1. TiXmlBase int Row() const; int Column() const; void SetUserData( void* user ); void* GetUserData();
2011-12-06 21:10:01
945
原创 编译ACE
ACE主页:http://www.cs.wustl.edu/~schmidt/TAO.htmllinux下编译ACE解压,如/home/kdjie/ACE_wrappers,配置ACE_ROOT环境变量(vim .bashrc)export ACE_ROOT=/home/kdjie/ACE_wrappersexport LD_LIBRARY_PATH=$ACE_ROOT/ace:$
2011-11-13 21:27:45
539
原创 ubuntu rc启动过程
ubuntu采用upstart来装载rc脚本/sbin/init启动后,装载/etc/init/*.conf服务涉及rc的三个重要脚本:rc-sysinit.confrcS.confrc.confrc-sysinit.conf{ env DEFAULT_RUNLEVEL=2 尝试读取/etc/inittab的runlevel配置(id:2;ini
2011-10-30 09:25:23
669
原创 安装gdb insight(6.8.1)
如果之前安装过6.8或其它版本,请先删除以下目录rm -rf /usr/local/insightrm -rf /usr/share/tcltk如果之前设置过环境变量,也请删除unset TCL_LIBRARYunset ITCL_LIBRARY安装insight,ubuntu 10不能apt-get install安装,只能下载源码编译安装,
2011-10-24 21:00:02
2543
原创 ubuntu下apache2+php+msql安装配置
1. 安装mysql sudo apt-get install mysql-server 2. 安装apache2 sudo apt-get intall apache2 3. 安装php5 sudo apt-get install php5 sudo apt-get install libapache2-mod-php5 重启ap
2011-10-23 21:32:35
356
原创 ubuntu下nginx安装配置
安装nginxsudo apt-get install nginx安装phpdeb http://ppa.launchpad.net/nginx/stable/ubuntu lucid maindeb http://ppa.launchpad.net/brianmercer/php/ubuntu lucid maindeb-src http://ppa.launchpad.ne
2011-10-19 22:22:47
529
原创 Ubuntu下Eclipse安装及使用
一、安装1.1 安装JRE运行环境 编辑 sudo vim /etc/apt/sources.list,加入源: deb http://archive.canonical.com/ lucid partner sudo apt-get update sudo apt-get install sun-java6-jre 1.2 下载eclipse CDT
2011-10-02 20:18:44
1037
原创 Makefile通用模板
下面是Makefile文件的一个通用模板,包括了Release和Debug目标生成、自动依赖性计算-------------------------------------------------------------------------------------- #Debug目标和Release目标TARGET = libTinyXML.aTARGET_R
2011-06-12 20:57:00
531
原创 SYSLOG-NS 应用
应用1:将syslog产生的日志,根据进程名分离输出到不同的文件首先,在option中增加一行设置options { ...... # enable or disable directory creation for destination files create_dirs(yes);};源:source s_src { unix-dgram("/dev/log"); internal(); file("/proc/kmsg" program_ov
2011-05-07 17:17:00
459
原创 ubuntu 10.04降级安装gcc-4.2/g++-4.2
我用的ubuntu10.04,默认安装gcc/g++-4.4,但是工作需要,需要降级安装4.2版本;sudo apt-get install gcc-4.2提示没有软件提供者;简单,可以修改/etc/apt/source-list,添加添加8.04的源:deb http://mirrors.163.com/ubuntu/ hardy main restricted universe multiversedeb http://mirrors.163.com/ubuntu/ hardy-security mai
2011-04-17 22:08:00
2736
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人