Changes

Jump to: navigation, search

Maintaining a Computer Lab (LTSP)

46 bytes added, 20:23, 31 March 2010
no edit summary
[[Category:Ubuntu]][[Category:Linux]]
 
= About Computer Lab Maintainance =
Knowing which type of programming language to use when automating a task is based upon a programmers knowledge base and experience. In other word, knowing which is the "'''best tool for the task'''". Should the program is be '''compiled''' (like C, C++, etc) for efficient operation? Should program be '''interpreted''' (eg. Shell Script, Perl Script, JavaScript) for ease of programming? Many factors are involved here, but '''shell scripting is definitely an easy way for the administrator to automate routine tasks'''... I will only be discussing Shell Scripting in the WIKI, although, you can access by webpage to learn other programming languages (like C - Course: IPC144)...
Problems like this such as these may occur from time-to-time, and a Linux administrator will be called upon to provide a solution. Let's take the previous problem and add an additional element. Let's assume that the high-school is used throughout the day and night (i.e. night-school). Let's assume that the only time that the system can be rebooted is between midnight and 7 am. Obviously, the high-school teacher (nor myself) want to say up twice a week after midnight to reboot the system. Therefore, it would make sense to have this shell script (run as the "administrator") automatically for a specificied date and time... 
... thus we would use '''cron'''. The cron command or utility stands for "'''Chronograph'''" and is a '''time-based scheduler for programs''' (like shell scripts).
 
Here is a link to a resource on how to use cron: [http://www.thewebhostinghero.com/tutorials/linux-cron.html http://www.thewebhostinghero.com/tutorials/linux-cron.html]
= Additional Resources =
 
Here is a link to Edubuntu's Documentation of the LTSP server:
[http://doc.ubuntu.com/edubuntu/edubuntu/handbook/C/server.html http://doc.ubuntu.com/edubuntu/edubuntu/handbook/C/server.html]
13,420
edits

Navigation menu