We help IT Professionals succeed at work.

How to set up a Linux student lab client

71 Views
Last Modified: 2020-04-10
I've been asked to set up a student lab with about 20 linux machines (ubuntu 18.04.4).

I'm starting this without any experience except that I was a Unix system admin 20 years ago, for about 10 years.

The students won't save any files to their machines.  Every time the machine reboots it will get a clean fresh instance of the machine.  If they want to save anything, they'll save it to a USB memory stick.

Thanks for any helpful suggestions or links.

(I have submitted a parallel question about how to set up the share on the server.)
Comment
Watch Question

Louis LIETAERSystem Infrastructure Architect
CERTIFIED EXPERT

Commented:
Hi,

You could install a PXE server to boot your classroom PC : here a link to install
https://linuxhint.com/pxe_boot_ubuntu_server/
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
No reason to setup 20x machines.

Just setup 1x machine + 20x containers (either LXD or Docker).

If you use Docker, all data is ephemeral + will disappear each time a container is restarted.

LXD will be more useful if labs use MariaDB/MySQL where data persists between container restarts.
Dwight BaerIT Support

Author

Commented:
Louis Lietaer - I apologize, I should have been more specific about the "givens".

A lot of what will happen on these machines is video watching, which is somewhat processor-intensive.  So the given is that we already have physical machines, each with a 250-GB SSD drive, 4 GB of RAM, and an i5 processor.  I need the machines to access the documents on the read-only share on the linux server.  The linux server is a vm in a Nutanix environment.

David Favor - "Docker" is a technology that I hadn't known about before.  Given that we already have physical machines, should/could I still be thinking about Docker for the future?  Or is this truly something that I should suggest for today.

What I was actually hoping to hear was simply suggestions about a linux configuration that other folks have used in student lab situations.  What should I install on the machine?
CERTIFIED EXPERT

Commented:
Do they have dvd drives?  You could boot from a Linux Live CD/DVD.  You could also use a "Live USB" that just loads into RAM.
System Infrastructure Architect
CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Dwight BaerIT Support

Author

Commented:
Thank you very much!
David FavorFractional CTO
CERTIFIED EXPERT
Distinguished Expert 2019

Commented:
About Docker + LXD.

Both of these technologies may be useful in your case, as since users will be reading documents + watching videos, you'll have lots of yields (reading data blocks) followed by CPU usage.

You can use either tech to partition off users so they're all 100% unable to modify any data outside their container.

So in your case, you might setup several containers/machine as a security/management mechanism.

This makes adding users or destroying users a per container action, which takes a few seconds, rather than having some complex script/policy for adding/destroying users.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.