Difference between revisions of "XSCE"
Line 1: | Line 1: | ||
=XSCE 6.0 Release Candidate 1 for CentOS “7.1”= | =XSCE 6.0 Release Candidate 1 for CentOS “7.1”= | ||
+ | |||
updated 11/26/2015 | updated 11/26/2015 | ||
*Important addendum: | *Important addendum: | ||
+ | *'''UNDER CONSTRUCTION''' | ||
− | |||
==Download 1.8GB XSCE 6.0 Release Candidate 1 for CentOS “7.1” (November 2015)== | ==Download 1.8GB XSCE 6.0 Release Candidate 1 for CentOS “7.1” (November 2015)== | ||
+ | |||
*Download centos7_xsce.6.rc1.img | *Download centos7_xsce.6.rc1.img | ||
: http://download.unleashkids.org/xsce/downloads/installer/centos/centos7_xsce.6.rc1.img | : http://download.unleashkids.org/xsce/downloads/installer/centos/centos7_xsce.6.rc1.img | ||
Line 13: | Line 15: | ||
===Follow instructions here: (Option 1.5)=== | ===Follow instructions here: (Option 1.5)=== | ||
+ | |||
: https://docs.google.com/document/d/1Ez1H2LYrkqeXR_r5T93CMdmx9CeTJp_vC-IDBGam1Bc/edit#\ | : https://docs.google.com/document/d/1Ez1H2LYrkqeXR_r5T93CMdmx9CeTJp_vC-IDBGam1Bc/edit#\ | ||
Line 21: | Line 24: | ||
===Configuration=== | ===Configuration=== | ||
+ | |||
*Connect a USBtoEthernet dongle (adapter) from the NUC to a live Ethernet cable (with | *Connect a USBtoEthernet dongle (adapter) from the NUC to a live Ethernet cable (with | ||
live Internet) so that during installation, software can download and update itself. | live Internet) so that during installation, software can download and update itself. | ||
Line 32: | Line 36: | ||
== Install onto Intel NUC== | == Install onto Intel NUC== | ||
+ | |||
* Write to a USB stick with dd or gnome-disks restore | * Write to a USB stick with dd or gnome-disks restore | ||
* Windows users can use | * Windows users can use | ||
http://sourceforge.net/projects/win32diskimager | http://sourceforge.net/projects/win32diskimager | ||
− | ==Boot NUC with USB stick inserted, using F10 is necessary | + | ==Boot NUC with USB stick inserted, using F10 is necessary== |
+ | |||
*Type “erase” when requested | *Type “erase” when requested | ||
*Watch for “done!” or #prompt; ignore “I/O error”. | *Watch for “done!” or #prompt; ignore “I/O error”. | ||
Line 52: | Line 58: | ||
git pull origin master | git pull origin master | ||
− | ==Install the software that lets you access XSCE from a client browser == | + | ==Install the software that lets you access XSCE from a client browser== |
+ | |||
./install-console (fixes LAN; no need to “./runtags network”) | ./install-console (fixes LAN; no need to “./runtags network”) | ||
*Reboot | *Reboot | ||
Line 70: | Line 77: | ||
:Install Configured options (red button) | :Install Configured options (red button) | ||
:The teamviewer service will automatically install a graphical environment | :The teamviewer service will automatically install a graphical environment | ||
+ | |||
===Screenshots=== | ===Screenshots=== | ||
+ | |||
[[File:Iiab_on_XO-1.5.JPG|400px]] | [[File:Iiab_on_XO-1.5.JPG|400px]] | ||
Line 78: | Line 87: | ||
===Launch TeamViewer from topleft "Applications Menu" > Internet > TeamViewer 10 === | ===Launch TeamViewer from topleft "Applications Menu" > Internet > TeamViewer 10 === | ||
− | Caution for learning only -- traditionally X Windows (graphical environment) should not be intalled on servers, in general. | + | |
+ | Caution for learning only -- traditionally X Windows (graphical environment such as xfce, likewise TeamViewer running within it) should not be intalled on servers, in general. | ||
* Configure “Setup unattended access...” under TeamViewer’s Connection menu If You Dare. | * Configure “Setup unattended access...” under TeamViewer’s Connection menu If You Dare. | ||
* Separately, OpenVPN can also allow remote diagnosis and support (over lower-bandidth connections, without the live visual mentoring/screensharing aspects of TeamViewer of course!) | * Separately, OpenVPN can also allow remote diagnosis and support (over lower-bandidth connections, without the live visual mentoring/screensharing aspects of TeamViewer of course!) | ||
− | + | ||
+ | ===Install your favorite text editor=== | ||
+ | |||
+ | For example, run: | ||
yum install emacs | yum install emacs | ||
Line 95: | Line 108: | ||
yum install firefox | yum install firefox | ||
+ | |||
===Start the xfce desktop=== | ===Start the xfce desktop=== | ||
+ | |||
startxfce4 | startxfce4 | ||
==To make xfce start at default boot== | ==To make xfce start at default boot== | ||
+ | |||
cd /etc/systemd/system | cd /etc/systemd/system | ||
ln -sf /lib/systemd/system/graphical.target default.target | ln -sf /lib/systemd/system/graphical.target default.target | ||
Line 107: | Line 123: | ||
=F22-XSCE-LIVE= | =F22-XSCE-LIVE= | ||
+ | |||
'''NOTE''' use '''su''' to get to root of booted live; use installer to set your root password but please do not use "xsce-admin" as a new user, that one is already taken. | '''NOTE''' use '''su''' to get to root of booted live; use installer to set your root password but please do not use "xsce-admin" as a new user, that one is already taken. | ||
− | ===Text mode Installation=== | + | |
+ | ===Text-mode Installation=== | ||
+ | |||
:http://wiki.laptop.org/go/XS_Community_Edition/Features/Liveiso | :http://wiki.laptop.org/go/XS_Community_Edition/Features/Liveiso | ||
*Download: | *Download: | ||
Line 125: | Line 144: | ||
*Notes: '''Please refrain from using liveinst during testing''', trying to implement that functionality in the future. | *Notes: '''Please refrain from using liveinst during testing''', trying to implement that functionality in the future. | ||
− | ==Install | + | ==Install Xfce== |
− | :If you | + | :If you must have a graphical environment on your server, run: |
yum groupinstall xfce | yum groupinstall xfce | ||
− | === | + | ===Start the Sfce desktop=== |
− | :( | + | |
+ | :(Sfce will not start on next login, unless you arrange for that below) | ||
startxfce4 | startxfce4 | ||
[[File:Startxfce.png|400px]] | [[File:Startxfce.png|400px]] | ||
Line 145: | Line 165: | ||
===Logging into XSCE-admin from XO-1.5=== | ===Logging into XSCE-admin from XO-1.5=== | ||
+ | |||
[[File:Login_to_xsce_from_XO-1.5.JPG|400px]] | [[File:Login_to_xsce_from_XO-1.5.JPG|400px]] | ||
===To make xfce start at default boot=== | ===To make xfce start at default boot=== | ||
+ | |||
cd /etc/systemd/system | cd /etc/systemd/system | ||
ln -sf /lib/systemd/system/graphical.target default.target | ln -sf /lib/systemd/system/graphical.target default.target | ||
Line 156: | Line 178: | ||
==RACHEL== | ==RACHEL== | ||
+ | |||
*Link to rachel.zip | *Link to rachel.zip | ||
:http://46.235.224.50/rachelusb_32EN/ | :http://46.235.224.50/rachelusb_32EN/ | ||
==NOTES== | ==NOTES== | ||
+ | |||
:http://permalink.gmane.org/gmane.linux.laptop.olpc.server.devel/6534 | :http://permalink.gmane.org/gmane.linux.laptop.olpc.server.devel/6534 |
Revision as of 17:28, 3 December 2015
XSCE 6.0 Release Candidate 1 for CentOS “7.1”
updated 11/26/2015
- Important addendum:
- UNDER CONSTRUCTION
Download 1.8GB XSCE 6.0 Release Candidate 1 for CentOS “7.1” (November 2015)
- Download centos7_xsce.6.rc1.img
http://download.unleashkids.org/xsce/downloads/installer/centos/centos7_xsce.6.rc1.img
- use dd or gnome disks restore to write onto a USB memory stick, verifying its MD5 checksum equals
http://download.unleashkids.org/xsce/downloads/installer/centos/centos7_xsce.6.rc1.img.md5.txt
Follow instructions here: (Option 1.5)
Also See
- Google Docs with relevant info
- http://wiki.laptop.org/go/XS_Community_Edition/FAQ#Is_a_quick_installation_possible.3F
- https://docs.google.com/document/d/1Ez1H2LYrkqeXR_r5T93CMdmx9CeTJp_vC-IDBGam1Bc/edit#heading=h.hr9kca62zrfq
Configuration
- Connect a USBtoEthernet dongle (adapter) from the NUC to a live Ethernet cable (with
live Internet) so that during installation, software can download and update itself.
- Ideally, this live Ethernet wire leads from the dongle to a LAN port in the Netgear 3G
Modem/Router, whose WAN port (during this installation only!) leads to the Internet. Later you’ll verify “ping 8.8.8.8” and “ping mit.edu” works thru this wire, as will be discussed below.
- Connect an Ethernet cable and a powered TPLINK AP
- (LAN port, and tape over WAN port to make sure it’s never used)
to the NUC’s Ethernet port (its green link lights should light).
Install onto Intel NUC
- Write to a USB stick with dd or gnome-disks restore
- Windows users can use
http://sourceforge.net/projects/win32diskimager
Boot NUC with USB stick inserted, using F10 is necessary
- Type “erase” when requested
- Watch for “done!” or #prompt; ignore “I/O error”.
- Run “reboot”
- Optionally Disable all USB booting in BIOS: F2 on Boot > Boot Configuration >
Boot Devices > USB
- Likewise this should already be disabled: Boot > Boot Configuration > UEFI Boot > Boot USB Devices First
Login to your new server as: root / centos, then change both passwords:
passwd (changes root password) passwd xsce-admin (has sudo powers, careful!)
- Verify that you have internet connection with “ping yahoo.com”
- Ensure both your networking connections are live and connected in their final position.
Get the most recent version of the XSCE playbook
cd /opt/schoolserver/xsce git pull origin master
Install the software that lets you access XSCE from a client browser
./install-console (fixes LAN; no need to “./runtags network”)
- Reboot
- Test client machines can reach
http://schoolserver.lan
or
http://172.18.96.1
- Finally, if you have no downstream WiFi AP, try
http://localhost
from a browser on the server itself, and also try
http://localhost/admin
with username “xsce-admin” and the password you set above.
- Alternate:
Log into the command console (click on “Admin Console” link, user: xsce-admin and the password you set above)
- Select the services you want to install within "Configures services".
- Save configuration (green button)
- Install Configured options (red button)
- The teamviewer service will automatically install a graphical environment
Screenshots
Launch TeamViewer from topleft "Applications Menu" > Internet > TeamViewer 10
Caution for learning only -- traditionally X Windows (graphical environment such as xfce, likewise TeamViewer running within it) should not be intalled on servers, in general.
- Configure “Setup unattended access...” under TeamViewer’s Connection menu If You Dare.
- Separately, OpenVPN can also allow remote diagnosis and support (over lower-bandidth connections, without the live visual mentoring/screensharing aspects of TeamViewer of course!)
Install your favorite text editor
For example, run:
yum install emacs
Install xfce
- If you want a graphical environment on your server, run:
yum groupinstall xfce
Install browser, at your own risk
- Install your favorite browser IF YOU UNDERSTAND ITS INHERENT RISKS TO DESTROYING YOUR SERVER. For example:
yum install firefox
Start the xfce desktop
startxfce4
To make xfce start at default boot
cd /etc/systemd/system ln -sf /lib/systemd/system/graphical.target default.target
- If above line fails, run
unlink default.target
- then retry above "ln" command.
- Reboot to test graphical login, presumably with username: xsce-admin
F22-XSCE-LIVE
NOTE use su to get to root of booted live; use installer to set your root password but please do not use "xsce-admin" as a new user, that one is already taken.
Text-mode Installation
- Download:
- http://download.unleashkids.org/xsce/downloads/installer/experimental/ (27-Nov-2015 14:27 1.7G )
Login as root, then run "xsceinst"
Proceed through the guided prompts.
Reboot and login as "xsce-admin" with password "g0adm1n"
- Should you want to create another user please do not use "xsce-admin" as a new user, that one is already taken.
- Notes: Please refrain from using liveinst during testing, trying to implement that functionality in the future.
Install Xfce
- If you must have a graphical environment on your server, run:
yum groupinstall xfce
Start the Sfce desktop
- (Sfce will not start on next login, unless you arrange for that below)
startxfce4
- Disable screensaver
- Presuming you've installed Firefox above, go to:
http://localhost
http://localhost/admin
Logging into XSCE-admin from XO-1.5
To make xfce start at default boot
cd /etc/systemd/system ln -sf /lib/systemd/system/graphical.target default.target
- If above line fails, run
unlink default.target
- then try it again.
- Reboot to test graphical login, presumably with username: xsce-admin
RACHEL
- Link to rachel.zip