Setting up the hosted developer workstation with Ubuntu

From OpenPetra Wiki
Jump to navigation Jump to search

Operating System and Remote Desktop

Operating System:

cat /etc/lsb-release
 DISTRIB_ID=Ubuntu
 DISTRIB_RELEASE=14.04
 DISTRIB_CODENAME=trusty
 DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

install software:

apt-get install lxde-core konsole
apt-get remove xscreensaver-data

#x2go
apt-get install software-properties-common
apt-add-repository ppa:x2go/stable
apt-get update
apt-get install x2goserver
mv /usr/bin/startkde /usr/bin/startkde.bak
ln -s /usr/bin/startlxde /usr/bin/startkde

Development environment

# see http://www.monodevelop.com/download/linux/#debian-ubuntu-and-derivatives
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
apt-get update
apt-get install monodevelop monodoc-browser mono-xsp nunit
apt-get install nant uncrustify postgresql pgadmin3 konversation hexchat geany nant meld git-core git-cola firefox

Git integrated in context menu of Thunar, file manager:

echo 'deb http://ppa.launchpad.net/rabbitvcs/ppa/ubuntu trusty main' > /etc/apt/sources.list.d/rabbitvcs.list
apt-get update
apt-get install rabbitvcs-thunar thunar-vcs-plugin gnome-icon-theme-full
# small fix
ln -s /usr/lib/x86_64-linux-gnu/libpython2.7.so.1.0 /usr/lib

sql2diagram, for nant dbdoc:

echo 'deb http://download.lbs.solidcharity.com/repos/tpokorra/openpetra/ubuntu/trusty/ /' >> /etc/apt/sources.list
apt-get update
apt-get install sql2diagram