Technical:Installation Steps

From K12LTSP Wiki

Jump to: navigation, search

Contents

Typical Installation Steps

There are the steps to follow for a typical lab installation. Your process may vary, but this will get you started.

Download K12LTSP and Create Installation CDs/DVD

Download the latest [Download|DownLoad ISO Images] from K12LSTP.org. Burn the images to a CD/DVD

Set IP Address and hostname during setup

eth0: If you are using the typical two network card installation steps, leave the default of eth0 at 192.168.0.254.

eth1: You may need to set a static IP address for eth1 depending on your local network needs - consult your system administrator.

Hostname: Be sure to set the host hame here as doing it later takes more steps.

Change file references if using single NIC

This step is NOT recommended for typical installation.


NOTE: K12LTSP 4 does a much better job of configuring your system with non-default IP settings. If you do run into trouble, check these files when using a single ethernet card LTSP install:

You'll have to look through these files and replace 192.168.0.x with the appropriate IP network information for your network.

   /etc/exports
   /etc/hosts.allow
   /etc/rc.d/init.d/nat
   /etc/hosts
   /etc/dhcpd.conf
   /opt/ltsp/i386/etc/lts.conf
   /opt/ltsp/templates/k12linux/hosts-update.sh
   /opt/ltsp/templates/k12linux/setup-update.sh

Advanced Method

A single shell script to help with this is to put the above list - one item per line - in a simple text file and run the following bash script:

for file in `cat <path to file list>`
do
 sed -i -e 's/<old IP network/<new IP network/g' $file
done

for example: if you create a file in /tmp called file_list and you need to use IP network 192.168.23 instead of 192.168.0 you enter:

for file in `cat /tmp/file_list`
do
 sed -i -e 's/192.168.0./192.168.23./g' $file
done

NOTE: The network numbers include a trailing "." to make sure to get the entire thing and not clobber a 192.168.231. network!

Update to the latest files

Open a terminal windows at type

yum update

to update all your programs to the latest versions

Install all your choice of Addtional Software from the folder on the root desktop.

Setup Users and Groups

Standalone Installations

For standalone installations, go to Administration/Users and Groups to add users and groups. Be sure to create a group for Teachers and Students to use in fl_teachertool and other group permission settings. Be sure to add users to the appropriate groups.

Integrated Installations

LDAP
AD Integration

See the Technical section of this wiki for steps.

Install the Flash Plugin for Firefox

Open a terminal windows at type

yum -y install flash-plugin

Install fl_teachertool for Lab monitoring

fl_teachertool enables live monitoring of workstations. This tool is installed by default on K12LTSP. However having the software there does not configure it to work.

Follow these steps to configure for use on your server.

Set Custom Wallpaper and Login images

Place custom wallpaper images in

/usr/share/backgrounds/images/

Place custom login image in

/opt/ltsp/templates/k12linux/

Wallpaper will be set later during the Configure and Lockdown Desktop step

The Login Image can be set by going to Administration/Login Screen and selecting the Remote tab.

Set Firefox Home Page defaults

Set Open Office Default File Type

In an enviornment that uses both OpenOffice and Microsoft Office OR if you are using TurnItIn.com you will want to set OpenOffice to default the save file type to Microsoft Office file type (i.e. .doc, .xls, etc.) instead of the OpenOffice file types.

Open a terminal window and run the following script:

/opt/ltsp/templates/k12linux/openoffice-ms-format-defaults.sh

Note: On K12LTSP 5 EL you need to edit this file first and change "lib" in the BASE path to "lib64".

Setup Printers

Use Cups web interface to setup and configure printers.

http://localhost:631

Configure and Lock Down Desktop

KDE

Install Kiosk Admin Tool Follow steps at download site to configure and lock down your desktops

Gnome

Prevent Multiple Logins by the Same User

Edit the following file: /etc/sysconfig/k12ltsp

change

PURGE_PROCESSES=NO 

to

PURGE_PROCESSES=YES

This will kill user's first session if user logs in again.

Congratulations

You are now ready to use K12LTSP

Personal tools