随笔分类 - Linux
摘要:原地址: https://blog.csdn.net/u013256816/article/details/54743470 源码安装 安装依赖的包 yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel g
阅读全文
摘要:源地址:https://www.cnblogs.com/zoro-robin/p/6558132.html crond 是linux用来定期执行程序的命令。当安装完成操作系统之后,默认便会启动此任务调度命令。crond命令每分锺会定期检查是否有要执行的工作,如果有要执行的工作便会自动执行该工作。可以
阅读全文
摘要:1、下载php-redis zip安装包 https://github.com/nicolasff/phpredis 或我上传的 http://download.csdn.net/detail/musicrabbit/5865115 2、找到PHP安装路径 命令whereis phpize和wher
阅读全文
摘要:这篇文章演示了Makefile使用mysqlpp库和lua库的写法。 test.cpp: test.lua: Makefile:
阅读全文
摘要:这篇文章演示多目录,c,c++混编的Makefile写法。 文件夹: $dir/bin/ $dir/deps/ deps/inc/ deps/lib/ deps/src/ $dir/obj/ $dir/project/ project/test.mk $dir/src/ src/class1.cpp
阅读全文
摘要:funs.h: funs.c Makefile main.c 编译: gcc -o main.exe -lfuns -L/home/xt/test_lib main.c
阅读全文
摘要:1. test.cpp内容如下#include <boost/thread.hpp>void hello(){ std::cout << "i am a hello thread" << std::endl;}int main(void){ boost::thread _thread(hello); _thread.join(); getchar(); return 0;}2.g++编译a. 动态链接 我的boost装在/usr/xt/boost_1_53_0,所以编译指令如下g++ test.cpp -o test_dynamic -L
阅读全文
摘要:1.下载boost_1_53_0.tar.gz2. 把文件解压缩到~/,会生成~/boost_1_53_0文件夹3. 安装,这里就直接缺省完全安装了,反正硬盘大 cd ~/boost_1_53_0./bootstrap.sh./b2 安装完后,生成的lib文件就在~/boost_1_53_0/stage/lib中,可以考到/usr/lib中,也可以不拷4. 设置编译时要用到的include目录,链接是用到的lib目录,运行程序时用到的lib目录。
阅读全文
摘要:1.安装jre 当时手动安装时怎么都安装不上,只能自动安装,输入java -version 会出现要安装的软件名字,直接sudo apt-get install *** 就可以了。2.安装SDK 下载 eclipse-SDK-*-linux-jtk-tar.gz ,*是SDK的版本号,直接解压就可以了。3.安装CDT 下载cdt-master-*-zip,解压缩到~/eclipse/plugins。
阅读全文

浙公网安备 33010602011771号