# add the mongodb repository to /etc/apt/sources.list sudo bash -c "echo 'deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen' >> /etc/apt/sources.list" # add 10gen's GPG key so that aptitude will trust the repository sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 # Update aptitude's list of available packages sudo apt-get update # Install mongodb <img src="http://nopolabs.com/wp-includes/images/smilies/icon_smile.gif " alt=":)" class="wp-smiley"> sudo apt-get install mongodb-10gen
Ubuntu 10.04 安装 mongodb-2.0
猜你喜欢
转载自a280606790.iteye.com/blog/1287397
今日推荐
周排行