Monday, December 29, 2014

Friday, November 14, 2014

likewise-open (pbis open, power broker) install samba interop

Using the
net -U <username> ads join
will break PowerBrokers connection to AD. For example, you may find that your AD accounts may longer be able to SUDO.
The proper way to link SAMBA to AD via PowerBroker is this:
samba-interop-install --install
Follow the official documentation from

http://download1.beyondtrust.com/Technical-Support/Downloads/files/pbise/Manuals/PBIS_Samba_Integration_Guide_V8.0.pdf



Tuesday, November 4, 2014

Install Apache Maven 3.2 on Ubuntu



sudo add-apt-repository ppa:natecarlson/maven3
sudo apt-get update
sudo apt-get install -y maven3

echo "export PATH='/usr/share/maven3/bin':$PATH " >> ~/.bashrc
echo "export JAVA_HOME=/usr/lib/jvm/java-7-oracle " >> ~/.bashrc

Friday, October 31, 2014

Install Eclipse Luna on Ubuntu 12.04

Download latest Eclipse from

https://www.eclipse.org/downloads/
tar xvzf eclipse-java-luna-SR1-linux-gtk-x86_64.tar.gz
sudo mv eclipse /opt

sudo vi  /usr/share/applications/eclipse.desktop

[Desktop Entry]
Name=Eclipse 
Type=Application
Exec=/opt/eclipse/eclipse
Terminal=false
Icon=/opt/eclipse/icon.xpm
Comment=Integrated Development Environment
NoDisplay=false
Categories=Development;IDE;
Name[en]=Eclipse Luna

Thursday, October 30, 2014

Delete all files matching certain text

# Delete all .desktop files matching pattern pycharm

sudo find / -iname '*.desktop' -exec grep -l pycharm \{\} \; | xargs rm

Monday, October 27, 2014

fixing installation of udf in firebird 2.5

We need to uncomment the line with value 'Restrict UDF'

For some reason it is supposed to be the default but it is not.

Friday, October 24, 2014

Toggle between keyboard layouts in Debian Wheezy LXDE

 echo '@setxkbmap -option grp:alt_shift_toggle "us,es"' | sudo tee -a /etc/xdg/lxsession/LXDE/autostart