user-avatar
Today is Thursday
March 28, 2024

Tag: ubuntu

April 8, 2015

Setting up Geowave and integrating it with GeoServer for the development environment

Geowave is a library used to store, index and analyze geospatial data on top of Accumulo which is a free software implementation of Google’s Big Table. Accumulo in turn makes use of Zookeeper to handle distributed synchronization and uses Hadoop FileSystem for distributed and scalable storage of the data. Geowave decomposes multi-dimensional data to single dimensional data using a transformation called as Space Filling Curves. GeoServer is a java based server which provides a platform to view and edit geospatial data. Hence at an abstract level, we can summarize that the data which is transformed by goewave and stored(ingested) in Accumulo can be extracted and viewed from geoserver.
Following article will explain how we can setup the system to have Geowave and Geoserver working with Accumulo for a development environment.

Part 1: (more…)

September 22, 2014

No more reinstall campaign #AvoidedReinstall

by viggy — Categories: FOSS, FSMK, linux, ubuntu — Tags: , , , , , , , Leave a comment

How often do you screw your GNU/Linux based system such that you decide to reinstall your system? Are you the go-to person in your group for any issues with any GNU/Linux based OS? How often do you suggest to people who come to you that there is no other way to recover than re-installing?

I have been helping people to migrate to GNU/Linux based distribution, mainly Ubuntu. And its quite often that I come across people who while doing something or other have messed their system and need to help to fix it up. More than often, I used to give up quite quickly and ask them to take a backup using live-boot and reinstall the system. Many times, I would just search for first error I noticed and see if I could get solution online and if that didnt work give up and ask to reinstall. Though this is quick, it actually meant that I wasnt learning anything new. It also meant that many things in Ubuntu which might have been actual bugs might not be getting noticed due to this.  And it also contradicted one of the popular examples I used to mention as to why Free Software is better than proprietary? Have you noticed the Blue Screen of Death, Can you fix it on Windows? Because Free Software allows you to study it and play with it, you can know why your system has actually crashed and try to understand how to fix it. Really? How often do we do that?

Hence I have decided to start this self-campaign and if possible motivate others to also follow it where in I put my maximum whenever I come across a messed up system to recover it without reinstall. The way the success of this campaign will be judged is by maximum number of systems I can avoid reinstall before coming across a system I am forced to reinstall as I cant find any other way around it. Hopefully as time goes on, the gap between every two systems forced to reinstall will increase which would mean I am improving/learning and avoiding many more systems from re-install.

I am already successful in doing it for 1 system. Hoorrrraaaayyyy!!!!! Hence #AvoidedReinstall 1 I spent 3 nights on it, close to 8-10 hours in all but finally it is recovered and system is now working without having to re-install Ubuntu. Hope to find sometime and blog about it also.

 

June 24, 2010

GPG key error while doing apt-get update

by viggy — Categories: ubuntu — Tags: , , , 2 Comments

I had entered a new repository path in my sources.list file and hence I did

sudo apt-get update

However I got the following error:

W: GPG error: http://hudson.gotdns.com binary/ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 9B7D32F2D50582E6
W: GPG error: http://ppa.launchpad.net lucid Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 10975893E549B1AC

When I looked for a solution on internet, I found the following solution to add the gpg key in my system.

NOTE: This can only be done by a root user, hence in Ubuntu, u will have to do sudo su before executing these commands.

root@vignesh-laptop:gpg --keyserver pgpkeys.mit.edu --recv-key 9B7D32F2D50582E6
gpg: requesting key E549B1AC from hkp server pgpkeys.mit.edu
gpg: key E549B1AC: public key "Launchpad yorba" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

This will request key from the server mentioned in –keyserver and display whose public key it is.

After this execute the following command. This will store the the gpg key in your system as a trusted gpg.

root@vignesh-laptop:/home/vignesh# gpg --armor --export 10975893E549B1AC | apt-key add -
OK

Now do
sudo apt-get update
to successfully update from the newly added repositories.

November 13, 2009

How To Check Which Software Package Is Using More Space

by viggy — Categories: linux, tech, ubuntu — Tags: , , , , Leave a comment

Courtsey: http://www.unnionline.com/blog/?cat=9

If you’re running out of disk space and you want to quickly see what packages are using the most space on your hard drive, use the following command

dpkg-query –show –showformat=’${Package;-50}t${Installed-Size}n’ | sort -k 2 -n | grep -v deinstall | awk ‘{printf “%.3f MB t %sn”, $2/(1024), $1}’

That will sort the packages by size, putting the largest ones on the bottom. If you only want to see the top few, you can type

tail -n 10

at the end, because in all likeliness you have a *lot* of packages installed