Changes

Jump to navigation Jump to search
7,839 bytes added ,  18:18, 18 April 2016
m
Line 1: Line 1:  +
==Web XSCE==
 +
*http://schoolserver.xsce.org/xs-portal/
 +
:online schoolserver
 +
==[https://github.com/XSCE/xsce/wiki/XSCE-Installation XSCE-Installation]==
 +
*Read this first 02/11/2016 ^
 +
*updated install instructions
 +
::https://github.com/XSCE/xsce/wiki/XSCE-Installation
 +
::http://wiki.laptop.org/go/XS_Community_Edition/6.0
 +
 
=XSCE 6.0 Release Candidate 1 for CentOS “7.1”=
 
=XSCE 6.0 Release Candidate 1 for CentOS “7.1”=
 
+
*this section updated Dec 30, 2015
updated Dec 30, 2015
  −
*Important addendum:
  −
 
      
==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)==
Line 22: Line 28:  
:intel (tm) NUC kit D34010WYKH1
 
:intel (tm) NUC kit D34010WYKH1
 
:1 TB Seagate HD added to empty kit
 
:1 TB Seagate HD added to empty kit
 +
 +
*update: 02/18/2016
 +
yum -y update
 +
:NUC 5 with 2 TB HD
 +
: xfce and firefox
 +
:- 552 rpms
 +
::centos-xovis
 +
    
[[File:640px-System_setup--rotated.JPG|800px]]
 
[[File:640px-System_setup--rotated.JPG|800px]]
Line 249: Line 263:  
[[File:Schoolserver-content.png|700px]]
 
[[File:Schoolserver-content.png|700px]]
   −
=F21-server-netinstall with MATE=
+
=Centos 7.2 install on NUC 6i3=
*REF from : https://github.com/XSCE/xsce/blob/master/docs/INSTALL.rst
+
::Updated April 14 2016
*option 1
+
*'''Work in Progress Do not use'''
 +
*Intel NUC kit NUC6i3SYH
 +
*Patriot Signature Line 16GB (2x8GB) DDR4 PCA-17000 2133MHZ CL15 SODIMM Kit
 +
:NOTE; '''requires a HDMI cable with full size connectors at both ends.'''
 +
::Older models have a mini HDMI at NUC
 +
*need to do these updates:
 +
:1)Update Bios
 +
: https://downloadcenter.intel.com/download/25864/BIOS-Update-SYSKLi35-86A- ''([http://nucblog.net/2016/03/bios-version-0039-for-skylake-nucs/ sy0039.bio as of late March 2016], but [https://downloadcenter.intel.com/product/89189 CHECK] for latest!!)''
 +
::'''SY0042.BIO''' as of 05/16/2016
 +
: Blog:
 +
:: http://nucblog.net/2016/03/bios-version-0039-for-skylake-nucs/
 +
:2) Wifi AP mode on the NUC6i3 works with the standard kernel.  All that
 +
:is required is to download the firmware for then AC8260 (1), and copy it to /lib/firmware.
 +
: http://www.intel.com/content/www/us/en/support/network-and-i-o/wireless-networking/000005511.html
 +
:3) Supported Memory:
 +
:  http://www.intel.com/content/www/us/en/support/boards-and-kits/intel-nuc-kits/000016245.html
 +
 
 +
==centos_7.2_nuc6i3.img==
 +
 
 +
*Bios Update
 +
: select non efi settings (uncheck efi[ ]) in f2 Setup booted with no Hard Drive or USB attached
 +
: Save and shutdown
 +
: Insert USB [1] with Bios Update; Boot to f2 Bios; Press f7 and select USB file.
 +
: Wait for Update to Complete.
 +
: Insert Hard Drive (Note 4 Phillips screws that hold HD holder must be loosened to insert HD); Re tighten.
 +
:: Be sure to extract the SY0042.BIO and iwlwifi-8000-ucode-25.30.13.0 before copying to USB if needed
 +
:http://download.unleashkids.org/xsce/downloads/160407_centos_7.2_nuc6i3.img
 +
 
 +
*dd to a USB or use gnome-disks restore to install to a > 4 GB USB
 +
:Boot USB NUC 6i3 (f10 boot menu to select the USB)
 +
 
 +
==centos_7.2_tcore7.img==
 +
:http://download.unleashkids.org/xsce/downloads/160412_centos_7.2_tcore7.img
 +
*gnome-disks restore to 4 GB USB
 +
:boot NUC6i3
 +
:yum update
 +
:yum install 'Gnome Desktop'
 +
*reboot
 +
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”
 +
*Get the most recent version of the XSCE playbook
 +
cd /opt/schoolserver/xsce
 +
git pull
 +
./install-console
 +
:reboot
 +
:login xsce-admin
 +
*license agreement
 +
:startx (Gnome desktop)
 +
:firefox
 +
:schoolserver (click on right go to schoolserver)
 +
:Internet in a box
 +
:KA-Light still 0.15.1
 +
*ssD partition structure (500GB)
 +
[[File:SsD-structure.png|900px]]
 +
 
 +
*Boot NUC with USB stick inserted, using F10 is necessary
 +
*'''NOTE USB port on NUC or Laptop where TP-Link is connected must be marked and be the only port used.'''
 +
:Or the server will not communicate with XO's or laptops
 +
 
 +
*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.
 +
*Update Centos7
 +
yum update
 +
yum groupinstall 'GNOME Desktop'  (optional for testing)*
 +
Get the most recent version of the XSCE playbook
 +
cd /opt/schoolserver/xsce
 +
git pull
 +
./install-console
 +
 
 +
*Reboot
 +
 
 +
:Login to xsce-admin/(password)
 +
 
 +
startx
 +
*XSCE should start in Gnome Desktop
 +
*start firefox
 +
:enter "schoolserver" and a pop up on the right side of the URL entry box will ask if you want schoolserver
 +
:click on it
 +
*Internet -in-box will appear
 +
* go to "Tools for Administrators" "Admin Console"
 +
:Login as xsce-admin and the password you set earlier
 +
 
 +
==Problems encountered==
 +
* Rachel install fails with crc error
 +
:05/15/2016 tried 3x; failed each time. satellit
 +
 
 +
* KA-Lite problems
 +
:'''Version 0.15.1 @2015'''
 +
:05/17/2016  '''Manage''' (adding lessons) fails periodically as it looses internet connections.
 +
:Resumes D/L on re selecting topics, Seems to do D/L randomly from all topics.
 +
*IS this due to "sync" occurring?
 +
:[[File:KA-Light-fail.JPG|400px]]
 +
'''Click on screenshot to enlarge; hit <- in browser to return'''
 +
* https://github.com/learningequality/ka-lite/issues/4817  ?
 +
 
 +
==Meeting Notes 03/31/2016==
 +
"6th gen i3 NUC preliminary viability report from George -- does $249 @ http://frys.com/product/8732571 appear worth it for the masses in coming months?
 +
Short answer: YES, Amazingly considering all the complaints on Intel’s support wiki etc, this now appears extremely stable so far!  Longer answer evolving...
 +
Install bios 0039.BIO before you do anything!
 +
Context: http://nucblog.net/2016/03/bios-version-0039-for-skylake-nucs/
 +
AC8260 WiFi is soldered into these NUC6i3SYH & NUC6i3SYK require Linux kernel 4.1+; how can this possibly work with CentOS 7.2+?  Somehow it does..."
 +
 
 +
=F21-server-netinstall with xfce=
 +
*REF from : https://github.com/XSCE/xsce/blob/master/docs/INSTALL.rst (modified by satellit on 1/31/2016)
 
:NUC with 1 TB HD
 
:NUC with 1 TB HD
 
*Install on 32bit or 64bit Intel Machines
 
*Install on 32bit or 64bit Intel Machines
 +
"The tried and true option is to start with a netinstall of the current OS, detailed as "option 1" below, and gradually build the machine up from offline downloads":
   −
There are a number of options here, ranging from tried and true to new and experimental. The tried and true option is to start with a netinstall of the current OS, detailed as "option 1" below, and gradually build the machine up from offline downloads:
+
:Start with an install of the base OS based upon your hardware:
Option 1
+
http://download.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21.iso
 +
http://download.fedoraproject.org/pub/fedora/linux/releases/21/Server/i386/iso/Fedora-Server-netinst-i386-21.iso
 +
:Copy the downloaded iso to a USB stick (use dd in linux, or UNetbootin in windows)
 +
 
 +
==Kickstart files==
 +
:https://github.com/XSCE/xsce/tree/master/installer
 +
::For Live CD remixes + installers
 +
*Reference: https://wiki.sugarlabs.org/go/Build_Your_Own_Remix_with_Fedora
 +
 
 +
:https://raw.githubusercontent.com/XSCE/xsce/master/installer/netinstall/Fedora-21/install.ks
 +
*Add install.ks to root of USB
 +
*Hit tab when USB boots
 +
:Should do the following install automatically
 +
:NOT tested...
 +
*jvonau>: 02/01/2016
 +
:You need to use the label name of the usbkey.. to get the label ls '/dev/disk/by-label/ "
 +
:then use inst.ks=hd:LABEL=<what was returned above>:/install.ks
 +
:of if you know the what the device will be call then you could try:  inst.ks=hd:sdb1:/install.ks
 +
:"inst.ks=hd:sdb1:/install.ks "
 +
:inst.ks=hd:    sdb1: /install.ks    no spaces
 +
:inst.ks=hd:LABEL=  SOMENAME:  /install.ks  no spaces
 +
 
 +
==Various OS Kickstart files and info==
 +
:https://github.com/XSCE/xsce/tree/master/installer/netinstall
 +
 
 +
==Option 1 (modified)==
   −
:Start with a minimal install of the base OS based upon your hardware:
+
:Start with an install of the base OS based upon your hardware:
 
  http://download.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21.iso
 
  http://download.fedoraproject.org/pub/fedora/linux/releases/21/Server/x86_64/iso/Fedora-Server-netinst-x86_64-21.iso
 
  http://download.fedoraproject.org/pub/fedora/linux/releases/21/Server/i386/iso/Fedora-Server-netinst-i386-21.iso
 
  http://download.fedoraproject.org/pub/fedora/linux/releases/21/Server/i386/iso/Fedora-Server-netinst-i386-21.iso
Line 268: Line 422:  
*Select "system"-installation destination:
 
*Select "system"-installation destination:
 
:Device selection, click on hard disk, click checkbox for "I will configure partitioning", click done.
 
:Device selection, click on hard disk, click checkbox for "I will configure partitioning", click done.
:In the left side window, under the drop down box, click <any previous OS> (unless the disk is already clean)
+
*In the left side window, under the drop down box, click <any previous OS> (unless the disk is already clean)
 
:Click on the minus (which deletes the selected partition), select the "delete all other filesystems in .. as well"
 
:Click on the minus (which deletes the selected partition), select the "delete all other filesystems in .. as well"
:Then select the drop down option "standard partition" and click the "+" at the bottom
+
:Then select the drop down option "standard partition" and click the "install automatically" button
:In the "add a new mount point" window, click "/"
+
::Delete the /home partition and add the resulting space to /
:For the capacity enter the "total space" at bottom left of screen
+
:::Otherwise the /library/downloads directory is only 53.7 GB and fills up when trying to install rachel
 +
:modify the file type to '''ext2''' for all remaining partitions;  update with right bottom button
 
:Click the done twice, and the accept changes
 
:Click the done twice, and the accept changes
:Click on software selection, and then on lower left of that page select "minimal-x install"
+
*Click on software selection, and xfce desktop
:Click on MATE (install DE), done
+
:in right pane:
 +
::xfce extras; Admin tools; Devel Tools; Headless; system tools.
    
*Then click start install
 
*Then click start install
:You will need to put in a password for root, during the install.
+
:You will need to put in a password for root during the install.
 +
::'''DO NOT add a user as the ansible run later will add xsce-admin as user.'''
 
:At the end of the install, a button will appear, which asks you to reboot into the newly installed Operating System.
 
:At the end of the install, a button will appear, which asks you to reboot into the newly installed Operating System.
:Once you have a console prompt, the steps are pretty straight forward:
+
:Once you have logged in:, the steps are pretty straight forward:
 +
In terminal:
 +
ping yahoo.com (this verifies that the server is properly connected to internet after the reboot)
 +
yum -y install icecat (or firefox)
 +
*NOTE: There is no need to do a
 +
yum -y update
 +
::As the netinstall installs the latest files from the repo.
   −
:Connect the wifi unit to the adapter that will be used as the local area network (LAN), and make sure everything is under power with link lights.
+
*Connect the wifi unit to the adapter that will be used as the local area network (LAN), and make sure everything is under power with link lights.
 
*Issue the following commands:
 
*Issue the following commands:
  −
            ping yahoo.com (this verifies that the server is properly connected to internet after the reboot)
  −
            yum -y update
   
             yum -y install git ansible
 
             yum -y install git ansible
 
             cd /opt
 
             cd /opt
 
             mkdir -p schoolserver
 
             mkdir -p schoolserver
 
             cd schoolserver
 
             cd schoolserver
             git clone https://github.com/XSCE/xsce --branch stable --depth 1
+
             git clone https://github.com/XSCE/xsce
 
             cd xsce
 
             cd xsce
 
             ./install-console
 
             ./install-console
 
             reboot
 
             reboot
 +
*log in as root and add a password for xsce-admin
 +
passwd xsce-admin
 +
*login as xsce-admin
    
*I find it helpful to check that all the services are running on the server:
 
*I find it helpful to check that all the services are running on the server:
Line 303: Line 466:  
             ip addr (verify that the external adapter and the LAN adapter or br0 have ip addresses)
 
             ip addr (verify that the external adapter and the LAN adapter or br0 have ip addresses)
   −
*At this point you can connect to the server via the wifi at http://schoolserver/admin. Or with firefox from MATE desktop
+
*At this point you can connect to the server via the wifi at http://schoolserver/admin. Or with IceCat (firefox) from xfce desktop
   −
:Decide which services need to be enabled, check the checkboxes, save the configuration, and click "install configured server'.
+
:Decide which services need to be enabled, check the checkboxes, Save Configuration, and click "Install configured Options'.
 +
::Wait for "SUCCEEDED" in Utilities/Display job status.
   −
:Next download any content needed for rachel, kiwix, and/or other instructional materials.
+
:Next Install Content needed for rachel, kiwix, and/or other instructional materials.
 +
:: Note: '''Get Rachel''' only appears On Install Content if you checked the rachel check box in Configure services
 
:: There are instruction for how and where to place the downloaded materials in README files in each of the roles folders.
 
:: There are instruction for how and where to place the downloaded materials in README files in each of the roles folders.
   Line 315: Line 480:  
:run "xsceinst" to start the text installer
 
:run "xsceinst" to start the text installer
 
: use installer to set your root password but please do not use "xsce-admin" as a new user, that one is already taken.
 
: use installer to set your root password but please do not use "xsce-admin" as a new user, that one is already taken.
 
+
==Download new installer with graphical installer==
===Text-mode Installation===
+
http://download.unleashkids.org/xsce/downloads/installer/release6.0/x86_64/Fedora-22/
====NOTE only there seem to be problems with the formatting of the text mode install====
  −
* logged in to xsce-admin user: Only /home (/dev/sda1)500MB; seems to be available for installs of content. /dev/sda2(931GIB) does not appear to be used.
  −
:Install of zims seems to run out of space and stop
  −
 
  −
:http://wiki.laptop.org/go/XS_Community_Edition/Features/Liveiso
  −
*Download:
  −
:http://download.unleashkids.org/xsce/downloads/installer/experimental/   (27-Nov-2015 14:27  1.7G  )
  −
 
  −
Login as root, then run "xsceinst"
  −
 
  −
[[File:Xsceinst2.png|700px]]
  −
 
  −
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.
 
*Should you want to create another user please do not use "xsce-admin" as a new user, that one is already taken.
Line 337: Line 487:  
*Note: '''Please refrain from using liveinst during testing''', trying to implement that functionality in the future.
 
*Note: '''Please refrain from using liveinst during testing''', trying to implement that functionality in the future.
   −
*Note-2 On reboot of the server you will re-enter (text install) and be promted to add a user (optional) as XSXE-admin was preconfigured on the DVD.
+
==Graphical Install==
 +
See here to see screenshots of [[XSCE/graphic-install |graphical install]]
 +
: https://wiki.sugarlabs.org/go/XSCE/graphic-install#XSCE.2Fgraphic-install
 +
*DVD/Cd will boot to xterm at # (root) prompt
 +
xsceinst
 +
select language
 +
select [x]custom install
 +
[BACK]
 +
on left pane hit ( - ) and select [ x ]delete all
 +
change to standard partition
 +
delete ( - ) /home
 +
add amount of disk available in bottom left pane to /
 +
click  [update]
 +
[BACK]
 +
Install
 +
after install finishes: click the [complete] button
 +
*enter "poweroff" in now blank xterm
 +
reboot from hard disk
 +
*Login to root with password you entered in anaconda installer
 +
passwd xsce-admin
 +
dnf groupinstall xfce
 +
dnf install icecat
 +
logout
 +
login to xsce-admin
 +
* startxfce4
 +
[use default config]
 +
start icecat
 +
address in browser line: schoolserver
 +
pick right choice [take me to schoolserver]
 +
(logs in to: internet-in-a-box/xs-portal)
 +
*For access to admin console: use link on xs-portal
 +
*NOTE: graphical desktop does not start on re-boot
 +
:boots to: schoolserver login:
    
==Install Xfce==
 
==Install Xfce==
Line 468: Line 650:     
:http://www.ewikitech.com/articles/linux/how-to-mount-ntfs-partition-in-rhel-centos-7/
 
:http://www.ewikitech.com/articles/linux/how-to-mount-ntfs-partition-in-rhel-centos-7/
::Used to store  usb_32EN_3.1.5.zip to a ntfs external USB HD
+
::Used to store  usb_32EN_3.1.5.zip to a ntfs external USB HDhttps://github.com/XSCE/xsce/tree/master/installer/netinstall
 
::so one can copy zip to to a xsce install in /library/Downloads and shortcut the download time for rachel in xsce-admin
 
::so one can copy zip to to a xsce install in /library/Downloads and shortcut the download time for rachel in xsce-admin
   Line 485: Line 667:  
:[[Open_Educational_Resources|Open Educational Resources]]
 
:[[Open_Educational_Resources|Open Educational Resources]]
 
::https://wiki.sugarlabs.org/go/Open_Educational_Resources
 
::https://wiki.sugarlabs.org/go/Open_Educational_Resources
*see discussion for more links
 
12,355

edits

Navigation menu