User Tools

Site Tools


computers:server:ubuntu10.04lts_hydra

This is an old revision of the document!


Base Install

  1. Clean install of Ubuntu 10.04 LTS
    1. Set for automatic install of security updates
    2. Services enabled:
      1. DNS
      2. OpenSSH
      3. Samba

Configuration

Network

  1. Set the local network to static IP address
    1. Modify the /etc/network/interfaces file with a static entry:
      # The primary network interface
      auto eth0
      iface eth0 inet static
              address x.x.x.x
              netmask 255.255.255.0
              network x.x.x.x
              broadcast x.x.x.255
              gateway x.x.x.1
              # dns-* options are implemented by the resolv.conf package, if installed
              dns-nameservers x.x.x.1
              dns-search lattice.net
  2. Restart the network:
    sudo /etc/init.d/networking restart

Raid

The moment of truth. How hard would it be to configure a raidz array out of the five 2TB drives? Um, two lines!? These instructions came from here

  1. Install the zfs code:
    sudo apt-get install zfs-fuse
  2. Turn our hard drives into a raid array:
    sudo zpool create media -m /storage raidz /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf

Software

Daemons

LAMP

Linux, Apache, Mysql and PHP as shown here

NOTE: According to the comments on that page, you could do all of these with this: (but I'm not that lazy, I can copy and paste a few lines)

sudo tasksel install lamp-server

mysql

sudo aptitude install mysql-server mysql-client

apache

sudo aptitude install apache2

php5

  1. Install php5
    sudo aptitude install php5 libapache2-mod-php5
  2. Restart the apache server
    sudo /etc/init.d/apache2 restart

mediatomb

NOTE: I could not get this to work, the content always came up with some kind of error. uShare worked right out of the box with no fusing, so I'm going to use that for the UPnP server.

samba

  1. Configure our samba server to share up some media

Programs

jed

sudo apt-get install jed
computers/server/ubuntu10.04lts_hydra.1307880450.txt.gz · Last modified: by david