Initial Configuration   view as chat

(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/hosts

127.0.0.1 localhost.localdomain localhost
192.168.1.1 camp.asiasource2 camp

sudo echo camp.asiasource2 > /etc/hostname
sudo shutdown -r now

Configure DNS resolver

use ISP's until our own DNS service is configured

sudo vi /etc/resolv.conf

nameserver 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 restricted

deb http://gb.archive.ubuntu.com/ubuntu/ feisty universe

sudo apt-get update
sudo apt-get install openssh-server


Disable IPv6

sudo vi /etc/modprobe.d/bad_list

alias net-pf-10 off

Time Synchronisation

Need to ensure that Blog/Wiki posts appear properly!

sudo ntpdate ntp0.pipex.net
sudo vi /etc/rc.local

ntpdate ntp0.pipex.net

Replace dash with bash

sudo ln -sf /bin/bash /bin/sh

Continue with the rest of the detailed Step-by-Step Installation Guide

Last edited by: Fran