Wednesday, January 28, 2015

Keep http_proxy environment variable when using sudo

Add this in visudo

Defaults env_keep +="http_proxy"
Defaults env_keep +="https_proxy"
Defaults env_keep +="ftp_proxy"

Tuesday, January 20, 2015

Adding a proxy to maven3

Create the file ~/.m2/settings.xml with the contents


<settings>
  <proxies>
   <proxy>
      <active>true</active>
      <protocol>http</protocol>
      <host>fw1</host>
      <port>3128</port>
    </proxy>
  </proxies>
</settings>

Thursday, January 15, 2015

Use synapse to search in Lubuntu


First install Synapse


sudo add-apt-repository ppa:synapse-core/ppa
sudo apt-get update
sudo apt-get install synapse


Now bind Synapse to the Super_L key alone

First remove any super key bindings e.g. <super>+p is a common one for screen settings
Then close Synapse
In ~/.config/hotkeys/synapse.hotkeys
change
Signature=<Control>space
to
Signature=Super_L
Relaunch Synapse

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