Initial Configuration   threaded view
Last edited by: Fran
Topic: (Part of the detailed Step-by-Step Installation Guide for setting up the Server)

Configure static IP

sudo vi /etc/network/interfaces# LAN1 (LAN)
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
network 192.168.1.0
broadcast 192.168.1.255# LAN2 (WAN)# example - depends on the WAN router details (which could even be ppp0 if using a USB ADSL modem)
auto eth1
iface eth1 inet static
address 172.16.3.1
netmask 255.255.255.0
network 172.16.3.0
broadcast 172.16.3.255
gateway 172.16.3.254 sudo vi /etc/hosts127.0.0.1 localhost.localdomain localhost
192.168.1.1 camp.asiasource2 campsudo echo camp.asiasource2 > /etc/hostnamesudo shutdown -r now

Configure DNS resolver

use ISP's until our own DNS service is configured
sudo vi /etc/resolv.confnameserver x.x.x.x
nameserver x.x.x.x

Install OpenSSH

After this, all admin can be done remotely via SSH :)(Use the local country repo instead of 'gb')sudo vi /etc/apt/sources.list#deb cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release i386 (20070415)]/ feisty main restricteddeb http://gb.archive.ubuntu.com/ubuntu/ feisty universesudo apt-get updatesudo apt-get install openssh-server

Disable IPv6

sudo vi /etc/modprobe.d/bad_listalias net-pf-10 off

Time Synchronisation

Need to ensure that Blog/Wiki posts appear properly!sudo ntpdate ntp0.pipex.netsudo vi /etc/rc.localntpdate ntp0.pipex.net

Replace dash with bash

sudo ln -sf /bin/bash /bin/shContinue with the rest of the detailed Step-by-Step Installation Guide