Difference between revisions of "Ubuntu Standard LTS installation procedures"
From Blue-IT.org Wiki
(→Gobi 2000) |
(→Music, Video and Codecs) |
||
Line 216: | Line 216: | ||
gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer1.0-plugins-base \ | gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer1.0-plugins-base \ | ||
gstreamer1.0-plugins-good gstreamer0.10-plugins-bad-multiverse | gstreamer1.0-plugins-good gstreamer0.10-plugins-bad-multiverse | ||
+ | |||
+ | The package ''ffmpeg'' is not existant any more. | ||
+ | |||
+ | * http://linuxg.net/how-to-install-ffmpeg-2-1-ubuntu-13-10-13-04-12-10-linux-mint-16-15-14-and-pear-os-8-7/ | ||
+ | |||
+ | Instead: | ||
+ | sudo apt-get install libav-tools libavdevice-extra-53 libswscale-extra-2 | ||
=== Photo === | === Photo === |
Revision as of 20:04, 22 January 2014
Contents
Trusty Installation
SSD
IMPORTANT: concerning overprovisioning
If you like to use overprovisioning with an encrypted system, you have to use the alternate install cd and manually partition your drive.
The standard installation procedure will use the whole disk space. To use overprovisioning leave a few GB space at the end of the ssd.
vim for system edit
sudo apt-get install vim sudo /etc/vim/vimrc sudo update-alternatives --config editor
apt-get udate && apt-get dist-upgrade
Ubuntu bugs
- apport-collect 1266305
- ubuntu-bug package-name
sudo apt-get install python-apport
System
DKMS
apt-get install dkms gparted synaptic
Enable Hibernation
vim /var/lib/polkit-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla
[Re-enable hibernate by default in upower] Identity=unix-user:* Action=org.freedesktop.upower.hibernate ResultActive=yes
[Re-enable hibernate by default in logind] Identity=unix-user:* Action=org.freedesktop.login1.hibernate ResultActive=yes
Special Hardware Configuration
Thinkpad
apt-add-repository ppa:linrunner/thinkpad-extras && \ apt-add-repository ppa:linrunner/tlp && \ apt-get update && \ apt-get install gobi-loader tp-wwan-hotkey tlp tp-smapi-dkms
Edit your
/etc/default/tlp
service tlp restart
Lenovo W510
Install nvidia-driver
Error with vdpau:
apt-get install vdpau-va-driver libvdpau1 libvdpau-va-gl1 vainfo vdpauinfo
Gobi 2000
Copy over the following files for your provider (!)
ls /lib/firmware/gobi/
amss.mbn apps.mbn UQCN.mbn
Install the gobi-loader package. The gobi-loader is from standard ubuntu repository and not the one of the tlp repositories.
apt-get install gobi-loader
If you have trouble, try the following (requires tlp):
#!/bin/bash # echo "Gobi 2000 loader ... start ..." if LC_ALL=C nmcli -t -f TYPE,STATE dev | grep gsm then echo "start nm wwan ..." nmcli -t nm wwan on # break exit 1 else echo "unblock wwan via rfkill ..." rfkill unblock wwan sleep 1 exit 1 fi
SSD Trim
Enabled in 14.04 LTS by default !!!
On encrypted systems:
vim /etc/crypttab sda5_crypt UUID=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX none luks,discard
vim /etc/lvm/lvm.conf +199 issue_discards = 1
Update boot images:
update-initramfs -k all -c
This should be already there on Ubuntu 14.04 LTS
vim /etc/cron.weekly/fstrim
#!/bin/sh # call fstrim-all to trim all mounted file systems which support it set -e exec fstrim-all
Reboot and check:
sudo fstrim -v /
Security
Network
Ssh and others ...
apt-get install ssh autossh mosh wireshark curl zenmap inetutils-traceroute mtr apt-get install libnss-myhostname
See article: Sending Mails with in bash
apt-get install ca-certificates heirloom-mailx msmtp
Security
apt-get install keepassx gufw network-manager-openvpn
Encfs
EncFS Manager
add-apt-repository ppa:gencfsm/ppa apt-get update && apt-get install -y gnome-encfs-manager
Truecrypt with app indicator (saucy)
Disable online services in unity
Package Management and tweaking
Synaptic is still best for all special tasks of package management:
apt-get install synaptic
Ubuntu Tweak
Y-PPA Manager
sudo apt-add-repository ppa:webupd8team/y-ppa-manager && sudo apt-get update sudo apt-get install y-ppa-manager
Cloud
- Dropbox: Install via Ubuntu-tweak
- Grive: http://www.thefanclub.co.za/node/151
- activate Ubuntu One
Social
sudo apt-get install skype
This will install a bunch of multiarch packages!
Virtualisation
Virtualbox
Virt-Manager for controlling other machines. It is not possible to use kvm and virtualbox on the same machine!
apt-get intsall virt-manager
Remote Desktop
X2Go
sudo apt-get install x2go-client remmina
Development
Database
apt-get install automysqlbackup sudo vim /etc/default/automysqlbackup mysql-server
Sublime Text editor
apt-get update && apt-get install sublime-text-installer
Subversion - git
apt-get install subversion git
- Upgrade projects to match new svn version!
Grails
Java
Backup
apt-get install luckybackup
Multimedia
Pulseaudio Equalizer
Music, Video and Codecs
apt-get install flashplugin-installer vlc handbrake handbrake-cli clementine flac \ avidemux winff acetoneiso \ ubuntu-restricted-extras easytag sound-juicer soundkonverter \ minitube phonon-backend-gstreamer gstreamer0.10-ffmpeg \ gstreamer0.10-plugins-bad gstreamer0.10-plugins-ugly gstreamer1.0-plugins-base \ gstreamer1.0-plugins-good gstreamer0.10-plugins-bad-multiverse
The package ffmpeg is not existant any more.
Instead:
sudo apt-get install libav-tools libavdevice-extra-53 libswscale-extra-2
Photo
apt-get install gimp-gmic gimp-data-extras gimp-dcraw gimp-plugin-registry \ gnome-xcf-thumbnailer gthumb gimp-help-de darktable phatch rapid-photo-downloader \ && apt-get clean
Desktop
Nautilus script
apt-get install nautilus-scripts-manager
notify (saucy)
add-apt-repository ppa:leolik/leolik add-apt-repository ppa:nilarimogard/webupd8 apt-get upgrade && apt-get update apt get install libnotify-bin pkill notify-osd apt-get install notifyosdconfig
libnotify
pkill notify-osd gsettings set com.canonical.notify-osd gravity 3
Remove overlay bars in Ubuntu
gsettings set com.canonical.desktop.interface scrollbar-mode normal gsettings set com.canonical.indicator.session show-real-name-on-panel false
Elementary theme and Gnome Icon theme
apt-get install elementary-icon-theme gnome-icon-theme-full
Evolve Theme
add-apt-repository ppa:satyajit-happy/themes get-update && apt-get install evolve-gtk-theme
Screencast
sudo apt-get install gtk-recordmydesktop
Or try (saucy)
EBooks
sudo apt-get install calibre
Installs:
calibre calibre-bin fonts-mathjax libchm1 libjs-mathjax libpodofo0.9.0 libtidy-0.99-0 python-apsw \ python-beautifulsoup python-cherrypy3 python-cssselect python-cssutils python-dateutil python-feedparser \ python-markdown python-mechanize python-pygments python-pyparsing python-repoze.lru \ python-routes python-utidylib python-webo