Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For my future debian setups I'd like to use a common file containing lists of packages and commands to run after initial VPS creation ( I use linode ).

Could anyone advise what I could setup in order to accomplish this? I would want to throw in commands such as aptitude update and then aptitude install screen and dozens and dozens of packages to download.

share|improve this question

One way to deal with this would be to create a script (bash would be appropriate) that runs your various commands. In fact the script would be incredibly short if it read in the package names from another file.

The only problem would be if package names changed and you didn't notice/update the name in your script or file.

share|improve this answer
Yes I'm considering a bash script, but should it be barebones or is there some sort of program someone created which makes the process somewhat easier, more reliable incase of errors/invalid package names, etc? – meder omuraliev Oct 17 '10 at 20:13
Well there is this.... save you reinventing the wheel but I don't know how it will handle errors/invalid packages – chunkyb2002 Oct 17 '10 at 20:23
I've also used Cobbler ( before but only in a REHL/CentOS environment. It works really well though. – chunkyb2002 Oct 17 '10 at 20:25

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.