PDA

View Full Version : Updating the OS if DA is installed


finalwebsites
08-01-2007, 09:05 AM
Hi,

I have question about upgrades for the OS and related packages.

I have a working DA installation on some Ubuntu distribution, upgrading DA via the control panel is not a problem.

Now I want to update service like SSH, initd, spamassasin etc. On a machine without DA I use "apt-get" to handle all the updates. Is this also possible with directadmin?

I don't need to update LAMP at the moment. only the OS packages.

thanks...

Randy
08-01-2007, 01:01 PM
UK/English: It's not possible trough DirectAdmin. Use APT-GET instead. But be aware: don't updates packages that DirectAdmin updates.

NL/Dutch: Olaf, met APT kun je je packages updaten. Zorg er wel door dat je geen zaken als Apache, PHP, etc. gaat updaten met het APT systeem, anders maak je ze kapot.

finalwebsites
08-01-2007, 01:11 PM
UK/English: It's not possible trough DirectAdmin. Use APT-GET instead. But be aware: don't updates packages that DirectAdmin updates.

NL/Dutch: Olaf, met APT kun je je packages updaten. Zorg er wel door dat je geen zaken als Apache, PHP, etc. gaat updaten met het APT systeem, anders maak je ze kapot.

Hi Randy,

thanks for this information, is there a way to handle that? or do I need to update each package?
Is there a list of packages I need top exclude?

(leuk dat je het antwoord ook in het nederlands gepost hebt maar ik denk niet dat zij dit hier zo leuk vinden ;))

Randy
08-01-2007, 02:26 PM
Packages to exclude:

[root@sv03 ~]# cat /etc/yum.conf | grep exclude
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*
[root@sv03 ~]#

finalwebsites
08-01-2007, 02:29 PM
Packages to exclude:

[root@sv03 ~]# cat /etc/yum.conf | grep exclude
exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*
[root@sv03 ~]#

and after this I can run the apt-get command?

do I need this command with every update?

smtalk
08-01-2007, 02:35 PM
You need to add the exclude line to your /etc/yum.conf file.

finalwebsites
08-01-2007, 02:40 PM
You need to add the exclude line to your /etc/yum.conf file.
OK I got this, but this file doesn't exits at the moment is this possible?

finalwebsites
08-01-2007, 02:44 PM
OK,

this is what I did:

root@srv01:/etc# nano yum.conf

and added this row to the (new) file:

exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*

after that I can run apt-get, right?

smtalk
08-01-2007, 02:51 PM
Oh, sorry, I thought that you have yum :) You need to add this "exclude list" to the apt-get :)

finalwebsites
08-01-2007, 02:58 PM
Oh, sorry, I thought that you have yum :) You need to add this "exclude list" to the apt-get :)

is yum a package ?

so will say I need this command: (without having yum)

apt-get -u upgrade exclude=apache* httpd* mod_* mysql* MySQL* da_* *ftp* exim* sendmail* php* named* clamav*

jlasman
08-01-2007, 09:36 PM
If you're using apt-get then you need to exclude those programs from automatic update in the apt-get configuration. The references to yum are for RedHat-based distributions.

Jeff

finalwebsites
08-01-2007, 10:48 PM
If you're using apt-get then you need to exclude those programs from automatic update in the apt-get configuration. The references to yum are for RedHat-based distributions.

Jeff
Thank you, do you know some resource/website with example configurations?

jlasman
08-02-2007, 05:58 PM
No; I don't use Debian-based solutions. I've moved the thread to a Debian sub-forum as Ubuntu is based on Debian.

Perhaps it'll get better attention here.

Jeff

Zoner
08-02-2007, 10:58 PM
Look this: http://www.directadmin.com/forum/showthread.php?t=20035

finalwebsites
08-03-2007, 01:11 AM
Look this: http://www.directadmin.com/forum/showthread.php?t=20035

Thanks, for the link I'm playing more with the option for apt and I installed Wajig.

I guess from all the information I got it how it works. (that I learned a lot is the most important thing :))

Thank you all!