You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!

Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.

If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.

Having a problem logging in? Please visit this page to clear all LQ-related cookies.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Hello, I'm new in linux world (my only approach was a couple of instalation on laptops and running some live CD's) and don't know even if this thread goes here, but I decided put it here because Ubuntu is the distro that I pretend to use.

Let me be more specific:
After study a lot of options (including the use of WXP) I decide to mount a small cibercafe using Ubuntu as OS in all the PC's (because this OS have a good relation in hardware requeriments, hardware support, flexibility, interfase similiar to WXP/Vista, costs, licencies, comunity support, and other issues), and wonder if can I use a USB flash of 4Gb (or even less) attached to each PC for run the OS and a NAS disk or a PC server dedicated to save customers files and downloads for decrease costs...

OPTION 1 (if there where more PC's on this network could be the best option)
USB 2.0 4Gb Flash drive USD$13.00 seven needed (one per client PC)
NAS enclosure USD$181.00 one needed
SATA II disk 500Gb USD$81.00 one needed
TOTAL USD$353.00

My real question is about how reliable, easy to install and operate are the options described above and if these does not interfere/slow down the internet traffic or the clients PC's or the network... or all at the same time

In plain numbers the 780Mbps of a SATA II HD is faster than the 480Mbps of the USB 2.0 Flash drive, but I want to use PC's based on Intel's Atom embebed CPU (the mobo are a Intel D945GCLF) and of course the PC are slow as the slower of it's components, so the SATA II disk are a overkill or the USB 2.0 are too slow even for these small CPU's? the server havenīt to be too big to manage all the Internet/network traffic and the clients files? (I figure if it's not a too heavy workload could be a dual core or a low end quadcore).

Maybe I extend too much in this post, but wanted to be as clear as I can, thanks for your answers (hope nobody falls asleep reading this )

Don't use any local storage. Network boot your machines, mount your root fs read only from your NAS (common for all machines), an individual /etc per machine from NAS as well, use a RAM disk for /var and /home can go on NAS or RAM depending on whether you want user persistence or not.

Reboot each machine between users.

Updates would merely mean a change of the one root structure and an ssh-agent triggered mass reboot.

You might want to look at something like cfengine to assist in config maintenance.

It's either that or re-image each local disk between users.
You can't trust your users at all.

You MUST talk to a local Linux guru. Network boot is the only reasonable option and it is missing from the list.

A USB storage at each PC is not an option since your users will need access to USB ports to copy data they downloaded, so this option is actually an offering of a free USB disk.

It looks reasonable to reboot after each user, but if all the users use the same guest account, then what extra security does it provide to you? Reboot helps to protect data accidentally left by a careless user from the next malicious one, but erasing user files on logout does the same.

If you want to protect users from each other, it si very likely you need to configure automatic logout after 5 minutes of inactivity. Some users will be guests and some will have their own login (so that their data persist on the server), so you will have to allow for easy creation of new accounts, automatically set the disk quota and detect inactivity.

Don't use any local storage. Network boot your machines, mount your root fs read only from your NAS (common for all machines), an individual /etc per machine from NAS as well, use a RAM disk for /var and /home can go on NAS or RAM depending on whether you want user persistence or not.
Reboot each machine between users.
Updates would merely mean a change of the one root structure and an ssh-agent triggered mass reboot.
You might want to look at something like cfengine to assist in config maintenance.
It's either that or re-image each local disk between users.
You can't trust your users at all.

The idea of re-image between users sounds a little complicated and time consuming, but the idea of network boot sounds good enought fo me... the hard part of it is to understand how to achieve that, I'm a too ambiciuos newbee??? be gentle with me, it's my first time to attempt to mount something that is "not on the disk" or on a tutorial with "click OK and it's ready" lol

[QUOTE=AGer;3343547]You MUST talk to a local Linux guru. Network boot is the only reasonable option and it is missing from the list./QUOTE]
completly agree with you, I tought that knew a little, now I know nothing...

Quote:

Originally Posted by AGer

A USB storage at each PC is not an option since your users will need access to USB ports to copy data they downloaded, so this option is actually an offering of a free USB disk

Not realy, I thinked about to plug the USB flash drive in a inaccesible port... or glue to it :P

Quote:

Originally Posted by AGer

It looks reasonable to reboot after each user, but if all the users use the same guest account, then what extra security does it provide to you? Reboot helps to protect data accidentally left by a careless user from the next malicious one, but erasing user files on logout does the same.