Monthly Archives: April 2014

Eclipse: install new software does not work

I try to install additional plugins in Eclipse Kepler SR2 from Help -> Install New Software menu. I select a site or type filter text,  but nothing happened, the selection window remains blank. Internet works fine on my machine as well as Help -> Eclipse Market Place menu.

Solution: close eclipse, go to eclipse workspace folder and remove the following file:
.metadata/.plugins/org.eclipse.equinox.p2.ui/dialog_settings.xml

Install PostgreSQL on Ubuntu

Today I installed one more PostgreSql on one more Ubuntu. That’s why I decided to memorize my steps here for quick reference.

Install postgresql and related packages

Type in terminal:
sudo apt-get install postgresql postgresql-contrib
sudo apt-get install pgadmin3

Setting password for postgres user

To set password for postgres user, open psql command prompt:
sudo -u postgres psql postgres
Type command
\password postgres
type password twice when prompted and please don’t forget it 🙂
press ctrl-D to exit

Continue reading

Install Hadoop on Ubuntu

The best article of Hadoop installation I found is http://codesfusion.blogspot.ru/2013/10/setup-hadoop-2x-220-on-ubuntu.html 

I adopted it a little for my configuration: Ubuntu 14.04, Hadoop 2.2.0 single node, JDK 6. Not latest versions of Java and Hadoop but I had to reproduce existing production system.  

My steps are:

Install prerequisites

JDK 6 and ssh:

$ sudo apt-get install oracle-java6-installer
$ sudo apt-get install python-software-properties
$ sudo add-apt-repository ppa:webupd8team/java
$ sudo  apt-get update
$ sudo apt-get install oracle-java6-installer
$ sudo apt-get install ssh

Continue reading

Eclipse menu does not appear in Ubuntu 14.04

Tested with Ubuntu 14.04, Eclipse Kepler SR2

Eclipse itself works fine but menus File, Edit etc. does not open and cut off.

To fix this, open eclipse.desktop file for edit. It's located at

~/.local/share/applications/eclipse.desktop

or at /usr/share/applications/eclipse.desktop

Find the line Exec=… and replace the whole line with

Exec = env UBUNTU_MENUPROXY = /opt/eclipse/eclipse

replace /opt/eclipse/eclipse with a path to your Eclipse.