Ubuntu

Problems upgrading to Ubuntu 15.10

  1. A bad swap file entry in /etc/fstab stopped systemd from booting
  2. systemd did’t like my ssd optimizations:
    • tmpfs /var/lock tmpfs defaults,noatime,mode=0755 0 0 # had to be commented out
    • had to do: mkdir /etc/tmpfiles.d/console-kit.conf to stop another error message

See ubuntuforums.org/…owthread.php

and bbs.archlinux.org/…ewtopic.php for explanations

Kodi on Ubuntu 15.04

Installed basic Kodi 14 with:

add-apt-repository ppa:team-xbmc/ppa
apt-get update
apt-get install kodi
  • This was a recommended back-end to a tuner card, but have not tried it
apt-get install kodi-pvr-tvheadend-hts

Installing Foundation on a bare Ubuntu 14.04 system

Purpose of tools and their dependencies

  • Bower
    • Function: to keep web assets up to date
      • Updates local versions of CSS, JS and HTML (i.e.

Installing OwnCloud on Ubuntu 14.04

apt-get install openssh-server

Follow instructions on www.howtoforge.com/…untu-14.04

making particularly sure to follow them on the first setup screen when the database is chosen.

vi /etc/php5/apache2/php.ini and uncomment the line default_charset = "UTF-8"

service apache2 restart
  • optionally add a line in fstab to put the data somewhere else:
/data/owncloud  /var/www        none    bind    0 0

My Kubuntu 15.04 setup

Basic setup

echo 'apt update; apt dist-upgrade' > /root/up && chmod 700 /root/up
apt -y install openssh-server vim subversion git mysql-server
apt -y install gedit mysql-workbench
apt -y install python-mysqldb python-pip python-yaml
pip install python-redmine
apt -y install vlc wkhtmltopdf rdiff-backup evince keepassx
ln -sfn /usr/bin/wkhtmltopdf /usr/bin/wkhtmltopdf2 # alias for when more than one version is in use

Other software

  • install Chrome from

Installing Drupal on Ubuntu 16.04

  • Install LAMP stack
apt -y install openssh-server
apt -y install tasksel
tasksel install lamp-server
  • Some basic stuff

Compiling MLT (Melt)

The latest git version of the MLT framework can be downloaded and compiled as decribed here: www.mltframework.org/…dScripts

wget http://github.com/mltframework/mlt-scripts/raw/master/build/build-melted.sh
sudo apt-get install nasm libmp3lame0 libgavl1 libsox2 libqt4-gui libexif12 libvdpau1
sudo apt-get install libsamplerate0-dev libsdl1.2-dev qtdeclarative5-dev libogg-dev
sudo apt-get install git automake autoconf libtool intltool g++ yasm nasm swig libmp3lame-dev libgavl-dev libsamplerate-dev libxml2-dev ladspa-sdk libjack-dev libsox-dev libsdl-dev libgtk2.0-de

SSDs with Linux

Here are some good recommendations:

ffmpeg installation in Ubuntu

It’s important to remove any traces of the fake ffmpeg that Ubuntu unfortunately packages. You know you have it because if you run ffmpeg you get a vindictive message from former developers who left the project.

The official installation guide seems to be maintained regularly:

Some problems and solutions are here:

How To Migrate Linux Between Machines

There is an excellent article here: www.makeuseof.com/…en-machines

  • Create package list: dpkg --get-selections > ~/packagelist.txt
  • Mark packages for reinstallation on new system dpkg --set-selections < ~/packagelist.txt
    • This will mark all packages, but it won’t install them until you run:
  • apt-get -u dselect-upgrade
Syndicate content