随笔分类 -  linux

linux的学习心得
OcciWrapper使用指南(高性能Oracle访问组件)
摘要:occiwrapper使用指南 occiwrapper是一个开源的、跨平台的Oracle访问组件, 方便C++开发者们灵活地操作oracle数据库。为了方便使用,组件中的接口形式参考的POCO库的使用方式。occiwrapper采用如下的形式执行SQL语句:1 occiwrapper::S... 阅读全文
posted @ 2014-12-25 17:57 CUCmehp(likesmiles) 阅读(2236) 评论(0) 推荐(0)
QT in Ubuntu cannot find -lfreetype
摘要:collect2 返回1 解决方是安装缺省的包:sudo apt-get install libglib2.0-dev libSM-dev libxrender-dev libfontconfig1-dev libxext-dev 阅读全文
posted @ 2009-10-08 17:07 CUCmehp(likesmiles) 阅读(421) 评论(1) 推荐(0)
ubuntu 9.04 安装mysql
摘要:sudo apt-get install mysql-server mysql-client安装开发包sudo apt-get install libmysqlclient15-dev查看mysql的运行:netstat -tap|grep mysql当运行该命令时,可以看到类似下面的行: tcp 0 0 localhost.localdomain:mysql *:* LISTEN - 如果服务器... 阅读全文
posted @ 2009-10-08 15:54 CUCmehp(likesmiles) 阅读(403) 评论(0) 推荐(0)
ubuntu下查看C的api
摘要:老是记不住,写在博客里吧sudo apt-get install manpages-dev 阅读全文
posted @ 2009-10-07 15:17 CUCmehp(likesmiles) 阅读(248) 评论(0) 推荐(0)
ubuntu C++下测试mysql的代码
摘要:ubuntu C++下测试mysql的代码[代码] 阅读全文
posted @ 2009-10-03 13:11 CUCmehp(likesmiles) 阅读(339) 评论(0) 推荐(0)
ubuntu 9.04解决flash中文乱码问题
摘要:cd /etc/fonts/conf.d/sudo cp 49-sansserif.conf 49-sansserif.conf_backupsudo rm 49-sansserif.conf 阅读全文
posted @ 2009-10-03 10:05 CUCmehp(likesmiles) 阅读(294) 评论(0) 推荐(1)
Linux下C++访问mysql出现函数undefined reference
摘要:原因是没有把链接库引进来,解决方法是g++ src.cc -o src.out -L/usr/lib/mysql -lmysqlclient -lz一般在makefile的LIBS尾部加入-L/usr/lib/mysql -lmysqlclient -lz 阅读全文
posted @ 2009-10-03 00:13 CUCmehp(likesmiles) 阅读(241) 评论(0) 推荐(0)
How to open root for ubuntu
摘要:There'are two steps.First, type "sudo passwd root"Second, system->sytem manager->login window. check Allow local system administrator login selected!that will be Ok! 阅读全文
posted @ 2009-09-30 20:06 CUCmehp(likesmiles) 阅读(227) 评论(0) 推荐(1)
转:手把手教你把Vim改装成一个IDE编程环境(图文)
摘要:转个blog:http://blog.csdn.net/wooin/archive/2007/10/31/1858917.aspx 阅读全文
posted @ 2009-09-23 09:22 CUCmehp(likesmiles) 阅读(297) 评论(0) 推荐(0)
转:Omnet++ 4.0 installation for Ubuntu
摘要:转自:Omnet仿真 周大牛的博客:http://hi.baidu.com/yilaguankey/blog/item/4b913d808ae49ddf9023d9b2.htmlOmnet++ 4.0 installation for Ubuntu :$ sudo apt-get install build-essential$ sudo apt-get install bison flex bl... 阅读全文
posted @ 2009-08-11 11:44 CUCmehp(likesmiles) 阅读(890) 评论(3) 推荐(0)