sys03 - basic setup

admintools vo & ilog

plan:

  • use „vo“ as frontend to „vi“ and „rcs“ to make any changes revisionable
  • use ilog to document what's been done
BASEURL="http://www.fischglas.de/software/vo"
VERSION=` wget "$BASEURL/" -O - | awk '/>CURRENT_IS_/ { print }' | sed 's/^.*>CURRENT_IS_//;s/<.*$//' `
PKGFILE="vo_$VERSION-1_all.deb"
cd /tmp && wget "$BASEURL/$PKGFILE"
aptitude -y install rcs < /dev/null
dpkg -i /tmp/"$PKGFILE"
rm /tmp/"$PKGFILE"

BASEURL="http://www.fischglas.de/software/ilog"
VERSION=` wget "$BASEURL/" -O - | awk '/>CURRENT_IS_/ { print }' | sed 's/^.*>CURRENT_IS_//;s/<.*$//' `
PKGFILE="ilog_$VERSION-1_all.deb"
cd /tmp && wget "$BASEURL/$PKGFILE"
dpkg -i /tmp/"$PKGFILE"
rm /tmp/"$PKGFILE"

ilog's keyword policy goes here

hostname

vo /etc/hosts
    < 78.46.139.5  Debian-60-squeeze-64-minimal
    ---
    > 78.46.139.5  sys03.shackspace.de sys03
    14c14
    < 2a01:4f8:190:5484::2  Debian-60-squeeze-64-minimal
    ---
    > 2a01:4f8:190:5484::2  sys03.shackspace.de sys03
vo /etc/hostname
    < Debian-60-squeeze-64-minimal
    ---
    > sys03.shackspace.de
vo /etc/mailname
    < Debian-60-squeeze-64-minimal
    ---
    > sys03.shackspace.de

kernel

apt-get install linux-image-vserver-amd64
->
    linux-image-2.6.32-5-vserver-amd64 2.6.32-46 
    binutils 2.20.1-16 
    libnspr4-0d 4.8.6-1 
    libnss3-1d 3.12.8-1+squeeze5 
    linux-image-vserver-amd64 2.6.32+29 
    make 3.81-8 
    util-vserver 0.30.216-pre2864-2+b1 
    debootstrap 1.0.26+squeeze1

software

apt-get purge nano
apt-get install vim sudo smartmontools dmidecode dnsutils screen
->
    sudo 1.7.4p4-2.squeeze.3
    libcap-ng0 0.6.4-1
    smartmontools 5.39.1+svn3124-2
    libgeoip1 1.4.7~beta6+dfsg-1
    libxml2 2.7.8.dfsg-2+squeeze6
    libisc62 1:9.7.3.dfsg-1~squeeze8
    libdns69 1:9.7.3.dfsg-1~squeeze8
    libisccc60 1:9.7.3.dfsg-1~squeeze8
    libisccfg62 1:9.7.3.dfsg-1~squeeze8
    libbind9-60 1:9.7.3.dfsg-1~squeeze8
    liblwres60 1:9.7.3.dfsg-1~squeeze8
    bind9-host 1:9.7.3.dfsg-1~squeeze8
    dnsutils 1:9.7.3.dfsg-1~squeeze8
    geoip-database 1.4.7~beta6+dfsg-1
    sgml-base 1.26+nmu1
    xml-core 0.13
    screen 4.0.3-14


(vim, dmidecode existed already)

reboot

to activate changes

reboot

admin accounts

created

bind sshd to host addresses

to prevent sshd from interfering with vserver ip-addresses, bind sshd to host addresses:

/etc/sshd/sshd_config:
	#ListenAddress ::
	#ListenAddress 0.0.0.0
	ListenAddress 127.0.0.1
	ListenAddress 78.46.139.5
	ListenAddress 2a01:4f8:190:5484::2

/etc/init.d/ssh restart
project/sys03/basicsetup.txt · Zuletzt geändert: 2013/05/18 10:33 von 78.42.203.208