How to automate installation commands?
Hello
I want to ask please how can i automate the commands that i run on Centos to install some software like: Code:
wget linkhere I want to create a file that will have all the commands inside and when i run it from the terminal to get all what i want ready to use..... and not to have run every command by hand? Thank you |
Here is a simple how-to on creating a shell script, which is what you are looking for.
http://www.linfo.org/create_shell_1.html Please read it carefully, and follow the example. Once you have read it and completed the example, you will be able to turn your command list into a script that is executable. |
Ok thanks but i am looking for something more advance than that with some sleep, sed commands and so on :)
|
No problem. But looking at your post, you did not request that.
You can certainly follow that guide, and put some sleep and sed commands into the script as well. What is it that you are actually trying to do? And where are you in the process of doing it? Please explain. |
When i setup my web server i am just installing some software (a lot) and i am thinking to do it automatically :)
|
All times are GMT -5. The time now is 05:13 AM. |