XSCE

updated 11/21/2015

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
http://download.unleashkids.org/xsce/downloads/installer/centos/centos7_xsce.6.rc1.img
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)

https://docs.google.com/document/d/1Ez1H2LYrkqeXR_r5T93CMdmx9CeTJp_vC-IDBGam1Bc/edit#\

Configuration

  • Connect a USB­to­Ethernet 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 TP­LINK 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!” about 5­10 min later; 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 you the password you set above.

  • Alternate:

Log into the command console (click on “Admin Console” link, user: xsce-­admin pwd:g0adm1n)

  • Select the services you want to install on the Configure­­services enabled.
Save configuration (green button)
Install Configured options (red button)
The teamviewer service will automatically install a graphical environment

Launch TeamViewer from top­left "Applications Menu" > Internet > TeamViewer 10

Configure “Setup unattended access...” under TeamViewer’s Connection menu If You Dare.
The openvpn will allow remote diagnosis and support

Install your favorite text editor. For example, run:

yum install emacs ●
  • Install your favorite browser IF YOU UNDERSTAND ITS INHERENT RISKS TO

DESTROYING YOUR SERVER

Install Mate-Desktop

If you want a graphical environment on your server, run:
yum groupinstall "Mate desktop"   (use ")
yum groupinstall "X Window System"        (no ‘s’ on Window!) 

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