XS Community Edition/0.4/Installing

From OLPC
< XS Community Edition‎ | 0.4
Revision as of 17:43, 15 August 2013 by Ghunt (talk | contribs) (Installing)
Jump to: navigation, search

Prereqs

This recipe installs XS Community Edition on an XO running OLPC OS 13.2.0 (http://wiki.laptop.org/go/Release_notes/13.2.0). It assumes that the XO will have two network connections, one for the Internet and one for client XOs.

During the install process, your XS server must be connected to the Internet either via its built-in Wifi adapter/ears or through a USB Ethernet Adapter. This will be the way that the server talks to the Internet.

In order for the server to be able to talk to XOs it will need a USB ethernet adaptor connected to a separate Wifi access point (call it AP-LAN) so kids' XOs can later connect their XOs to the server.

Repeat any of the download steps below if they fail due to Internet/DNS glitches.

Installing

  1. If connecting to the Internet via WiFi, go to 'my neighborhood' and select a wireless network to connect to the Internet.
  2. Ensure one or two USB Ethernet Adapters are connected, see above.
  3. Launch Terminal Activity (unhide Terminal if necessary, clicking List View in the top right of Home View).
  4. Change to user root by typing "su".
  5. Make sure the date and time are set correctly by typing "date" at the command prompt. If it is not, set it manually using "date mmddhhmmyyyy" where mm=month, dd=day, hh=hour, mm=minute, yyyy=year. This is required for yum to work correctly.
  6. Confirm your connectivity to the Internet by typing "yum repolist" (can be repeated if an error occurs.)
  7. Change directory by typing "cd /etc/yum.repos.d"
  8. Download the needed yum repo by typing "wget http://xsce.activitycentral.com/repos/xsce-release.repo".
  9. Install xs-config-xo by typing "yum -y install xs-config-xo". (If you are installing on an XO-1, type "yum -y install xs-config-xo1"). See Installing XSCE on an XO1
  10. Type "bootstrap-xo" to configure the XO with software necessary to install the Schoolserver.
  11. When you are prompted, Press [Enter] to reboot.
  12. When you are prompted, Press [Enter] to log in as root.
  13. Type the command "xs-setup" . This generates a long list of "yum" install requests, similar to the normal adding of functions that you would do if you loaded a minimal "network" install CD from Fedora, and then added additional functions one at a time.
  14. At the end the install script will declare, "XS configured; Ready to reboot and use."
  15. Type "reboot".
  16. Note that if during testing the networking seems not to be working (and you are sure that access points are set up correctly) it is possible to reconfigure the network by typing the command "xs-setup-network".