User Tools

Site Tools


nndocs:initial

This is an old revision of the document!


Standard Ubuntu Setup at narf.rocks

Perform a network install of Ubuntu 18.04. Mirror settings:

  • host: mirror.narf.rocks
  • directory: /ubuntu
  • No proxy
  apt remove - isc-dhcp-* systemd-resolved
  apt install dhcpcd5
Essentials

Take these, you'll need them:

  • apt-get -y install git vim lynx openssh-server lame autoconf smartmontools (omit smartmontools on VMs)
Make history include human-readable timestamps

Put this at the end of both /etc/profile and /etc/bash.bashrc:

# Color ls output
export LS_OPTIONS='--color=auto'
eval "`dircolors`"
alias ls='ls $LS_OPTIONS'

# Timestamp history  
export HISTTIMEFORMAT="%Y/%m/%e-%H:%M:%S "
Disable %!@#^ing console beeps
  • echo 'blacklist pcspkr' > /etc/modprobe.d/nobeep.conf (not sure if necessary anymore)
Disable %!@#^ing screen blanking

Add this to /etc/rc.local above the exit 0 line:

sh -c 'setterm -blank 0 -powersave off -powerdown 0 < /dev/console > /dev/console 2>&1' (not sure if necessary anymore)
PS1

Add this to your ~/.bashrc file:

  • PS1='\[\033[32;1m\][\u]@[\h]\[\033[0m\]\[\033[34;1m\][\t]\[\033[0m\]\[\033[35;1m\][\w]\[\033[0m\]\$ ' (this needs an update)

If you are using a graphical desktop environment

  • apt-get -y install gparted hexchat pidgin synaptic terminator fonts-lohit-knda fonts-knda (this needs an update)

If you plan to compile your own kernel

  • apt-get -y install ncurses-dev (this is no longer sufficient)
nndocs/initial.1558300547.txt.gz · Last modified: 2019/05/19 21:15 by naptastic