Tag Archives: Ubuntu

How to upgrade MongoDB on Ubuntu Linux

I have tried a few ways to upgrade, including removing the current install, and then using apt-get to install the newest version, but the Ubuntu repositories are sometimes out of date, and also a few things have gone wrong.

Here is the method I prefer which involves manually downloading, unzipping and then copying the new binaries over the existing ones:

1.  Go to your temp directory : cd /tmp

2. Download the latest package from the MongoDB website to /tmp : sudo wget http://fastdl.mongodb.org/linux/mongodb-linux-x86_64-2.4.1.tgz

3. Unzip the package:  sudo tar -zxvf mongodb-linux-x86_64-2.4.1.tgz

4. Stop MongoDb – sudo service mongodb stop

5. Go to the folder where you just unzipped the files: cd /tmp/mongodb-linux-x86_64-2.4.1/bin

6. Copy the new files and overwrite the existing files: sudo cp -i * /usr/bin

7. Start the mongo service: sudo service mongodb start

8. Check that MongoDB is running and your MongoDB version : mongo

 

Installing Boinc on Ubuntu Linux to run seti@home

I decided to run Boinc on a spare P4 desktop I had laying around that has Ubuntu Linux installed on it for browser testing. I wanted to attach to the seti@home project and continue the search for aliens (well extraterrestrials anyway) which I am prone to do with spare systems.

I created a new folder called boinc in my home folder then I went to the Boinc website here and grabbed the latest client software.  You need permissions to be able to extract the archive, so right click and choose properties, then permissions and then click Execute: Allow executing file as a program then click on close.

I then double clicked on the file and extracted it and it created a folder called Boinc with the files in it. I then ran  Boincmger and added the Seti@homeproject and I was of and number crunching!