Check out my first novel, midnight's simulacra!

Debian Unstable: Difference between revisions

From dankwiki
No edit summary
No edit summary
Line 1: Line 1:
==Installing Sid==
==Installing Sid==
* Acquire the [http://www.debian.org/devel/debian-installer/ daily businesscard ISO].
* Acquire the [http://www.debian.org/devel/debian-installer/ daily businesscard ISO].
** These won't work from time to time, especially when base packages are being upgraded (the installer will expect a version which is no longer available)
** These won't work from time to time, especiallye when base packages are being upgraded (the installer will expect a version which is no longer available)
* Prepare external firmware, if necessary
* Prepare external firmware, if necessary
* Boot the ISO, selecting an Expert install
* Boot the ISO, selecting an Expert install
==Post-install==
==Post-install==
===sudo===
* Install <tt>sudo</tt>. Edit <tt>/etc/sudoers</tt> (using <tt>visudo</tt>) to allow the sudo group to run all commands without a password:
* Install <tt>sudo</tt>. Edit <tt>/etc/sudoers</tt> (using <tt>visudo</tt>) to allow the sudo group to run all commands without a password:
<code>%sudo ALL=(ALL:ALL) NOPASSWD:ALL</code>
<code>%sudo ALL=(ALL:ALL) NOPASSWD:ALL</code>
* Add user account to sudo group
* Add user account to sudo group
===debconf===
* <tt>dpkg-reconfigure debconf</tt>, set minimum priority to Low
* <tt>dpkg-reconfigure debconf</tt>, set minimum priority to Low
* <tt>dpkg-reconfigure -a</tt>, reconfiguring all debconf questions
* <tt>dpkg-reconfigure -a</tt>, reconfiguring all debconf questions
===boot process===
* Edit <tt>/etc/default/rcS</tt>, enabling FSCKFIX, VERBOSE, RAMRUN, RAMLOCK
* Edit <tt>/etc/default/rcS</tt>, enabling FSCKFIX, VERBOSE, RAMRUN, RAMLOCK
* Edit <tt>/etc/default/grub</tt>, removing "quiet" from GRUB_CMDLINE_LINUX_DEFAULT
* Edit <tt>/etc/default/grub</tt>, removing "quiet" from GRUB_CMDLINE_LINUX_DEFAULT
** Rerun <tt>update-grub</tt>
** Rerun <tt>update-grub</tt>
* Ensure LABEL or UUID directives are being used in <tt>/etc/fstab</tt>
** If not, retrieve them using <tt>blkid</tt>, and replace the /dev references
* Edit <tt>/etc/default/ntp</tt>, changing NTPD_OPTS to '-g -x'
* Edit <tt>/etc/default/ntp</tt>, changing NTPD_OPTS to '-g -x'
** This allows the clock to be arbitrarily set once (presumably on startup), without slew delay
** This allows the clock to be arbitrarily set once (presumably on startup), without slew delay
* Install <tt>mingetty</tt>. Open <tt>/etc/inittab</tt> and convert 'getty 38400' to 'mingetty'.
* Remove <tt>info</tt> and install <tt>pinfo</tt>
==Multiuser==
* Clone my home directory from https://github.com/dankamongmen/dankhome.git
* Clone my home directory from https://github.com/dankamongmen/dankhome.git
* Set a color for the local machine in <tt>.pcolor</tt>
* Set a color for the local machine in <tt>.pcolor</tt>
** This is based on the binary <tt>bin/color</tt>, and hooks to PS1 in <tt>.bashrc</tt>
** This is based on the binary <tt>bin/color</tt>, and hooks to PS1 in <tt>.bashrc</tt>
* Install <tt>mingetty</tt>. Open <tt>/etc/inittab</tt> and convert 'getty 38400' to 'mingetty'.
* Remove <tt>info</tt> and install <tt>pinfo</tt>
* Install compiz and gdm3.
* Install compiz and gdm3.
* Install <tt>libpam-ssh</tt>, and configure it
* If SSH keys will be homed on this (hopefully local) machine...
** Install <tt>libpam-ssh</tt>, and configure it
** Recently, this can be done entirely inside of debconf -- no editing of PAM configs by hand
** Recently, this can be done entirely inside of debconf -- no editing of PAM configs by hand
* ''FIXME'' plenty more..
* ''FIXME'' plenty more..

Revision as of 11:27, 4 March 2011

Installing Sid

  • Acquire the daily businesscard ISO.
    • These won't work from time to time, especiallye when base packages are being upgraded (the installer will expect a version which is no longer available)
  • Prepare external firmware, if necessary
  • Boot the ISO, selecting an Expert install

Post-install

sudo

  • Install sudo. Edit /etc/sudoers (using visudo) to allow the sudo group to run all commands without a password:

%sudo ALL=(ALL:ALL) NOPASSWD:ALL

  • Add user account to sudo group

debconf

  • dpkg-reconfigure debconf, set minimum priority to Low
  • dpkg-reconfigure -a, reconfiguring all debconf questions

boot process

  • Edit /etc/default/rcS, enabling FSCKFIX, VERBOSE, RAMRUN, RAMLOCK
  • Edit /etc/default/grub, removing "quiet" from GRUB_CMDLINE_LINUX_DEFAULT
    • Rerun update-grub
  • Ensure LABEL or UUID directives are being used in /etc/fstab
    • If not, retrieve them using blkid, and replace the /dev references
  • Edit /etc/default/ntp, changing NTPD_OPTS to '-g -x'
    • This allows the clock to be arbitrarily set once (presumably on startup), without slew delay
  • Install mingetty. Open /etc/inittab and convert 'getty 38400' to 'mingetty'.
  • Remove info and install pinfo

Multiuser

  • Clone my home directory from https://github.com/dankamongmen/dankhome.git
  • Set a color for the local machine in .pcolor
    • This is based on the binary bin/color, and hooks to PS1 in .bashrc
  • Install compiz and gdm3.
  • If SSH keys will be homed on this (hopefully local) machine...
    • Install libpam-ssh, and configure it
    • Recently, this can be done entirely inside of debconf -- no editing of PAM configs by hand
  • FIXME plenty more..

External Applications

Perforce

  • Grab the amd64 Perforce binaries
  • Unpack the P4V tarball to local/
  • Update the local/ symlink: ln -sf abspath local/p4
  • Set up the p4 command line utility: chmod 775 p4 and mv p4 local/p4/bin