Return to Level1Techs.com

The Linux Classroom


#21

I mean, where would you want it to come from? It has to come from either the internet/online or a DVD as @Eden mentioned…


#22

It’s not about the source, it’s about distribution. What I ‘want’ is to be able to open a .deb in a package manager and it install. Period. Most of the time, that simply won’t work due to dependencies. The process for caching all required dependencies, copying them, creating the release file, repacking them, then setting up dpkg to see the archive as a source for dependencies, is a little much. There is no doubt in my or my staff’s mind that this can be made a more seamless process. We’ll publish anything we come up with in the coming months. We have admin tools to build now. And we’re figuring out the best way to create a virtual classroom for deployment testing. We also have curriculum translation to do from a Mac-intended class to Linux environments (really similar, but there are differences).


#23

Why can’t you use something like flatpack or snaps?


#24

I haven’t looked at Flatpak. It looks super promising. Thank you! Snaps require the snap manager be installed, doesn’t it? I like it, but don’t know if it solves our internet-less problem. I’ll have to look at what it takes to install snapcraft on a bare system. I really like the concept. I’ve never seen snaps used for file system services like samba or cifs before. I’ll run a VM up when the class settles down and do some testing!


#25

I want to thank everyone for their input. There are so many options, it’s a great help narrowing what to look at.

Odd question, has anyone ever had problems with libre office saving to an SMB share? The students can’t save directly to their share drive. I’m thinking of introducing them to sync software and telling them to work on their local machines.

Cheers,
-V.


#26

Holy shit something I’ve actually done!

Sorry I’m late to your thread, and most of what I would have said has already been mentioned, but I’d like to provide some practical examples for you.

Using MaaS and systemd is how I managed to build out my deployment. You’ll need to use Cubic Configurator: https://launchpad.net/cubic to build your image, and the curtinator to make it MaaS bootable. https://launchpad.net/curtinator

Once you make your changes in Cubic, you boot the image using curtinator to build a deployment image, allowing you to build a completely custom lab, and redeploy it at will. If you have questions about images I’d be happy to help.


#27

Woop woop. Thank you @iPat8 ! Can’t wait. Looks like late night remote desktops for me this weekend.


#28

Fun Fact:

You can overcome tether speed limits on Verizon by changing your default TTL to 65 and restarting. Sometimes you need a VPN depending on sites visited.

Unfortunately, when you bridge the wifi connection, like i have to temporarily, the virtual adapter generates a new ttl parameter. However, if (in Windows - yes, windows feeding linux machines…;( if you run:

netsh int ipv4 set glob defaultcurhoplimit=65
netsh int ipv6 set glob defaultcurhoplimit=65

and restart the machine (assuming windows doesn’t f’ up the bridge), bam. 40Mbps sha f’in zam


#29

If you can hold off for a few hours I’ll finish updating the readme so you’re not completely lost if you’d like to deploy an example.


#30

There’s apt-cacher-ng that could be useful if you have a few megabits down, … or you could mirror everything using ftpsync and shuffling the drive around: https://www.debian.org/mirror/ftpmirror


#31

Thx @iPat8 That’d be a huge help! One of our developer mentors sat in class with us and took a bunch of notes. He’s testing for us the next couple weeks and it’d be great to send him a guide. If he says a go, we’ll use one of our ‘free’ AWS accounts (oh the abuse) to do some scale testing. Woot.


#32

I am back at my home station next week. I’m passing this to one of our mentors to look at. He’s a windows .net and C# dev so any help is super appreciated! I have some old core-2-duo clients and a server myself to play with when I get back.


#33

For some reason, no matter what I tried, I couldn’t get full speed on the Linux machines. I was able to set time-to-live and pass through a VPN for 40Mbps on my windows laptop, but kept getting throttled to 600Kbps Ookla and ~15-25Kbps in apt-get* commands. I’m not sure why that is…


#34

Finished updating the readme. Sorry that took so long.


#35

Thanks. Prepping environment this week.