How to update DA?

In reference to this, I was wondering if there's a regular update schedule for the DA-compiled programs? I mean, in the event of a security issue or whatever, does clicking "update" in the control panel update vulnerable programs, (ie. apache, exim, etc?) or are these only compiled in the initial install, then manually from then on?
 
Clicking update will only update DA you have to do the rest manually. The customapache system they have is quite easy to manage and takes care of a good number of apps in one command, well maybe three.
 
Cool. So, does anyone happen to have a shell script that'll go out and grab all the latest versions of the DA-specific tools? (ie. things that can't be updated by a stock yum or up2date update)?
 
cd /usr/local/directadmin/customapache

./build clean
./build update
./build all

is what i always do... but remember, when you manually update anything for php / apache you will need to edit the version number in the build file:

vi build

Mike
 
Look through the build file as it does not update everything that needs to be maintained such as mysql and perl. You will still need to do those and others yourself.
 
Mikey, are you referring to the install how-to?

So, basically, you rebuild the world with each update? Hmm. Thought there'd be a better way. No reason to rebuild apps that haven't been updated.
 
So then, if I understand it correctly, let's say there's a big php vulnerability that needs to be patched. Simply doing an "update directadmin" from the control panel itself does NOT remedy this - even if the DA authors create new versions for distribution?

Gosh, if that's the case then you'd think there'd be a way to stay on top of important security updates more simply than having to check this forum every day.

DirectAdmin gurus, what are the chances of making an update shell script that goes out to your server and checks for new source code and does the build for you? SOmething we could run in a cron job to keep our machines update with all the latest software patches?

(I realize that those who do their own mods like installing Apache2, etc, might not be able to use a system like this)

I run "yum -y update" on my centos boxes every night, and on my RHEL machines, the RUN daemon checks in every 2 hours. A cron job to check for DA and supplied application updates would be killer!
 
Last edited:
[rant] You do not need to check here everyday for the latest update. There are tons of places to check. In fact you should not rely on this forum to let you know when a new update comes out. The updates are posted by other forum members to help out other admins. In the end it is your responability to monitor the applications you have installed on your server.

Yum and things like that are great and do help out in the administration of a server. However they tend to make people lazy and want one click to do everything. not to mention installing every update as soon as it comes out without knowing what it does or what it is chaning or if others have had issues with it is asking for trouble eventually.

There are control panels out there that lock you into updating them within the control panel using updates supplied by the CP vendor. The generally suck and break things all the time. Plus it takes longer to get the updates. With customapache you can get the update the minute it is released if you want.

I think one of the best things about DA is the customapache setup. DA lets the admin actually admin the server not the people that made the CP.[/rant]
 
Back
Top