Making ubuntu better
Fonts
sudo rm /etc/fonts/conf.d/10*
sudo dpkg-reconfigure fontconfig
NETWORK
# If network-manager is installed, stop it and purge it from the system:
sudo update-rc.d NetworkManager remove
sudo aptitude purge network-manager network-manager-gnome
# Edit: /etc/resolve.conf
domain kybi
search kybi
nameserver 172.17.4.166
# To have Internet while kev is down, edit: /etc/network/interfaces
# NOTE: Your active network card may be different from eth0.
# Analyze the output of ifconfig to see which card is in use
# In your system.
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
# Also, add the following line to /etc/dhcp3/dhclient.conf
append domain-name-servers 172.17.0.1,172.17.0.10;
# Restart network services:
sudo /etc/init.d/networking restart
# If you still have the NetworkManager deamon in the
# notification area, reboot and it will be gone.
NTP
sudo apt-get install ntp
# Edit: /etc/ntp.conf
# change server config line to: server kev
sudo nano /etc/ntp.conf
# Restart ntp daemon.
sudo /etc/init.d/ntp restart
Idkaart
Info from viki.pingviin.org. In short:
sudo add-apt-repository ppa:boamaod/ubuntu-idkaart
sudo apt-get update
sudo apt-get install ubuntu-idkaart-allikad
sudo apt-get install ubuntu-idkaart-paigaldus
Info and packages also available from id.eesti.ee
(removed).
Source code now on http://code.google.com/p/esteid/. Debian/Ubuntu packages maintained by smartlink.ee from
deb ftp://ftp.smartlink.ee/pub/id/release/debian lenny main
deb-src ftp://ftp.smartlink.ee/pub/id/release/debian lenny main
deb ftp://ftp.smartlink.ee/pub/id/release/ubuntu lucid main
deb-src ftp://ftp.smartlink.ee/pub/id/release/ubuntu lucid main
Scientific software
sudo chown -R `whoami`:`whoami` /usr/local
sudo apt-get install subversion gfortran libatlas-base-dev liblapack-dev python-dev \
libwxgtk2.8-dev python-wxgtk2.8 python-gtk2-dev texlive auctex dvipng ipython \
libfftw3-dev bzr libtiff4-dev
sudo apt-get remove python-numpy python-scipy
mkdir -p ~/svn
cd ~/svn
svn co http://svn.scipy.org/svn/numpy/trunk numpy
cd numpy && python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr/local
cd ~/svn
svn co http://svn.scipy.org/svn/scipy/trunk scipy
cd scipy && python setup.py config_fc --fcompiler=gnu95 install --prefix=/usr/local
cd ~/svn
svn co https://matplotlib.svn.sourceforge.net/svnroot/matplotlib/trunk/matplotlib
cd matplotlib
python setup.py # make sure that all dependecies are found
python setup.py install --prefix=/usr/local
cd ~/svn
svn checkout http://iocbio.googlecode.com/svn/trunk/ iocbio
cd iocbio
python setup.py install --prefix=/usr/local install_scripts
cd ~/svn
svn checkout http://pylibtiff.googlecode.com/svn/trunk/ pylibtiff
cd pylibtiff
python setup.py install --prefix=/usr/local install_scripts
mkdir -p ~/bzr
cd ~/bzr
bzr branch lp:pyfftw
cd pyfftw
python setup.py install --prefix=/usr/local/
# enthought software
sudo apt-get install python-dev libxtst-dev scons python-vtk pyqt4-dev-tools python2.6-wxgtk2.8 python-configobj
mkdir ETS; cd ETS
wget https://svn.enthought.com/enthought/browser/ETS/trunk/ets.py?format=txt
python ets.py co
python ets.py install # or python ets.py python setup.py install --prefix=/usr/local
Automatic Updates
Info from help.ubuntu.com/10.04/serverguide/C/automatic-updates.html. In short:sudo apt-get install unattended-upgrades
# For 10.04 Ubuntu:
# Edit /etc/apt/apt.conf.d/50unattended-upgrades
# to read:
Unattended-Upgrade::Allowed-Origins {
"Ubuntu lucid-security";
"Ubuntu lucid-updates";
};
# Edit /etc/apt/apt.conf.d/10periodic
# to read:
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "1";
APT::Periodic::AutocleanInterval "7";
APT::Periodic::Unattended-Upgrade "1";
SUBVERSION
Make sure that the file /etc/subversion/config has the following line under the [miscellany] section:
global-ignores = *.aux *.blg *.log *.dvi *.bbl *.o *.lo *.la *.al .libs *.so *.so.[0-9]* *.a *.pyc *.pyo *.rej *~ #*# .#* .*.swp .DS_Store
Owncloud
To install owncloud client, follow instructions in
http://software.opensuse.org/download/package?project=isv:ownCloud:devel&package=owncloud-client
To use cloud.ioc.ee, use Trips login credentials:
owncloud # follow the wizard to enter login information for cloud.ioc.ee
# This will create a ownCloud directory to ~.
Note that at first login owncloud fails to mount cloud directory. You should quit owncloud (see cloud menu) and start it again. The mounting will work.