安装MongoDB: sudo apt-get install mongodb-10gen

MongoDB(我的是V2.4.1)安装完成后,默认即已经设为开机启动的deamon进程。可以通过pstree -p | grep mongod 或 ps -de | grep mongod 等查看当前进程。

配置文件:/etc/mongodb.conf

开机启动:/etc/init.d/mongodb

数据(data)目录:/var/lib/mongodb

日志(log)目录:  /var/log/mongodb

 

启动:sudo service mongodb start

停止:sudo service mongodb stop

重启:sudo service mongodb restart

 

 

boost安装:

直接 sudo apt-get install libboost-all-dev

  aptitude search boost

找到合适的包后用 apt-get安装.

 

 

Mac下安装SCons

Download the tarball and then refer to the first chapter of the user guide, Building and Installing SCons. In short:

# cd scons-2.3.0

# python setup.py install

 

linux下安装SCons:

 scons platform=linux-gcc

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-09-16
  • 2021-10-05
  • 2022-12-23
  • 2021-07-19
  • 2021-10-15
猜你喜欢
  • 2021-11-13
  • 2021-07-27
  • 2022-01-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-24
相关资源
相似解决方案