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

  • Found these instructions here
  • Found some more stuff here (like how to add media)
  1. Update your repository information
    sudo apt-get update
  2. Install the server
    sudo apt-get install mediatomb
  3. Check it out by going to http://YOURSERVER:49152
  4. Modified settings in /etc/mediatomb/config.xml
    1. Altered the <name> tag to name our server
    2. Set this to “yes” to enable PS3 support: <protocolInfo extend=“yes”/>
    3. Add this to make the PS3 support happy:
      <map from="avi" to="video/x-divx"/>
      <map from="divx" to="video/x-divx"/>

samba

  1. Configure our samba server to share up some media

Programs

jed

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