-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathinstall.muve3d.xubuntu.14.04
161 lines (104 loc) · 5.13 KB
/
install.muve3d.xubuntu.14.04
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
From a clean Xubuntu 14.04 install. I used the minimal install CD and
installed the XUbuntu Desktop and SSH server. (This was for Daisy)
1.) Base install
Normal install, did 4 partitions, root, home, swap, usr/local (for the
common software). One drive, no RAID, simple.
2.) Install useful base things
sudo apt-get install emacs synaptic
3.) After machine is up, run synaptic, go to settings->repositories
make sure the following are enabled:
- main
- universe
- restricted
- multiverse
- source code
Select other software tab and enable/add:
- partner
- partner (Source Code)
- independent
- independent (Source code)
Select updates tab and enable:
- trusty-security
- trusty-updates
- trusty-backports
(or just grab sources.list from some reasonable machine)
4.) Do:
apt-get update
apt-get dist-upgrade
5.) Install base useful things
apt-get install nmap traceroute emacs emacs-goodies-el css-mode openssh-server symlinks sysstat ifstat dstat ssmtp powertop gif2png units tofrodos gcc make g++ gdb autoconf libtool automake libc6-dev meld ntp unrar subversion smartmontools vnc4server xvnc4viewer aspell aspell-en openjdk-7-jdk icedtea-7-plugin p7zip latencytop apt-show-versions git-core gitk git-svn speedcrunch apt-file manpages-posix manpages-posix-dev manpages-dev manpages c-cpp-reference ipcalc logcheck preload iftop atop libc6-i386 libc6-dev-i386 lib32z1 lib32ncurses5 lib32bz2-1.0 arandr tree meshlab lm-sensors gkrellm xfce4-goodies xfce4-battery-plugin xfce4-battery-plugin xfce4-cellmodem-plugin xfce4-clipman-plugin xfce4-cpufreq-plugin xfce4-cpugraph-plugin xfce4-datetime-plugin xfce4-dict xfce4-diskperf-plugin xfce4-eyes-plugin xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-hdaps xfce4-indicator-plugin xfce4-linelight-plugin xfce4-mailwatch-plugin xfce4-messenger-plugin xfce4-mount-plugin xfce4-mpc-plugin xfce4-netload-plugin xfce4-notes-plugin xfce4-places-plugin xfce4-power-manager-plugins xfce4-quicklauncher-plugin xfce4-radio-plugin xfce4-screenshooter-plugin xfce4-sensors-plugin xfce4-smartbookmark-plugin xfce4-systemload-plugin xfce4-time-out-plugin xfce4-timer-plugin xfce4-verve-plugin xfce4-wavelan-plugin xfce4-weather-plugin xfce4-whiskermenu-plugin xfce4-wmdock-plugin xfce4-xkb-plugin xfswitch-plugin ppa-purge
6.) Set up ssh
## For an old machine, use the old keys - you did save /etc, didn't you?
## For a new machine, use the new keys generated by the distro.
- make sure to add to the firewall
ufw allow ssh
- In /etc/ssh/sshd_config, set:
- PermitRootLogin no
- once you've set up public key auth, turn off password access. edit
/etc/ssh/sshd_config
and set
PasswordAuthentication no
service ssh restart
7.) Turn on the firewall
ufw enable
8.) Fix cron - add the following to the top of personal crontab:
MAILTO="matt@mattcaron.net"
9.) Set up ssmtp
cd /etc/ssmtp
mv ssmtp.conf ssmtp.conf.old
cp ~/system_stuff/ssmtp/ssmtp.conf .
chmod a+r ssmtp.conf
10.) Set up sensors
- Add the following to /etc/modules:
coretemp
smsc47m1
11.) Set up logcheck
- edit /etc/cron.d/logcheck and set it to @daily and not every 2 hours
12.) Pulseaudio equalizer:
sudo apt-add-repository ppa:nilarimogard/webupd8
sudo apt-get update && sudo apt-get install pulseaudio-equalizer
13.) Make java pretty
- Edit /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/swing.properties
and uncomment:
swing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel
14.) Stop the stupid GNOME SSH agent thing from working.
NOTE: This is a stupid hack to get around the fact that, apparently,
the gnome keyring is started unconditionally with all components if
any gnome services are run (and we would like to run them, just not
this specific one).
To fix, do:
cd /usr/bin
sudo mv gnome-keyring-daemon gnome-keyring-daemon-wrapped
Then create a new gnome-keyring-daemon and set its contents to:
#!/bin/sh
exec /usr/bin/gnome-keyring-daemon-wrapped --components=pkcs11,secrets,gpg "$@"
and make it executable:
sudo chmod a+rx /usr/bin/gnome-keyring-daemon
Also, you need to go into ~/.config/autostart/gnome-keyring-ssh.desktop and add:
[Desktop Entry]
X-GNOME-Autostart-enabled=false
so that it doesn't get started by the ancillary (and likely redundant)
separate invoker.
15.) Restore old-style Linux grognard boot messages.
Edit /etc/default/grub
Change:
GRUB_CMDLINE_LINUX_DEFAULT="splash quiet"
to:
GRUB_CMDLINE_LINUX_DEFAULT=""
Then do:
sudo update-grub
16.) Install real chrome
The ubuntu packaged chromium is broken in a couple of ways - NaCL
support, etc. NaCL support is required for Hangouts to work. Solution:
Install Chrome from a PPA.
Instructions from:
http://www.google.com/linuxrepositories/
http://www.howopensource.com/2011/10/install-google-chrome-in-ubuntu-11-10-11-04-10-10-10-04/
Do:
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo chmod a+r /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update
sudo apt-get install google-chrome-stable
See the following for more info on chromium fail
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/882942