XS Community Edition/0.4/Installing: Difference between revisions
< XS Community Edition | 0.4
Jump to navigation
Jump to search
m (moved to sub-page) |
No edit summary |
||
(11 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{xsce}} |
{{xsce}} |
||
{{draft}} |
|||
What are you installing on? Choose an installation guide: |
|||
Thank you for [[../Testing|testing]] as progress moves quickly [[../Testing/Results|reinforcing support across x86, XO-1.5, XO-1.75, XO-4, x86, Trim-Slice and Raspberry Pi]] towards our [[../Road Map|imminent release]]. |
|||
{|class="wikitable" cellpadding="2" style="border: 1px solid darkgray; margin: 1em auto 1em auto;" |
|||
If you are installing on an XO, you may choose to install from an [[/Offline-XO|(1) Offline Image (preferred)]] or the more traditional [[#Online_Install_on_XO.27s|(2) Online Install method]]. |
|||
|- |
|||
| 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. |
|||
If you are installing on a non-XO, please read our growing community-contributed collection of [[#Install_Recipes_for_Non-XO_Hardware|(3) Install Recipes]]. |
|||
(might also clone XSCE from one XO to another, see [[Firmware/Storage]] for the fs-save and fs-load commands, and [[Tiny Core Linux]] for tools to use Linux for the task, and [[Backup]]. --[[User:Quozl|Quozl]] 08:31, 22 August 2013 (UTC)) |
|||
= Offline Install on XO's = |
|||
See [[/Offline-XO]]. |
|||
= Online Install on XO's = |
|||
See [[/Online-XO]]. |
|||
= Install Recipes for Non-XO Hardware = |
|||
Professional volunteers are strongly encouraged to reinforce support for other hardware platform running Fedora 18. For now we have: |
|||
== 32 bit Install == |
|||
#Install Fedora 18. Minimal installs that can fit on a CD, such as [http://mirrors.kernel.org/fedora-alt/releases/18/Spins/i386/Fedora-18-i686-Live-XFCE.iso XFCE] or [http://mirrors.kernel.org/fedora-alt/releases/18/Spins/i386/Fedora-18-i686-Live-LXDE.iso LXDE], work well. |
|||
#Log in as root and {{Code|yum -y update}} |
|||
#Verify wget is present, if not, then {{Code|yum -y install wget}} |
|||
#Disable SELinux: edit /etc/selinux/config from SELINUX=enforcing to SELINUX=disabled |
|||
#Reboot |
|||
#Ensure one or two ethernet devices are connected |
|||
#Ensure you are root |
|||
#Change directory by typing {{Code|cd /etc/yum.repos.d}} |
|||
#Download the required yum repo by typing {{Code|wget http://xsce.activitycentral.com/repos/xsce-rel4.repo}} |
|||
#Install xs-config by typing {{Code|yum -y install xs-config}} |
|||
#Type {{Code|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. |
|||
#When the install script is complete, it will declare, "XS configured; Ready to reboot and use" and then you'll be back at a prompt. |
|||
#At the prompt, type {{Code|reboot}} |
|||
== 64 bit Install == |
|||
#Install Fedora 18. Minimal installs that can fit on a CD, such as [http://mirrors.kernel.org/fedora-alt/releases/18/Spins/x86_64/Fedora-18-x86_64-Live-XFCE.iso XFCE] and [http://mirrors.kernel.org/fedora-alt/releases/18/Spins/x86_64/Fedora-18-x86_64-Live-LXDE.iso LXDE], work well. |
|||
#Log in as root and {{Code|yum -y update}} |
|||
#Verify wget is present, if not, then {{Code|yum -y install wget}} |
|||
#Disable SELinux: edit /etc/selinux/config from SELINUX=enforcing to SELINUX=disabled |
|||
#Reboot |
|||
#Ensure one or two ethernet devices are connected |
|||
#Ensure you are root |
|||
#Change directory by typing {{Code|cd /etc/yum.repos.d}} |
|||
#Download the required yum repo by typing {{Code|wget http://xsce.activitycentral.com/repos/xsce-rel4.repo}} |
|||
#Install xs-config by typing {{Code|yum -y install xs-config}} also type {{Code|yum -y install xs-config-x86_64}} |
|||
#Type {{Code|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. |
|||
#When the install script is complete, it will declare, "XS configured; Ready to reboot and use" and then you'll be back at a prompt. |
|||
#At the prompt, type {{Code|reboot}} |
|||
== Trim-Slice == |
|||
#The internal ethernet is configured as external internet connection and wifi is enabled as lan connection, (a second USB adapter required for connection to additional wifi access points). |
|||
#Grab the Fedora 18 Trim-Slice image at http://fedoraproject.org/wiki/Architectures/ARM/F18/Trimslice -- use the armhfp version. (I needed to {{Code|yum -y install xz}} to follow the {{Code|xzcat <image> > <device>}} instructions). |
|||
#For a while I used a SATA hard drive adapter to initialize the hard drive. Later I have started to use the Trim-Slice kernel made for flashing the internal uboot loader, which installs on an SD card, and can write the SATA drive in place. |
|||
# I found it necessary, during installs, to use a serial to usb adapter, and an XO running minicom (for me this uses /dev/ttyUSB0 115200). |
|||
# edit the {{Code|/boot/boot.scr}} as per instructions for USB/SATA, put the hard drive in the Trim-Slice, and boot |
|||
# Change directory by typing {{Code|cd /etc/yum.repos.d}}. |
|||
# Download the needed yum repo by typing {{Code|wget http://xsce.activitycentral.com/repos/xsce-rel4.repo}}. |
|||
#Change back to the root directory -- {{Code|cd}}. |
|||
#Type the command {{Code|yum -y install xs-config-ts}}. |
|||
#Then type {{Code|bootstrap-ts 2>&1 <pipe using vertical bar> tee -a boot.log}} 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. In case there are problems, the file {{Code|/root/boot.log}} will help with diagnosis. |
|||
#At the end the install script will declare, "XS configured; Ready to reboot and use." |
|||
#Type {{Code|reboot}}. |
|||
== Raspberry Pi == |
|||
# Download the image from http://xsce.activitycentral.com/downloads/rpi-xsce-0.4-1.img.gz, and the rpi-xsce-0.4-1.img.md5sum (-1,-2,-3, etc will include more recent fixes). |
|||
# Gunzip the <xxxx.img.gz> file. |
|||
# Run md5sum on the expanded .img file and compare with {{Code|cat < rpi-xsce...img.md5sum}}. |
|||
# Determine the /dev/<name> of the SD card you want to use with the Raspberry Pi. |
|||
# Use {{Code|dd}} to write the image to the SD card: <code>dd if=<file name> of=</dev/name></code> (probably /dev/sdb or mmcblk0). Don't include the "p1,p2" because the partition table gets written by the image. |
|||
# The image was created with an unprivileged user "admin" and a password of "12admin". If you don't have USB keyboard, mouse, and digital monitor, you can ssh in with these credentials. Sometimes you can view the IP addresses passed out by your router with a web browser to get the the Raspberry Pi's IP address. |
|||
# Root password is "fedora". Change this if you have pranksters in your vicinity by becoming root, and using command line "passwd". |
|||
# Change to user root by typing {{Code|su}}. enter the password for root |
|||
# It's recommended to resize the SD card partition to it's maximum available size. GParted or a similar tool would do the trick. |
|||
# type {{Code|xs-setup-network}} |
|||
'''To test the latest code:''' |
|||
# Change directory by typing {{Code|cd /etc/yum.repos.d}}. |
|||
# type {{Code|rm xs-devel.repo}} when prompted type {{Code|y}} |
|||
# Download the needed yum repo file by typing {{Code|wget http://xsce.activitycentral.com/repos/xsce-rel4.repo}}. |
|||
# Ensure you can access all the repos with {{Code|yum repolist}} (can be repeated if an error occurs.) |
|||
# type {{Code|yum update xs-config}} |
|||
# type {{Code|xs-setup}} |
|||
CAVEATS: Raspberry Pi is armv6 architecture, and XO is armv7hl. Some rpm packages are not available in the required form and some functions will have incomplete support. i.e: |
|||
# Stats |
|||
# [http://internet-in-a-box.org Internet-In-A-Box] |
|||
# ejabberd |
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:
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 | |
Online Install | |
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.