Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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 Oct 17 '10 at 20:13
1  
Well there is this.... fai-project.org 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 (fedorahosted.org/cobbler) before but only in a REHL/CentOS environment. It works really well though. –  chunkyb2002 Oct 17 '10 at 20:25

Your Answer

 
discard

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.