XS Community Edition/0.4/Installing: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(146 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{{xsce}}
=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.


What are you installing on? Choose an installation guide:
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.


{|class="wikitable" cellpadding="2" style="border: 1px solid darkgray; margin: 1em auto 1em auto;"
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.
|-
| colspan=2 style="background:#F5DEB3" height="60" width="120" align="center"| [[Image:Green_and_white_machine.jpg|80px]]<br />OLPC XO-1.5,<br>OLPC XO-1.75, or;<br>OLPC XO-4
|-
| style="background:#A4C639" height="40" width="120" align="center"| [[/Offline-XO | Offline Install (Preferred)]]
| style="background:#ADD8E6" height="40" width="120" align="center"| [[/Online-XO | Online Install]]
|-
| colspan=2 style="background:#F5DEB3" height="60" width="120" align="center"| Generic x86 PC
|-
| style="background:#ADD8E6" height="40" width="120" align="center"| [[/32bit | 32 bit Online Install]]
| style="background:#F0F8FF" height="40" width="120" align="center"| [[/64bit | 64 bit Online Install]]
|-
| colspan=2 style="background:#F5DEB3" height="60" width="120" align="center"| [[Image:trimslice.jpg|80px]]<br />Trimslice
|-
| style="background:#ADD8E6" height="40" width="120" align="center"| [[/TS | Online Install]]
|-
| colspan=2 style="background:#F5DEB3" height="60" width="120" align="center"| [[Image:rpi-logo.jpg|80px]]<br />Raspberry Pi
|-
| style="background:#ADD8E6" height="40" width="120" align="center"| [[/Pi | Online Install]]
|}


Or use our [[/Everything|everything in one page]] installation guide for printing. After installing, you might want to [[XS_Community_Edition/0.4/Configuring | configure]] your XSCE setup.
Repeat any of the download steps below if they fail due to Internet/DNS glitches.

=Installing Offline -- Using a downloaded Image=
#Download images at http://build.laptop.org.au/xsce/
#Install zd image file (“ok> fs-update <xxxxxxxx.zd>” ) --(play with devalias for external SDcard use. see http://wiki.laptop.org/go/Release_notes/10.1.0#External_SD)
#Reboot
#"telinit 5"
#Configure internet access
#Reboot or open terminal su
#yum update xs-config* <----- Don't forget this.
#Insert USB key to create or reuse the offline xs-repo. (optional-necessary to save the few rpms that are not part of the original image - enables completely offline installs in the future)
#xs-setup or xs-setup <domain> | tee -a screen-log.txt
#Reboot and inspect

==NOTES about Offline install : ==
*stripped out content and a limited set of activities
*ds-backup-client and olpc-update-query are disabled
*printing support
*TinyCore's xo-custom files
*all of stats' dependencies pre-installed
*pathagar
*Internet-In-A-Box e.g. partial dataset for testing: http://downloads.internet-in-a-box.org/IIAB_QuickStart_Sampler_20130809.tgz
*IIAB, xs-extras, and release-0.4-fixes repo files are pre-installed nothing to add to get newer rpms.
*For a complete list of rpms installed see the *packages.txt in the same directory. Now only 2 rpms (dhcpd and ejabberd) get installed later either online or from the optional usbkey. Warning the installed size is now ~2.4Gb up from ~1.9Gb.




=Installing Online -- the only method available for version 0.3=
<ol>
<li>If connecting to the Internet via WiFi, go to 'my neighborhood' and select a wireless network to connect to the Internet.
<li>Ensure one or two USB Ethernet Adapters are connected, see above.
<li>Launch Terminal Activity (unhide Terminal if necessary, clicking List View in the top right of Home View).
<li>Change to user root by typing "su".
<li>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.
<li>Confirm your connectivity to the Internet by typing "yum repolist" (can be repeated if an error occurs.)
<li>Change directory by typing "cd /etc/yum.repos.d"
<li>Download the needed yum repo by typing "wget http://xsce.activitycentral.com/repos/xsce-release.repo".
<li>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 | Installing XSCE on an XO1]]
<li>Type "bootstrap-xo" to configure the XO with software necessary to install the Schoolserver.
<li>When you are prompted, Press [Enter] to reboot.

<li>When you are prompted, Press [Enter] to log in as root.
<li>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.
<li>At the end the install script will declare, "XS configured; Ready to reboot and use."
<li>Type "reboot".
<li>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".
</ol>

Latest revision as of 07:25, 2 October 2013

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.

What are you installing on? Choose an installation guide:

Green and white machine.jpg
OLPC XO-1.5,
OLPC XO-1.75, or;
OLPC XO-4
Offline Install (Preferred) Online Install
Generic x86 PC
32 bit Online Install 64 bit Online Install
Trimslice.jpg
Trimslice
Online Install
Rpi-logo.jpg
Raspberry Pi
Online Install

Or use our everything in one page installation guide for printing. After installing, you might want to configure your XSCE setup.