摘要: 要有boost库。1.download cxx-driver for 1.8,unzip to /usr/src folder2.sudo apt-get install libpcre3-dev3.sudo apt-get install sconschenshu@chenshu-ubuntu:/usr/local/src/mongo-cxx-driver-v1.8$rm -f .sconsign.dblite scons --prefix=/usr install4.sudo cp libmongoclient.* /usr/local/lib/sudo cp libmongoclient 阅读全文
posted @ 2011-09-03 16:50 反正我信了 阅读(314) 评论(0) 推荐(0)
摘要: 为什么需要NginxCppCMS自己已经支持Http访问,为什么还需要Nginx.一些原因是我们需要动态负载平衡,还有原因是安全问题。下面的文字来自于CppCMS站点。CppCMS provides basic implementation of HTTP protocol and thus it can run behind reverse HTTP Proxy. But this option is not recommended for use in production environment unless HTTP protocol is fully sanitized by the 阅读全文
posted @ 2011-09-03 11:01 反正我信了 阅读(1370) 评论(0) 推荐(0)