XS Community Edition/0.4/Installing

From OLPC
< XS Community Edition‎ | 0.4
Revision as of 07:40, 4 July 2013 by Ghunt (talk | contribs) (Installing)
Jump to: navigation, search

Prereqs

This recipe installs XS Community Edition on an XO running OLPC OS 13.1.0 (http://wiki.laptop.org/go/Release_notes/13.1.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. Turn power management off within My Settings | Power. (This is not required but will make life easier as the machine will not turn off.)
  2. If connecting to the Internet via WiFi, go to 'my neighborhood' and select a wireless network to connect to the Internet.
  3. Ensure one or two USB Ethernet Adapters are connected, see above.
  4. Launch Terminal Activity (unhide Terminal if necessary, clicking List View in the top right of Home View).
  5. Change to user root by typing "su".
  6. 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.
  7. Confirm your connectivity to the Internet by typing "yum repolist" (can be repeated if an error occurs.)
  8. Change directory by typing "cd /etc/yum.repos.d"
  9. Download the needed yum repo by typing "wget http://xsce.activitycentral.com/repos/xsce-release.repo".
  10. 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 [ index.php?title=User:Holt/XS_Community_Edition/0.4/Installing_XSCE_on_an XO1 ]
  11. Type "bootstrap-xo" to configure the XO with software necessary to install the Schoolserver.
  12. When you are prompted, Press [Enter] to reboot.
  13. When you are prompted, Press [Enter] to log in as root.
  14. 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.
  15. At the end the install script will declare, "XS configured; services should be active."
  16. When you are prompted, Press [Enter] to log in as root.
  17. Type "reboot".
  18. 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".