-
Notifications
You must be signed in to change notification settings - Fork 3
/
install.ubuntu.breezy
659 lines (505 loc) · 20.1 KB
/
install.ubuntu.breezy
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
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
Install Crib Sheet for Ubuntu 5.10 (Breezy)
Note: These have not been 100% tested, since they are based of Warty -> Hoary
-> Breezy upgrades
##################### BASE INSTALL SECTION #########################
1.) Boot the install cd and follow instructions to do the base install.
Set up machine as desired. Fairly self-explanatory.
2.) After machine is up, edit /etc/apt/sources.list and do the following:
a.) Uncomment the two "universe" lines
b.) Change:
deb http://archive.ubuntu.com/ubuntu breezy universe
- to
deb http://archive.ubuntu.com/ubuntu breezy universe multiverse
c.) Add the lines:
deb http://us.archive.ubuntu.com/ubuntu breezy-backports main universe multiverse restricted
d.) Comment out the cdrom line
3.) Do:
apt-get update
apt-get dist-upgrade
- (this last bit might need to be repeated until it can get all the packages
successfully)
4.) Install lots of things (as above. this might need to be repeated):
sudo apt-get install nmap amap whois logjam flashplayer-mozilla bittorrent bittorrent-gui bittornado bittornado-gui gif2png gimp-svg cups-pdf tetex-base tetex-bin tetex-extra prosper chrony sane-utils scribus xine-ui gxine kaffeine amarok-xine kaffeine-xine kaffeine-mozilla libdvdcss2 w32codecs gv cgoban gnugo penguin-command kino kinoplus dvgrab grip gqview traceroute symlinks xfce4 xfce4-goodies xfce4-fsguard-plugin xfce4-genmon-plugin xfce4-toys xfce4-trigger-launcher xfce4-wavelan-plugin xfce4-weather-plugin xfce4-windowlist-plugin xfce4-xkb-plugin xffm4 xfce4-panel-menu-plugin xfce4-sensors-plugin xfce4-taskbar-plugin xfce4-taskmanager xfce4-terminal xfce4-theme-brushedchrome xfce4-mixer gkrellm gkrellm-alltraxclock gkrellm-bfm gkrellm-hddtemp gkrellm-ibam gkrellmitime gkrellm-leds gkrellm-mailwatch gkrellmms gkrellm-radio gkrellm-reminder gkrellm-snmp gkrellmss gkrellm-volume gkrellmwho2 gkrellmwireless gkrellm-x86info gkrellm-hdplop gkrellmd gkrellm-mldonkey gkrellmoon wmaker wmakerconf wmakerconf-data wmaker-data aterm ipsec-tools xmms xmms-alarm xmms-arts xmms-blursk xmms-bumpscope xmms-cdread xmms-crossfade xmms-dbmix xmms-defx xmms-festalon xmms-finespectrum xmms-flac xmms-fmradio xmms-goodnight xmms-goom xmms-infinity xmms-infopipe xmms-iris xmms-jack xmms-jess xmms-ladspa xmms-lirc xmms-liveice xmms-mad xmms-modplug xmms-msa xmms-normalize xmms-osd-plugin xmms-qbble xmms-rplay xmms-shell xmms-sid xmms-singit xmms-skins xmms-stats xmms-status-plugin xmms-synaesthesia xmms-volnorm xmms-wmdiscotux xmms-xf86audio xmms-coverviewer xmms-find xmms-jackasyn xmms-kde xmms-kjofol xmms-kjofol-skins xmms-mp4 xmms-mpg123-ja xmms-musepack xmms-scrobbler xmms-xmmplayer xmp-xmms smpeg-xmms logjam-xmms gxmms units unison-gtk xfrisk msttcorefonts dar par2 gdm-themes tftp-hpa xfig xfig-doc xfig-libs audacity mozilla-thunderbird mozilla-thunderbird-enigmail mozilla-thunderbird-offline mozilla-thunderbird-typeaheadfind mozilla-thunderbird-inspector portsentry xnest ssmtp openssh-server vncserver sysutils mono monodevelop monodoc glade ardour-gtk gnuplot gnuplot-mode gstreamer0.8-plugins amarok-gstreamer gstreamer0.8-ffmpeg gstreamer0.8-pitfdll lame gcc libimlib2 libimlib2-dev libxft-dev java-common libjpeg-progs kile dvdrtools gpdf gftp-gtk libsane-extras wpd2sxw doomlegacy-sdl doomlegacy-x11 apt-show-versions ubuntu-desktop kubuntu-desktop xbill netapplet samba smbfs latex2html tdb-tools emacs21 emacs-goodies-el mozplugger digikam digikamimageplugins gaim-encryption gaim-extendedprefs gaim-guifications gaim-irchelper gaim-meanwhile gaim-otr gaim-themes f-spot meld ipodder ubuntu-standard xubuntu-desktop easytag pptpconfig pptp-linux xearth xplanet xplanet-images xmess-x xmame-x xmame-sdl xmame-tools joystick jscalibrator
5.) Optional, set up ATI binary drivers:
IMPORTANT NOTE - this BREAKS software suspend in hoary!!!!
ADDENDUM - and breezy!
apt-get install xorg-driver-fglrx fglrx-control
- Add fglrx to /etc/modules
- load it:
depmod -a
modprobe fglrx
- edit /etc/X11/XF86Config-4 and change "ati" or "radeon" to "fglrx"
- restart X and it should work
6.) Optional, set up lm sensors:
- howto is here:
http://www.ubuntuforums.org/showthread.php?t=2780
- install sensor reading packages:
sudo apt-get install lm-sensors
- find your sensors; run sensors-detect and answer a lot of YES
- questions to probe for sensors. This will generate a list of what you
- need to do to make it work. Do that.
- Note: Instead of /etc/modules.d/local, it's /etc/modules.d/aliases. However,
- the alias is already listed, so we shoudl be fine
- Run sensors to test it. Gkrellm can read the sensors
- config lives in /etc/sensors.conf. This can be used to modify the scales
- and such
7.) Optional, set up hibernation:
- edit /etc/default/acpi-support and uncomment the line:
ACPI_SLEEP=true
- edit /boot/grub/menu.lst and find the #kopt= line, and add:
resume=/dev/hda3
- (where hda2 is your swap partition) to the end
- run:
update-grub
- to regen menu.lst
8.) Fix cdrom stuff
cd /etc/udev/rules.d
sudo ln -s ../cd-aliases.rules .
- edit /etc/udev/cdsymlinks.conf and uncomment the OUTPUT, NUMBERED_LINKS,
- and LINK_ZERO lines
9.) Install java. The normal one sucks. Blackdown seems to work
sudo apt-get remove java-gcj-compat
sudo apt-get install j2re1.4 j2re1.4-mozilla-plugin
10.) Wine
- Add the following to the sources:
# for wine
deb http://wine.sourceforge.net/apt/ breezy/
deb-src http://wine.sourceforge.net/apt/ source/
- Get the stuff
sudo apt-get install wine winetools
- run wt2 and follow instructions. If you have installed all the bits in the
- big install, it should be fine. Note that this is all done per-user, so
- it should only need to be done on one machine, and is populated around on
- sync...
##################### PHASE 1 SET UP SECTION #########################
1.) Set up static IP's (for machines with them)
- edit /etc/network/interfaces, and add lines like:
iface eth0-home inet static
address 192.168.1.1
netmask 255.255.255.0
gateway 192.168.1.254
2.) Make ssh work:
## For an old machine, use the old keys - you did save /etc, didn't you?
## For a new machine, use the existing keys generated by the distro.
## For both, tweak ssh_config/sshd_config as necessary
- in sshd_config, set:
PermitRootLogin no
PasswordAuthentication yes
- in ssh_config, set:
ForwardX11 yes
ForwardX11Trusted no
UseLogin yes
- You need to restart this for changes to take effect
/etc/init.d/sshd restart
### Set up /etc/hosts.allow and /etc/hosts.deny for ssh:
- hosts.allow:
----------------
ALL: 127.0.0.1
sshd: ALL
-----------------
- hosts.deny:
----------------
ALL:ALL
-----------------
3.) Add important modules to /etc/modules
vfat
- for machines with 3ware cards
3w-xxxx
4.) Set up nvram stuff for laptop
cd /etc/init.d
cp -a /usr/local/apps/init_scripts/nvram .
sudo update-rc.d nvram defaults
sudo /etc/init.d/nvram start
##################### DOMAIN MEMBER SET UP SECTION #########################
1.) /etc/hosts
- add hosts to /etc/hosts as appropriate
- for machines with static IP's, use that IP and delete it from the localhost
- line
2.) Set up lvm2 (for machines using it)
## For machines with new lvm groups:
- create any partitions you want (I'm using /dev/sda1 here)
emerge lvm2
mkdir /etc/lvm
echo 'devices { filter=["r/cdrom/"] }' > /etc/lvm/lvm.conf
vgscan
pvcreate /dev/sda1
vgcreate vg /dev/sda1
- create bits with
lvcreate -LsizeG -nname vg
- where size is the size and name is the name these are now accessible
- through /dev/vg/name file systems can be made through
mke2fs -j -m0 -v /dev/vg/name
tune2fs -c100 -i0 /dev/vg/name
- 'vgs' can be used to show your volume groups
(sizes and free and all that)
- make mount points, add the bits to /etc/fstab and mount them
## For machines with existing lvm groups:
- generate the vg's
vgscan
- make sure all is okay (pv = physical volume, lv = logical volume)
pvscan
lvscan
- if it looks okay, enable the lv's. For each one reported by lvscan:
lvchange -a y /dev/vg/pathname
- once all are active, do:
vgmknodes
## to resise:
- lvdisplay and vgdisplay are useful to look at things
lvextend /dev/vg/home -l+number_of_extents
- or
lvextend /dev/vg/home -L+sizeMGK
- will resize
- resize2fs to resize the fs...
3.) Set up IPSec:
apt-get install ipsec-tools
- set up an /etc/ipsec-tools.conf which should contain sections like:
---------------------------
###### connections of 192.168.1.1 to 192.168.1.2 ######
# AH SAs using 128 bit long keys
add 192.168.1.1 192.168.1.2 ah 0x010 -A hmac-md5
0x8c4708518e279fa02362564358550777;
add 192.168.1.2 192.168.1.1 ah 0x011 -A hmac-md5
0x2e6893cd15b62788e6b0b70261ec4823;
# ESP SAs using 192 bit long keys (168 + 24 parity)
add 192.168.1.1 192.168.1.2 esp 0x012 -E 3des-cbc
0x6f719567a590b91de95bfa460f1576393ae0e6d6b5522c4c;
add 192.168.1.2 192.168.1.1 esp 0x013 -E 3des-cbc
0x814c676ea62123fc1c818ff4270eaf254489fccf540ab24f;
# Security policies
spdadd 192.168.1.1 192.168.1.2 any -P in ipsec
esp/transport//require
ah/transport//require;
spdadd 192.168.1.2 192.168.1.1 any -P out ipsec
esp/transport//require
ah/transport//require;
---------------------------
- do this for each to/from pair. This needs to be set up on each side
- of the connection, and you want to flip the in/out section of the
- policy on one side.
- to generate the AH key, do:
dd if=/dev/random count=16 bs=1| xxd -ps
- and take the output and use it for the key. Remember to stick the 0x
- in front of it
- to generate the ESP key, do:
dd if=/dev/random count=24 bs=1| xxd -ps
- and take the output and use it for the key. Remember to stick the 0x
- in front of it
- Change the permissions on the file to make it not world readable:
chmod 700 ipsec-tools.conf
4.) Set up NIS server:
### Add to hosts:
- Make sure the server and all clients are in /etc/hosts. This means things
- will still work if DNS dies or anything else bad happens.
### Add to hosts.allow
- hosts.allow:
----------------
portmap ypserv ypbind : <list of IP ADDRESSES, see note below>
-----------------
- Note: This needs to be a list of IP's for each machine needing to
- connect to the server, which is:
- 1.) the machine itself
- 2.) any NIS/NFS client connecting to it.
### Get the bits you need. When asked, enter the name of your domain:
apt-get install nis
### Set things up:
- fix portmap; edit /etc/default/portmap and set:
ARGS=
- edit /etc/default/nis, and change the following:
NISSERVER=master
- edit /etc/yp.conf and add the line:
domain fnord server yt
- edit /etc/defaultdomain and add the line:
fnord
- (this is not necessary if you set it up when the package was installed)
- edit /var/yp/Makefile set it up. It is well commented.
- NOTES:
- MINGID should be set to 1 in order to propagate the groups (cdrom,
- floppy, games, etc) correctly on all machines.
- All I changed was the MINGID, the rest was fine
- edit /etc/ypserv.securenets and add lines to restrict to domain
- members. I use lines like:
host 192.168.1.1
host 192.168.1.3
- Make sure to comment out the 0.0.0.0 line
- To build the DB for the first time, run:
/usr/lib/yp/ypinit -m
- and follow the instructions (the one server is fine)
- This will throw some errors. It's okay.
- restart portmap and nis
/etc/init.d/portmap restart
/etc/init.d/nis restart
- NOTE: I had some problems with portmap exiting correctly on my box, I had
- to kill -9 it...
- if you change people's passwords or something, do
make -C /var/yp
5.) Set up NIS client:
### A note about administration:
- Since there is no root user, make sure that whomever you want to be
- able to admin the machine is in /etc/sudoers on the client
- machine. It is also a good idea to have those users as local users on the
- machine, with the SAME UID as is shared over NIS.
### Add to hosts:
- Make sure the server is in /etc/hosts. This means things
- will still work if DNS dies or anything else bad happens.
### Get the bits you need. When asked, enter the name of your domain:
apt-get install nis
### Set things up:
- edit /etc/passwd and add the following line at the end:
+::::::
- edit /etc/group and add the following line at the end:
+:::
- edit /etc/shadow and add the following line at the end:
+::::::::
- edit /etc/yp.conf and add the line:
domain fnord server yt
- edit /etc/defaultdomain and add the line:
fnord
- restart nis:
/etc/init.d/nis restart
- NOTE: sshd will have to be restarted to use the new authentication
- scheme
/etc/init.d/sshd restart
6.) Set up NFS server:
### Add to netgroups:
- Edit /etc/netgroup and add a line like:
boxen (yt,,) (case,,)
### Add to hosts.allow:
------------
portmap mountd nfsd statd lockd: <list of machines, see note below>
(you want to add rquotad as well, if you use it)
------------
- NOTE: The easiest way to do this is to just put this on the same line
- as your portmap
### Get the bits you need:
apt-get install nfs-common nfs-kernel-server
### Set things up:
- edit /etc/exports and add shares, like:
----------
/home @boxen(rw,sync)
/pub @boxen(rw,sync)
/usr/local @boxen(rw,sync)
----------
- Then do:
exportfs -ra
- Restart it:
/etc/init.d/nfs-kernel-server restart
7.) Set up NFS client:
- in /etc/fstab
# device mountpoint fs-type options dump fsckorder
yt:/dir /mntpoint nfs rw,hard,intr 0 0
- Make the mount points
- Mount them with:
mount -a
##################### PHASE 2 SET UP SECTION #########################
1.) bash
cd /etc
mv bash.bashrc bash.bashrc.orig
mv profile profile.orig
mv inputrc inputrc.orig
cp -a /usr/local/apps/bash/bash.bashrc .
cp -a /usr/local/apps/bash/profile .
cp -a /usr/local/apps/bash/inputrc .
cd /etc/skel
mv .bash_profile .bash_profile.default
touch .bash_profile
mv .bashrc .bashrc.default
touch .bashrc
2.) emacs:
cd /etc/emacs
mv site-start.el site-start.el.old
ln -s /usr/local/apps/emacs/site-start.el .
3.) bump to better kernel (as appropriate)
apt-get install linux-686
apt-get install linux-686-smp
apt-get install linux-k7-smp
4.) Item 4 was removed.
5.) Configure bootloader (GRUB)
- edit /boot/grub/menu.lst
- make sure hiddenmenu is commented out
- uncomment the color line
- set the timeout to 5
- set up password by adding the line:
password --md5 PASSWORD
- and PASSWORD is the output from:
grub-md5-crypt
- then do:
chmod 600 /boot/grub/menu.lst
- so that folks can't read the password
6.) thinkpad stuff
apt-get install tpb
chmod o+r /dev/nvram
7.) gimp:
cd /usr/share/gimp/2.0/scripts
ln -s /usr/local/apps/gimp/scripts/* .
8.) latex
cd /usr/share/texmf/tex/latex
ln -s /usr/local/apps/latex/local .
- then run texconfig and rebuild the ls-R database
9.) gkrellm skins:
cd /usr/share
mkdir gkrellm2
cd gkrellm2
ln -s /usr/local/apps/gkrellm2/GKrellM-skins/ themes
10.) Make portsentry work
cd /etc/portsentry
mkdir old
mv * old
cp -a /usr/local/apps/portsentry/* /etc/portsentry/.
- edit /etc/default/portsentry and change the modes to:
TCP_MODE="atcp"
UDP_MODE="audp"
- restart it
/etc/init.d/portsentry restart
11.) set up digital camera
mkdir /media/card
- add the following to /etc/fstab
/dev/sda1 /media/card auto noauto,user 0 0
12.) set up smbmount
### MC - Not sure if this is necessary anymore, so I'm leaving it off for
### now in breezy
chmod u+s /usr/bin/smbmnt
chmod u+s /usr/bin/smbumount
13.) set up ssmtp
- edit /etc/ssmtp/ssmtp.conf
- set the mailhub=localhost:2525
(this will only work for folks with a tunnel like mine)
- set rewriteDomain=mattcaron.net
14.) chrony (ntp)
## for standalone (laptop):
cd /etc/chrony
mv chrony.conf chrony.conf.orig
mv chrony.keys chrony.keys.orig
cp -a /usr/local/apps/ntp/chrony/chrony.conf.standalone ./chrony.conf
cp -a /usr/local/apps/ntp/chrony/chrony.keys.standalone ./chrony.keys
## for server:
- add ntpd to hosts.allow list
cd /etc/chrony
mkdir old
mv * old/.
cp -a /usr/local/apps/ntp/chrony/chrony.conf.server ./chrony.conf
cp -a /usr/local/apps/ntp/chrony/chrony.keys.server ./chrony.keys
## for client
cd /etc/chrony
mkdir old
mv * old/.
cp -a /usr/local/apps/ntp/chrony/chrony.conf.client ./chrony.conf
cp -a /usr/local/apps/ntp/chrony/chrony.keys.client ./chrony.keys
15.) set up messages
- edit /etc/issue to have a nice message
rm issue.net
ln -s issue issue.net
16.) Set up hdparm
- edit /etc/hdparm.conf and add these lines:
# MC - Generic hard drive template, use for all ide hard disks
/dev/hda {
mult_sect_io = 16
interrupt_unmask = on
dma = on
io32_support = 1
}
# MC - Generic optical drive template, use for all ide cdrom disks
/dev/hdc {
interrupt_unmask = on
dma = on
io32_support = 1
}
17.) GDM
- Configure it safely with gdmconfig's "security" tab, turn off the annoying
- sounds, etc
18.) cups
- edit /etc/cups/cupsd-browsing.conf and add the lines:
RunAsUser No
- (so that cups-pdf works)
Browsing On
- so that cups works as it should
- add printers with gnome-cups-manager
- don't forget to add pdf printer support. It's a color postscript queue.
- prints go into ~/cups-pdf/
- You can't change the names in gnome-cups-manager, so edit
- /etc/cups/printers.conf to change the name
- in /etc/cups/cupsd.conf, if you want to share printers, do:
- Comment out the line:
Listen 127.0.0.1:631
- and add:
Port 631
- in the <Location /printers> section, do:
Allow From 192.168.9.*
19.) Remove gdm on servers to X doesn't start:
update-rc.d -f gdm remove
20.) Set up samba:
sudo cp -a smb.conf smb.conf.old
sudo cp -a /usr/local/apps/samba/smb.conf.machine_name ./smb.conf
/etc/init.d/samba restart
- Remember to turn it off on places you don't want it.
sudo update-rc.d -f samba remove
21.) Set up any periodic cron jobs
- edit /etc/crontab and add the job
22.) Set up ieee1394 support for machines w/ firewire support
- Info:
http://www.ubuntulinux.org/wiki/HowToCaptureDigitalVideo
- Add the following to /etc/init.d/bootmisc.sh, right at the end before
- the exit:
mknod /dev/raw1394 c 171 0
chown root:video /dev/raw1394
chmod 660 /dev/raw1394
- People have to be in the video group to do video things...
23.) Set up paper size
- edit /etc/papersize
- set it to: letter
24.) Restore boot after kubuntu is installed:
sudo update-alternatives --config usplash-artwork.so
sudo dpkg-reconfigure linux-image-`uname -r`
25.) Config VPN client
sudo pptpconfig
should be self explanatory
26.) (Optional, for laptops which need to work with a RADIUS server)
- install xsupplicant:
sudo apt-get install xsupplicant
- configure xsupplicant
27.) Install easyubuntu (Doesn't work in Breezy; try Dapper)
(Instructions at http://easyubuntu.freecontrib.org/get.html)
wget http://robotgeek.org/eu/easyubuntu-3.0-beta.tar.gz
tar -zxf easyubuntu-3.0-beta.tar.gz
cd easyubuntu
sudo python easyubuntu.py
- Check the boxes
##################### OTHER MISC NOTES SECTION #########################
1.) set up public key authentication
- (note: this assumes that you don't already have an
- authorized_keys file on the remote host. If you do you'll
- need to add the contents of id_dsa.pub to the end of it,
- rather than replacing it with id_dsa.pub as I do below)
- Generate a key:
ssh-keygen -t dsa -f ~/.ssh/identity
- (don't set a passphrase for passwordless auth)
- SSH to your remote host, and add the identity.pub to that
- machine's ~/.ssh/authorized_keys (or just copy it)
2.) to set DVD region code (only necessary once, per drive, EVER!!!)
- (indeed, most of them can only be set a few times before, they're
- locked forever. Be honest)
apt-get install regionset
- MAKE SURE THERE IS A VIDEO DVD IN THE DRIVE and (as root) do:
regionset
- set it to region 1, and use the mask it calculates. It will
- probably even tell you how many changes you have left
3.) Default browser/mail/etc
- can set default browser by doing:
gnome-control-center
- then going to Advanced -> Preferred Applications
4.) Group admin
gpasswd is used to administer /etc/group
5.) you can dump the list of people in the samba db's by doing:
sudo tdbdump /var/lib/samba/passdb.tdb
- for what good it does you
6.) dpkg-reconfigure is useful for reconfiguring stuff
example:
sudo dpkg-reconfigure -phigh xserver-xorg
7.) update-alternatives is useful when playing with different
alternative things
example:
sudo update-alternatives --config usplash-artwork.so
- Of course, in the above, you need to rebuild the initramfs to make
it all work:
sudo dpkg-reconfigure linux-image-`uname -r`
8.) Clean out cache periodically
sudo apt-get autoclean