XS Community Edition/0.4/Installing/Online-XO

From OLPC
Jump to: navigation, search

This IIAB XSCE content does not reflect the opinion of OLPC. These pages were created by members of a volunteer community supporting OLPC and deployments.

Online Install on XO's

This is the traditional install method, variations of which supporting most all hardware running Fedora 18.

Prereqs

This recipe installs XS Community Edition on an XO-1.5, XO-1.75 or XO-4 running OLPC OS 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.

Install Steps

  1. If connecting to the Internet via WiFi, go to 'Neighborhood View' and select a wireless network to connect to the Internet.
  2. From the XO Home screen, go to Settings, select "Power," then uncheck "Automatic power management."
  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 ping google.com
  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-rel4.repo.
  10. Ensure you can access all the repos with yum repolist (can be repeated if an error occurs.)
  11. 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.
  12. Type bootstrap-xo to configure the XO with software necessary to install the school server.
  13. When you are prompted, Press [Enter] to reboot.
  14. When you are prompted, Press [Enter] to log in as root.
  15. 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.
  16. At the end the install script will declare, "XS configured; Ready to reboot and use."
  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.