-------
I guess this is in the right section. These are just my notes, not a proper howto. Some of these steps could be done in different order.
-------
Expert install of debian squeeze, standard system, took mostly defaults during the install.
aptitude install
openssh-server rsync console-setup bash-completion
dpkg-reconfigure console-setup
- change to vga font
/etc/init.d/console-setup restart
cp /etc/skel/.bashrc /root/.bashrc
- do same for user? (or copy from working installation)
visudo
user ALL=(ALL) NOPASSWD: ALL
nano /etc/grub.d/05_debian_theme
- change default menu colors, blue to black
nano /etc/default/grub
GRUB_DISTRIBUTOR=`echo Refracta`
nano /etc/issue
nano /etc/refracta_version
dpkg -i live-config-refracta_0.0.1_all.deb
nano +89,1 /lib/live/config/107-refracta-configs (remove one language code)
aptitude -R install
xfce4-session xfce4-utils xfconf xfdesktop4 xfwm4 xfce4-terminal gamin hal hicolor-icon-theme libfont-freetype-perl libgtk2.0-bin libhtml-format-perl libmailtools-perl librsvg2-common libxfce4util-bin tango-icon-theme thunar x-ttcidfont-conf xfwm4-themes xinput bzip2 unzip sudo lvm2 cryptsetup sshfs fuse-utils xorg mesa-utils wicd firmware-linux-free geany
lxde-icon-theme xfce4-cpugraph-plugin xfce4-netload-plugin xfce4-xkb-plugin
xfce4-screenshooter deborphan squashfs-tools genisoimage apt-file gparted alsa-base alsa-utils gnome-mplayer vrms geany gftp xarchiver gtk2-engines gparted zenity ntfs-3g smbfs dosfstools ntfsprogs lshw hwinfo smartmontools lm-sensors hdparm sdparm read-edid hardinfo testdisk gdmap fdupes irssi iftop iptraf zenmap ethtool pppoeconf evince ffmpeg wodim transmission-gtk xchat gftp x11vnc xtightvncviewer curl mlocate htop scrot wipe live-boot live-config live-boot-initramfs-tools live-config-sysvinit pmount fuseiso pv mbr console-data mc syslinux gnome-system-tools thunar-archive-plugin hexedit tree gtk2-engines-murrine murrine-themes
xsane xscreensaver gdm gdm-themes iceweasel
ntpdate cryptkeeper ddrescue dmz-cursor-theme encfs gtk2-engines-xfce hddtemp moc p7zip-full partimage pm-utils sysv-rc-conf ttf-dejavu ttf-dejavu-extra ttf-freefont ttf-liberation xfce4-appfinder xterm zsync sane-utils screen gsfonts git ghostscript feh cdrdao
acpi-fakekey console-common dvd+rw-tools exiv2 poppler-utils
aptitude install
(gpicview xfburn - removed these later)
thunar-volman deja-dup xserver-xorg-input-all alsamixergui
install from debs -
taskfer
deadbeef
nano /etc/pmount.allow
# This line allows users to mount/unmount all fixed drives.
# Default is uncommented in live-CD, commented in installation.
#/dev/sd[a-z][0-9]*
nano /etc/wicd/wireless-settings.conf
- add wlan0
nano /usr/share/applications/zenmap-root.desktop
nano /usr/share/applications/zenmap.desktop
- copy
/etc/skel (.bash_aliases, .bash_logout, .bashrc, .config .local)
/user/.config
/user/.local
--> /user/.mozilla (add this to /etc/skel?) NO!
/usr/share/applications custom .desktop files
/usr/share/gdm/themes custom themes
/usr/share/xfce4/backgrounds custom backgrounds
add user to groups:
fuse
scanner
nano /home/user/.bash_aliases
alias mocp='mocp -T /usr/share/moc/themes/transparent-background'
nano /etc/apt/sources.list
- change from local repo to
deb
http://cdn.debian.net/debian squeeze main
- enable squeeze-backports
deb
http://backports.debian.org/debian-backports squeeze-backports main
aptitude -t squeeze-backports install linux-image-2.6.39-bpo.2-amd64
then replaced it with 3.2.0-0.bpo.1-amd64
aptitude purge
linux-image-2.6.32-5-amd64 libc6-i386 libdb4.6 libkadm5srv-mit7 libkadm5clnt-mit7
rpm rpm-common rpm2cpio debian-faq apt-listchanges installation-report wamerican gnome-user-guide libelf1 doc-linux-text reportbug
nfs-common portmap librpcsecgss3 (and maybe a few other libs found by deborphan)
aptitude install gimp cups clamav
cp -a /var/lib/clamav /home/
rm -r /var/lib/clamav
ln -s /home/clamav /var/lib/clamav
aptitude install gnumeric abiword
aptitude -R install cups-bsd aufs-tools libdv4 libdvdnav4 pppconfig
added debs for missing wireless drivers to /home/user/wireless_drivers
(these are installed in the 32-bit version)
cdebconf (required by one of the intel drivers)
firmware-atheros
firmware-iwlwifi
firmware-linux
firmware-linux-nonfree
firmware-ralink
firmware-realtek
Removed gpicview and xfburn
Installed gthumb and brasero
Other things:
grub boot menu?
syslinux boot menu?
syslinux help screens?
add /*.default/*.sqlite to snapshot excludes?
(and then do what about extensions and bookmarks?)
--> - export bookmarks as html and put bookmarks.html in /usr/share/iceweasel/defaults/profile/
--> - put xml files for duckduck and scroogle in /usr/share/iceweasel/searchplugins/
--> - addons won't be there for additional users, but bookmarks and search engines will.
No: extensions go in /usr/lib/iceweasel/extensions - either .xpi file or copy directory
extensions/{some-long-string} from ~/.mozilla/firefox/blah.default/extensions/
(note the latter worked for downloadhelper, neither worked for noscript.)
Final stuff:
update and upgrade packages
copy package list and updated release notes to /usr/lib/refractasnapshot/iso/Refracta
run freshclam
run updatedb
edit .config/geany/geany.conf to remove recent filesnames
replace /etc/network/interfaces !!!