2015年3月5日

linux下编译libmysqlclient, 安装mysql-server mysql-client

摘要: cmake . -DCMAKE_INSTALL_PREFIX=/home/zhangyawei/server/dependsmakemake install安装mysql-server mysql-clientgrant all privileges on *.* to root@'%' ident... 阅读全文

posted @ 2015-03-05 20:12 ffffffaaa 阅读(993) 评论(0) 推荐(0) 编辑

编译静态库tinyxml2

摘要: tinyxml的makefile文件默认是编译可执行的二进制文件xmltest. 需要改成静态库.更改OUTPUT := xmltest为:OUTPUT := libtinyxml.a删除SRCS:=tinyxml.cpp tinyxml-parser.cpp xmltest.cpp tinyxml... 阅读全文

posted @ 2015-03-05 19:48 ffffffaaa 阅读(978) 评论(0) 推荐(0) 编辑

linux下编译lua库

摘要: 编辑MakeFileINSTALL_TOP= /usr/local修改为目标install位置执行make linux make install如果提示依赖libreadline 可以直接apt-get install libreadline-dev 阅读全文

posted @ 2015-03-05 19:23 ffffffaaa 阅读(851) 评论(0) 推荐(0) 编辑

linux下编译静态库openssl

摘要: 先编译zlibcmake . -DCMAKE_INSTALL_PREFIX=/dependsmakemake install然后编译openssl./config zlib no-rc5 no-shared --prefix=/depends --with-zlib-include=/depends... 阅读全文

posted @ 2015-03-05 19:04 ffffffaaa 阅读(935) 评论(0) 推荐(0) 编辑

快速samba配置

摘要: apt-get install sambasmbpasswd -a user如果需要写权限[homes]read only = no 阅读全文

posted @ 2015-03-05 18:13 ffffffaaa 阅读(128) 评论(0) 推荐(0) 编辑

debian 切换最新源

摘要: deb http://ftp.cn.debian.org/debian sid main#deb http://ftp.debian.org/debian/ wheezy main 阅读全文

posted @ 2015-03-05 14:26 ffffffaaa 阅读(200) 评论(0) 推荐(0) 编辑

导航