User:Holt/XS Community Edition/Install Recipe: Difference between revisions
No edit summary |
|||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ |
{{deprecated}} |
||
<h1><b><i>For the latest instructions please see http://schoolserver.org thanks!</i></b></h1> |
|||
==Prereqs== |
==Prereqs== |
||
This recipe installs XS Community Edition on XO-1.5 (i386) |
This recipe installs XS Community Edition on XO-1.5 (i386), XO-1.75 (ARM) or larger i386/ARM servers running Fedora 17. Other Fedora platforms will be supported later, such as XO-4 and x86-64 -- as soon as we/someone finds access to this hardware to spin basic RPMs. Installing on XO-1 is NOT supported as memory/disk are insufficient. |
||
Later, prefab USB images for offline install should be provided for XO-1.5 and XO-1.75 with all packages preinstalled. |
Later, prefab USB images for offline install should be provided for XO-1.5 and XO-1.75 with all packages preinstalled. |
||
To begin, your server must connect to the Internet. WARNING: If using an XO-1.5 or XO-1.75, you must use |
To begin, your server must connect to the Internet. WARNING: If using an XO-1.5 or XO-1.75, you must use the built-in Wifi adapter/ears, or a 3G/cellular adapter (untested). In short, your XO server may NOT connect to the Internet thru a USB Ethernet adapter during the (current) installation process below. |
||
XO servers will however need a [[USB ethernet adaptors|USB Ethernet adapter]] (most will work, verify it's compatible with Fedora 17) and Wifi access point so kids' XOs can later connect the XS. |
XO servers will however need a [[USB ethernet adaptors|USB Ethernet adapter]] (most will work, verify it's compatible with Fedora 17) and Wifi access point so kids' XOs can later connect the XS. |
||
Line 16: | Line 19: | ||
<ul> |
<ul> |
||
<li>If on an XO-1.5 or XO-1.75, install this software release: http://wiki.laptop.org/go/Release_notes/12.1.0<br> |
<li>If on an XO-1.5 or XO-1.75, install this software release: http://wiki.laptop.org/go/Release_notes/12.1.0<br> |
||
Then turn off automatic power management within My Settings | Power. |
|||
<li>Or, if on a larger i386 or ARM (non-XO) server, install Fedora 17. |
<li>Or, if on a larger i386 or ARM (non-XO) server, install Fedora 17. |
||
</ul> |
</ul> |
||
Line 26: | Line 29: | ||
<li>Type "cd /etc/yum.repos.d" |
<li>Type "cd /etc/yum.repos.d" |
||
<li>Repeat any of the download steps below if they fail due to Internet/DNS glitches. |
<li>Repeat any of the download steps below if they fail due to Internet/DNS glitches. |
||
<li>Type "wget http://georgejhunt.com/olpc/files/xsce.repo" (downloads 200+ bytes) |
<li>Type "wget http://georgejhunt.com/olpc/files/xsce.repo" (downloads 200+ bytes). Or if you're daring, "wget http://georgejhunt.com/olpc/files/xsce-test.repo" (talk to [[User:GeorgeHunt|George Hunt]] if so!) |
||
<li> |
<li> |
||
<ul> |
<ul> |
||
<li>If on an XO-1.5 or XO-1.75:<br>Type "yum -y install xs-config-xo" (downloads 17+ MB).<br>Type "bootstrap-xo" (downloads 34+ MB).<br>Press [Enter] to reboot. |
<li>If on an XO-1.5 or XO-1.75:<br>Type "yum -y install xs-config-xo" (downloads 17+ MB).<br>Type "bootstrap-xo" (downloads 34+ MB).<br>Press [Enter] to reboot. |
||
<li>Or, if on a larger i386 or ARM (non-XO) server, running Fedora 17:<br>Type "yum -y install xs-config" (downloads several MB) |
<li>Or, if on a larger i386 or ARM (non-XO) server, running Fedora 17:<br>Type "yum -y install xs-config" (downloads several MB). |
||
</ul> |
</ul> |
||
<li>As root (eg. type "su" in Terminal), issue the command "xs-setup" . This xs-setup command 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. (downloads 200+ MB) |
<li>As root (eg. type "su" in Terminal), issue the command "xs-setup" . This xs-setup command 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. (downloads 200+ MB) |
||
Line 50: | Line 53: | ||
<li>Test Squid: open Browse on a client XO and visit a web page. Check the traffic is being recorded in XS file: /var/log/squid/access.log |
<li>Test Squid: open Browse on a client XO and visit a web page. Check the traffic is being recorded in XS file: /var/log/squid/access.log |
||
<li>Test enabling and disabling of services, monitoring with VNC: |
<li>Test enabling and disabling of services, monitoring with VNC: |
||
< |
<ol> |
||
<li>First bring up the Remote Administration control panel. From the XS browse to http://localhost/top then click on "Setup" in the top-left and try clicking on "Internet" near the top of the left frame. This page shows the options available for setting up internet access.<br>Click "Desktop" in the upper-right to bring up VNC. This page will provide feedback as the changes in check box selections are being applied<br>Unlock the screensaver using username "vnc" and password "*vnc4u*"<br>Click "Use default config"<br>Turn off screensaver under Applications Menu -> Settings -> Screensaver. |
<li>First bring up the Remote Administration control panel. From the XS browse to http://localhost/top then click on "Setup" in the top-left and try clicking on "Internet" near the top of the left frame. This page shows the options available for setting up internet access.<br>Click "Desktop" in the upper-right to bring up VNC. This page will provide feedback as the changes in check box selections are being applied<br>Unlock the screensaver using username "vnc" and password "*vnc4u*"<br>Click "Use default config"<br>Turn off screensaver under Applications Menu -> Settings -> Screensaver. |
||
<li>To disable a feature, click back to "School Server..." tab, and uncheck checkbox for "Enable local Domain Name storage" then click "Apply Changes".<br>Switch over to your VNC tab (kept open from above) and look inside output window "ncat" which pops up automatically -- this window will confirm enabling/disabling of checkbox changes.<br>Click back to "School Server..." tab. To reconfirm a service has been disabled (or enabled) click "Status" (temporarily "Server").<br>In this case "named" should have disappeared from the list of running services. |
<li>To disable a feature, click back to "School Server..." tab, and uncheck checkbox for "Enable local Domain Name storage" then click "Apply Changes".<br>Switch over to your VNC tab (kept open from above) and look inside output window "ncat" which pops up automatically -- this window will confirm enabling/disabling of checkbox changes.<br>Click back to "School Server..." tab. To reconfirm a service has been disabled (or enabled) click "Status" (temporarily "Server").<br>In this case "named" should have disappeared from the list of running services. |
||
</ |
</ol> |
||
<li>Try other classic XS features: http://wiki.laptop.org/go/XS_Troubleshooting |
<li>Try other classic XS features: http://wiki.laptop.org/go/XS_Troubleshooting |
||
</ol> |
|||
==Anna's Test Plan== |
|||
<ol> |
|||
<li>USB disks: many/most work? format if unformatted? |
|||
<li>Common Networking Scenarios Just Work: USB-ethernet adapters can be yanked/added anytime? anticipate big iron? |
|||
<li>iptables & gateway |
|||
<li>remote access: Browse Activity to localhost? Browse from another XO? Internet Explorer? ssh? |
|||
<li>ejabberd |
|||
<li>Core Services from https://docs.google.com/document/d/1nnQuxmu45d8sMwFP9G2JEZBuEYhMAnQBl87tmylcmxw/edit |
|||
<li>Extended Services from https://docs.google.com/document/d/1nnQuxmu45d8sMwFP9G2JEZBuEYhMAnQBl87tmylcmxw/edit |
|||
</ol> |
</ol> |
||
Latest revision as of 18:32, 12 June 2013
For the latest instructions please see http://schoolserver.org thanks!PrereqsThis recipe installs XS Community Edition on XO-1.5 (i386), XO-1.75 (ARM) or larger i386/ARM servers running Fedora 17. Other Fedora platforms will be supported later, such as XO-4 and x86-64 -- as soon as we/someone finds access to this hardware to spin basic RPMs. Installing on XO-1 is NOT supported as memory/disk are insufficient. Later, prefab USB images for offline install should be provided for XO-1.5 and XO-1.75 with all packages preinstalled. To begin, your server must connect to the Internet. WARNING: If using an XO-1.5 or XO-1.75, you must use the built-in Wifi adapter/ears, or a 3G/cellular adapter (untested). In short, your XO server may NOT connect to the Internet thru a USB Ethernet adapter during the (current) installation process below. XO servers will however need a USB Ethernet adapter (most will work, verify it's compatible with Fedora 17) and Wifi access point so kids' XOs can later connect the XS. Please be warned this is an early version--the product of an early focused effort by Jerry Vonau and George Hunt. Still lots of rough edges! Install Recipe
(all above evolving; copied from http://schoolserver.wordpress.com/xs-installation/community-edition-xs-on-xo-1-75/ on Nov 13, 2012) Further Quick Testing
Anna's Test Plan
BUGSView the bugs already filed against the School server |