Tuesday, July 7, 2009

July 7, 2009 - XO School Server

Today we began work on the XO School Server (XS) which Jeff needs for his students to be able to collaborate on projects. The server runs on Fedora 9 and is available as an integrated OS/XO script ISO image on the OLPC wiki.

The first thing we did was install the server (after much tampering with the box's BIOS). I named it schoolserver.ict.gctaa.net and gave it a static IP address by writing a new network script (ifcfg-eth0-local) and by editing /etc/resolv.conf.

The static IP address was set with the following code in /etc/sysconfig/network-scripts/ifcfg-eth0-local:

IPADDR=192.168.209.254
NETMASK=255.255.255.0
NETWORK=192.168.209.0
BROADCAST=192.168.208.255
GATEWAY=192.168.209.1

For the sake of later convenience, I commented out the original contents of resolv.conf and simply appended the new domain and (school) DNS servers beneath:

search ict.gctaa.net
nameserver 158.59.255.11
nameserver 158.59.254.12

Being that Jabber is going to be one of the main applications of this server, I set the ejabberd daemon to automatically start at boot:

chkconfig --level 345 ejabberd on

When trying to check whether Jabber was actually working or not after applying all these changes to the server, I received an error that I interpreted to mean that Jabber couldn't qualify its new hostname, which I will look into shortly.

Otherwise, everything went very well, and I expect great things for tomorrow.

No comments:

Post a Comment