Re: [SLE] Remote Update of Linux Applications
On Friday 29 March 2002 05:58 pm, Richard Bos wrote:
Hello Ron,
you could try apt. This Advanced pacakage Tool look for package to be upgraded, and if found will launch rpm to install the packages. Never the less the problem remains that you need to do is as root. Perhaps you can use "sudo"?
Op vrijdag 29 maart 2002 23:20, schreef je:
Hi all,
I have a project in which I need to remotely update my application. I was thinking that I could package up the application as an RPM, and place the RPM in a place where a cron job could check periodically. However, the cron job would need to kick off a process to install the RPM as root, which makes me feel a little uncomfortable.
Can anyone suggest a method that already exists to do this sort of thing? Am I going down the right path?
Thanks,
-ronc
Yes, I will have to use root permissions to do things this way, unless I want to isolate my application, install it and run it under its own user account, and not use RPM, but my own zip file format (like my own JAR file). RPM has some nice things in it already, though, such as the ability to sign the package (as Christopher Mahmood pointed out) as well as execute a script as part of the installation. Why re-invent the wheel and do that work if I don't have to? This is only for my updating my application on many remote servers, not for updating system components. -ronc
participants (1)
-
Ron Cordell