tasks tasks and tasks... you always need to monitor them but how to schedule this monitoring so that i can get a file generated say every hour or four hours. You normally use the following command to transfer the output of top to a file
$ top > filename
and this works fine for you have you ever tried to add this entry as a cron job believe me it wont work i struggled a lot with it so finally whats the solution to schedule it The answer is use cron job, but i just said it wont work :) yes this wont work directly you need to add certain flags hey dont work you need not search them, below is the line which you can add as your cron job
Need to setup a lab/office with 200+ computers, very tiring job but look if you have machines identical in configuration why are you installing each of them why not install one and replicate it to others this will save a lot of time, But how will i do this?????????? Its very very simple you can do a dd of the source to all destination but this would be even difficult and a bit geeky, hey dont worry we have a solution for it use PXE.
Now what is this PXE??
Wikipedia "The Preboot eXecution Environment (PXE, also known as Pre-Execution Environment, or 'pixie') is an environment to boot computers using a network interface independently of available data storage devices (like hard disks) or installed operating systems."
Installing majority of softwares on Ubutu is just a like away same is the case with PostgreSQL
Installing PostgreSQL (8.3)
$ sudo apt-get install postgresql
Setting the password for the postgres user
$ sudo -u postgres psql template1
ALTER USER postgres WITH PASSWORD 'password-u-need';
this installs and configues the password for the postgreSQL
is this not easy with ubuntu
and yes if you need to use postgreSQL with PHP on your apache server the install the php5-pgsql module using the following
$ sudo apt-get install php5-pgsql