Ubuntu and Linux Terminal Server Project <ul><li>Dr. Sameer Verma, Ph.D. </li></ul><ul><li>Associate Professor </li></ul><...
About <ul><ul><li>teach:   information systems strategy and governance </li></ul></ul><ul><ul><li>research:  diffusion and...
Courses I Teach <ul><li>Managing Open Source </li></ul><ul><ul><li>Information Systems elective </li></ul></ul><ul><ul><ul...
Managing Open Source <ul><li>Introduction to FOSS on Windows </li></ul><ul><ul><li>The Open CD/The Open Disc </li></ul></u...
Multimedia Business Application Development <ul><li>The experiment </li></ul><ul><ul><li>Software needed for the class: Ap...
Applications <ul><ul><li>GIMP – Bitmapped graphics </li></ul></ul><ul><ul><li>Blender – 3D rendering </li></ul></ul><ul><u...
Examples <ul><ul><li>Elephant's Dream </li></ul></ul><ul><ul><li>CG animation made entirely with FOSS </li></ul></ul>
Assignment <ul><li>ccmixter.org </li></ul><ul><ul><ul><li>Audio assignment based on ccmixter.org samples and loops </li></...
Our “Linux” Lab <ul><li>Communication and Advanced Computing Lab </li></ul><ul><ul><li>Limited/specialty software lab </li...
Lab <ul><li>Dual boot Ubuntu Dapper and Edgy and Windows XP. </li></ul><ul><li>Installation and upgrades are labor-intensi...
 
Medusa Project
Thank you! <ul><li>Bo Kim – taking up the challenge </li></ul><ul><li>Jack Tse and Don Strickler – loaning us a switch </l...
What is LTSP? <ul><li>Linux Terminal Server Project </li></ul><ul><ul><li>Allows “thin” clients to connect to a Linux Term...
<ul><li>A “thin” client performs a Preboot Execution Environment (PXE) boot and retrieves an IP from the LTSP server via D...
How it works <ul><li>A small footprint Linux image is sent to the thin client computer via TFTP. </li></ul><ul><li>The cli...
How it works <ul><li>All programs execute in a X session on the server, but are forwarded via ssh and displayed on the thi...
What Does it Look Like? 192.168.0.0/24 eth1 eth0 firewall SFSU 130.212.14.0/24
Hardware Requirements <ul><li>Server </li></ul><ul><ul><li>CPU should be powerful enough to run multiple simultaneous X se...
Hardware Requirements <ul><li>Client </li></ul><ul><ul><li>Minimum </li></ul></ul><ul><ul><ul><li>Pentium II with 64 MB RA...
Networking Requirements <ul><li>Network </li></ul><ul><ul><li>Avoid </li></ul></ul><ul><ul><ul><li>Hubs </li></ul></ul></u...
Software Requirements <ul><li>A Linux distribution with or without LTSP included. </li></ul><ul><ul><li>LTSP (if not insta...
Software Requirements <ul><li>Four services running on the LTSP server: </li></ul><ul><ul><li>DHCP for IP address leases <...
Advantages  <ul><li>Diskless clients </li></ul><ul><li>Highly centralized </li></ul><ul><ul><li>patches </li></ul></ul><ul...
Thin Client Scenario Client Server Pentium II 128 MB RAM Pentium 4 4 GB RAM Distribution of “crunch”
Fat Client Scenario Client Server Pentium III 512 MB RAM Pentium III 512 MB RAM Distribution of “crunch” Individual installs
Lowfat Client Scenario Client Server Pentium 4 2 GB RAM Pentium III 1 GB RAM Distribution of “crunch” PXE Boot images LDAP...
Ubuntu 8.04 (Hardy Heron) <ul><li>Alternate CD </li></ul><ul><ul><li>At boot screen, hit F4 and select LTSP server </li></...
LTSP 5 <ul><ul><li>Many more options for building images </li></ul></ul><ul><ul><li>Default image is a thin client based o...
LTSP and Sugar sudo apt-get install sugar*
Ten steps for fun and profit! <ul><li>Get the alternate CD  http://releases.ubuntu.com/releases/8.04/   </li></ul><ul><li>...
Links to check out <ul><li>http://ltsp.org/ </li></ul><ul><li>http://en.wikipedia.org/wiki/Linux_Terminal_Server_Project <...
Contact
Upcoming SlideShare
Loading in …5
×

Ubuntu and Linux Terminal Server Project

16,626 views

Published on

Slides from UbuCon at LinuxWorld 2008

Published in: Economy & Finance, Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
16,626
On SlideShare
0
From Embeds
0
Number of Embeds
1,142
Actions
Shares
0
Downloads
276
Comments
0
Likes
3
Embeds 0
No embeds

No notes for slide

Ubuntu and Linux Terminal Server Project

  1. Ubuntu and Linux Terminal Server Project <ul><li>Dr. Sameer Verma, Ph.D. </li></ul><ul><li>Associate Professor </li></ul><ul><li>Information Systems Department </li></ul><ul><li>College of Business </li></ul><ul><li>San Francisco State University </li></ul><ul><li>San Francisco, CA 94132 USA </li></ul>Ubuntu Community Day, LinuxWorld 2008
  2. About <ul><ul><li>teach: information systems strategy and governance </li></ul></ul><ul><ul><li>research: diffusion and adoption (open source, mobility) </li></ul></ul><ul><ul><li>fun: ubuntu, olpc, mythtv, etc. </li></ul></ul>Me SF State University <ul><ul><li>Open Source at SF State http://opensource.sfsu.edu </li></ul></ul><ul><ul><li>OLPC-SF list http://lists.laptop.org/listinfo/olpc-sf </li></ul></ul><ul><ul><li>One of the largest live environments of Moodle </li></ul></ul><ul><ul><li>Software Freedom Day 2006, 2007 (and 2008) </li></ul></ul>
  3. Courses I Teach <ul><li>Managing Open Source </li></ul><ul><ul><li>Information Systems elective </li></ul></ul><ul><ul><ul><li>Free and Open Source Software in general </li></ul></ul></ul><ul><ul><ul><li>Collaborative software development </li></ul></ul></ul><ul><ul><ul><li>Licensing </li></ul></ul></ul><ul><ul><ul><li>Business models </li></ul></ul></ul><ul><ul><ul><li>Software maturity models </li></ul></ul></ul><ul><li>Multimedia App Development </li></ul><ul><ul><li>Information Systems elective </li></ul></ul><ul><ul><ul><li>Use of multimedia applications </li></ul></ul></ul><ul><ul><ul><li>Graphics, Animation, Desktop Publishing, Audio, Video, Web </li></ul></ul></ul><ul><ul><ul><li>Content creation and licensing </li></ul></ul></ul><ul><ul><ul><li>Business models </li></ul></ul></ul>
  4. Managing Open Source <ul><li>Introduction to FOSS on Windows </li></ul><ul><ul><li>The Open CD/The Open Disc </li></ul></ul><ul><li>Introduction to Ubuntu </li></ul><ul><ul><li>Live CDs + voluntary installs </li></ul></ul><ul><ul><li>Linux Lab with Ubuntu </li></ul></ul><ul><li>Introduction to the Open Source “community” </li></ul><ul><ul><li>Field study: Attend a LUG meeting </li></ul></ul><ul><ul><li>Guest Speakers </li></ul></ul>
  5. Multimedia Business Application Development <ul><li>The experiment </li></ul><ul><ul><li>Software needed for the class: Approx. $200 </li></ul></ul><ul><ul><li>Will a student at a public university spend $200 on software for a semester? </li></ul></ul><ul><ul><li>Can FOSS tools adequately fill the need? </li></ul></ul><ul><li>Important constraint </li></ul><ul><ul><li>Choice of tool should be based on the curriculum and not the other way around. </li></ul></ul>
  6. Applications <ul><ul><li>GIMP – Bitmapped graphics </li></ul></ul><ul><ul><li>Blender – 3D rendering </li></ul></ul><ul><ul><li>Inkscape – Scalable Vector Graphics </li></ul></ul><ul><ul><li>Audacity – Audio editing and manipulation </li></ul></ul><ul><ul><li>Scribus – Desktop Publishing </li></ul></ul><ul><ul><li>Tux paint – Fun for kids...and grown ups! </li></ul></ul><ul><ul><li>Kino – Non-linear Digital Video Editor </li></ul></ul><ul><ul><li>Drupal * – Web 2.0 CMS </li></ul></ul>*Server-side
  7. Examples <ul><ul><li>Elephant's Dream </li></ul></ul><ul><ul><li>CG animation made entirely with FOSS </li></ul></ul>
  8. Assignment <ul><li>ccmixter.org </li></ul><ul><ul><ul><li>Audio assignment based on ccmixter.org samples and loops </li></ul></ul></ul><ul><ul><ul><li>Students download vocals, drum loops, effects, etc. and use Audacity to mix and recreate tracks. </li></ul></ul></ul><ul><ul><ul><li>Learn audio tools and legal aspects via Creative Commons licenses </li></ul></ul></ul>
  9. Our “Linux” Lab <ul><li>Communication and Advanced Computing Lab </li></ul><ul><ul><li>Limited/specialty software lab </li></ul></ul><ul><ul><ul><li>Dual-boot Windows XP and Linux </li></ul></ul></ul><ul><ul><ul><li>Windows XP </li></ul></ul></ul><ul><ul><ul><ul><li>Simulation </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Statistical Analysis </li></ul></ul></ul></ul><ul><ul><ul><li>Linux </li></ul></ul></ul><ul><ul><ul><ul><li>GIMP </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Inkscape </li></ul></ul></ul></ul><ul><ul><ul><ul><li>Audacity </li></ul></ul></ul></ul><ul><ul><ul><ul><li>... </li></ul></ul></ul></ul>
  10. Lab <ul><li>Dual boot Ubuntu Dapper and Edgy and Windows XP. </li></ul><ul><li>Installation and upgrades are labor-intensive. </li></ul><ul><li>Actively explored LTSP on Edubuntu platform (Feisty and Gutsy) </li></ul><ul><ul><li>Multiboot environment: PXE boot for Linux with Windows XP on local disk </li></ul></ul>
  11.  
  12. Medusa Project
  13. Thank you! <ul><li>Bo Kim – taking up the challenge </li></ul><ul><li>Jack Tse and Don Strickler – loaning us a switch </li></ul><ul><li>Tony Chan and Karl Schackne (BUS computing) – for letting us use the lab. </li></ul><ul><li>Edubuntu team – making an excellent LTSP distro! </li></ul>
  14. What is LTSP? <ul><li>Linux Terminal Server Project </li></ul><ul><ul><li>Allows “thin” clients to connect to a Linux Terminal Server. </li></ul></ul><ul><ul><ul><li>All programs run on the server </li></ul></ul></ul><ul><ul><ul><li>Clients run a thin Linux base with network and X session capabilities. </li></ul></ul></ul><ul><li>LTSP allows for a single point of configuration and control </li></ul><ul><ul><li>Great for lab environments </li></ul></ul><ul><li>LTSP until 4.x </li></ul><ul><li>LTSP 5 </li></ul>
  15. <ul><li>A “thin” client performs a Preboot Execution Environment (PXE) boot and retrieves an IP from the LTSP server via DHCP. </li></ul><ul><ul><li>/etc/ltsp/dhcpd.conf points to a bootable img file </li></ul></ul><ul><ul><li>Note location of the dhcpd.conf file </li></ul></ul>DHCP response PXE DHCP request How it works
  16. How it works <ul><li>A small footprint Linux image is sent to the thin client computer via TFTP. </li></ul><ul><li>The client loads the Linux image and starts the X window system via secure shell (ssh) </li></ul><ul><ul><li>client images and server have ssh keys </li></ul></ul>X session forwarded over ssh DHCP response + TFTP Linux image
  17. How it works <ul><li>All programs execute in a X session on the server, but are forwarded via ssh and displayed on the thin client. </li></ul><ul><li>Feedback from the user (keyboard & mouse) are sent back to the server over ssh as well. </li></ul>X session forwarded over ssh mouse+keyboard
  18. What Does it Look Like? 192.168.0.0/24 eth1 eth0 firewall SFSU 130.212.14.0/24
  19. Hardware Requirements <ul><li>Server </li></ul><ul><ul><li>CPU should be powerful enough to run multiple simultaneous X sessions. </li></ul></ul><ul><ul><ul><li>Intel Xeon processor(s). </li></ul></ul></ul><ul><ul><ul><li>75-150MB of RAM per client. </li></ul></ul></ul><ul><ul><ul><li>2 Network Interface Cards </li></ul></ul></ul><ul><ul><ul><li>Private interface preferably Gigabit </li></ul></ul></ul>
  20. Hardware Requirements <ul><li>Client </li></ul><ul><ul><li>Minimum </li></ul></ul><ul><ul><ul><li>Pentium II with 64 MB RAM and a 2MB display card. </li></ul></ul></ul><ul><ul><li>Recommended </li></ul></ul><ul><ul><ul><li>Pentium II and above with 64MB RAM and 4MB display card. </li></ul></ul></ul><ul><ul><ul><li>Identical hardware for each client preferred </li></ul></ul></ul>
  21. Networking Requirements <ul><li>Network </li></ul><ul><ul><li>Avoid </li></ul></ul><ul><ul><ul><li>Hubs </li></ul></ul></ul><ul><ul><ul><li>10-BaseT cards </li></ul></ul></ul><ul><ul><li>Preferred: </li></ul></ul><ul><ul><ul><li>100 Mbps switch </li></ul></ul></ul><ul><ul><ul><li>100-BaseT cards </li></ul></ul></ul><ul><ul><li>Ideal: </li></ul></ul><ul><ul><ul><li>Gigabit switch. </li></ul></ul></ul><ul><ul><ul><li>100 Mbps switch with 1 Gbps uplink to the LTSP server. </li></ul></ul></ul>
  22. Software Requirements <ul><li>A Linux distribution with or without LTSP included. </li></ul><ul><ul><li>LTSP (if not installed natively) </li></ul></ul><ul><ul><li>OR </li></ul></ul><ul><li>LTSP 5 </li></ul><ul><ul><li>LTSP 5 is significantly different </li></ul></ul><ul><ul><li>Builds thin-client environment off of the server environment. </li></ul></ul>sudo apt-get install... sudo chroot /opt/ltsp/i386/ sudo apt-get update...
  23. Software Requirements <ul><li>Four services running on the LTSP server: </li></ul><ul><ul><li>DHCP for IP address leases </li></ul></ul><ul><ul><li>TFTP for initial netboot kernel </li></ul></ul><ul><ul><li>NBD for filesystems </li></ul></ul><ul><ul><li>SSH for all communication on the LAN </li></ul></ul>subnet 192.168.0.0 netmask 255.255.255.0 { range 192.168.0.20 192.168.0.250; option domain-name &quot;sfsu.edu&quot;; option domain-name-servers 130.212.10.163; option broadcast-address 192.168.0.255; option routers 192.168.0.254; option subnet-mask 255.255.255.0; if substring( option vendor-class-identifier, 0, 9 ) = &quot;PXEClient&quot; { filename &quot;/ltsp/i386/pxelinux.0&quot;; } else{ filename &quot;/ltsp/i386/nbi.img&quot;; } option root-path &quot;/opt/ltsp/i386&quot;; } /etc/ltsp/dhcpd.conf
  24. Advantages <ul><li>Diskless clients </li></ul><ul><li>Highly centralized </li></ul><ul><ul><li>patches </li></ul></ul><ul><ul><li>firewalling </li></ul></ul><ul><li>Cost effective </li></ul><ul><li>Customized profiles </li></ul><ul><ul><li>LDAP auth </li></ul></ul><ul><li>Change lab footprint as needs grow </li></ul><ul><li>Invest in powerful server </li></ul><ul><li>Need a fast network </li></ul><ul><li>Documentation is weak </li></ul><ul><ul><li>Many references to LTSP 4.x </li></ul></ul><ul><li>Latency sensitive apps will not work well, especially multimedia </li></ul>Disadvantages
  25. Thin Client Scenario Client Server Pentium II 128 MB RAM Pentium 4 4 GB RAM Distribution of “crunch”
  26. Fat Client Scenario Client Server Pentium III 512 MB RAM Pentium III 512 MB RAM Distribution of “crunch” Individual installs
  27. Lowfat Client Scenario Client Server Pentium 4 2 GB RAM Pentium III 1 GB RAM Distribution of “crunch” PXE Boot images LDAP + NFS <ul><li>Authentication </li></ul><ul><li>Storage </li></ul><ul><li>Configuration </li></ul><ul><li>Backup </li></ul>
  28. Ubuntu 8.04 (Hardy Heron) <ul><li>Alternate CD </li></ul><ul><ul><li>At boot screen, hit F4 and select LTSP server </li></ul></ul><ul><ul><li>If your server has two NICs, the installation is seamless </li></ul></ul><ul><ul><li>You will be ready to boot into a thin client after the install </li></ul></ul>
  29. LTSP 5 <ul><ul><li>Many more options for building images </li></ul></ul><ul><ul><li>Default image is a thin client based on what's running on the server </li></ul></ul><ul><ul><li>Custom images (lowfat, kiosk, mythbuntu...) </li></ul></ul>sudo ltsp-build-client --workstation --Kubuntu sudo ltsp-build-client --workstation --Ubuntu sudo ltsp-build-client --kiosk sudo ltsp-build-client --mythbuntu ...
  30. LTSP and Sugar sudo apt-get install sugar*
  31. Ten steps for fun and profit! <ul><li>Get the alternate CD http://releases.ubuntu.com/releases/8.04/ </li></ul><ul><li>Get a machine (PIII will do) with two NICs </li></ul><ul><li>Boot from CD </li></ul><ul><li>Hit F4 at the boot screen </li></ul><ul><li>Select LTSP Server </li></ul><ul><li>Install </li></ul><ul><li>Plug in a crossover CAT5 into eth1 </li></ul><ul><li>Plug in a PXE Bootable client into the other end </li></ul><ul><li>Boot </li></ul><ul><li>Profit! </li></ul>
  32. Links to check out <ul><li>http://ltsp.org/ </li></ul><ul><li>http://en.wikipedia.org/wiki/Linux_Terminal_Server_Project </li></ul><ul><li>https://help.ubuntu.com/community/UbuntuLTSP/LTSPQuickInstall </li></ul><ul><li>http://edubuntu.org/Documentation </li></ul><ul><li>http://doc.ubuntu.com/edubuntu/edubuntu/handbook/C/customizing-thin-client.html </li></ul><ul><li>https://help.ubuntu.com/community/UbuntuLTSP/LTSPFatClients </li></ul>
  33. Contact

×