computers:server:ubuntu10.04lts_hydra
This is an old revision of the document!
Table of Contents
Base Install
- Clean install of Ubuntu 10.04 LTS
- Set for automatic install of security updates
- Services enabled:
- DNS
- OpenSSH
- Samba
Configuration
Network
- Set the local network to static IP address
- 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
- 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
- Install the zfs code:
sudo apt-get install zfs-fuse
- 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
- Install php5
sudo aptitude install php5 libapache2-mod-php5
- Restart the apache server
sudo /etc/init.d/apache2 restart
mediatomb
- Update your repository information
sudo apt-get update
- Install the server
sudo apt-get install mediatomb
- Check it out by going to http://YOURSERVER:49152
- Modified settings in /etc/mediatomb/config.xml
- Altered the <name> tag to name our server
- Set this to “yes” to enable PS3 support: <protocolInfo extend=“yes”/>
- Add this to serve up avi and divx files:
<map from="avi" to="video/x-divx"/> <map from="divx" to="video/x-divx"/>
samba
- Configure our samba server to share up some media
Programs
jed
sudo apt-get install jed
computers/server/ubuntu10.04lts_hydra.1307806744.txt.gz · Last modified: by david
