Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I want to create a script in Linux that automatically downloads the latest Joomla from their website and then installs it to the specified user. Is it possible in a shell script?

I don't know how it will find the latest Joomla and how it will work, but I want to know if it's possible

share|improve this question
    
It's certainly possible; are you looking for actual code? –  Michael Mrozek Apr 22 '11 at 5:49
    
that will be excellent –  Mirror51 Apr 22 '11 at 14:02

1 Answer 1

up vote 2 down vote accepted

Yes, of course it's possible. Any series of things you could do on a command line (and many that aren't feasible there) can be scripted. You will need to find some page or directory that has an identifiable link to the latest version. First parse so you know either the version or have a link to the latest file, then download it, then script out whatever steps need to be taken to install it.

share|improve this answer
    
can u give me some sample code –  Mirror51 Apr 22 '11 at 17:05
2  
No sorry I don't have time to write other people scripts that do their jobs for them. I can tell you it's possible and give you an outline, but basically scripting just involves writing down all the steps that you would normally do by hand and chaining them together. There are lots of bash and other shell scripting guides available on the web. This is a QnA site not mechanical turk, on demand tutorial or contract job board. If you get stuck on any specific steps feel free to ask specific questions. –  Caleb Apr 22 '11 at 19:36

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.