tsiou
07-24-2007, 12:15 AM
**** EDITED ******
Also check my post below with the howto.txt attachment
****************
Hi,
i have just managed to make my directadmin independent from its custom build services.
Unfortunately i cant write an extensive how to as many hours and attempts needed to make it work.
I can say though that it can be done. I have disabled all of DA's services and use freebsd's default services.. now i can freely portupgrade and follow security updates for apache, exim etc and follow freebsd's update tree.
The idea came from DA's how to upgrade mysql for freebsd.
As a rule, the standard procedure was :
1. install the service (cd /usr/ports/www/apache20) and when possible complile it with flags that DA uses.
2. cd to /usr/local/etc/apache, delete the folder and make a link to DA's config (/etc/httpd/conf)
3. delete DA's service files (/usr/local/bin/httpd) so the system use /usr/local/sbin/httpd)
4. set some flags to /etc/rc.conf to match DA's prefs and enable the service
5. sometimes have some links from DA's services to freebsd services like ln /usr/local/sbin/httpd /usr/local/bin/httpd
6. delete DA's startup files and let the system use its own.
7. start the service and see the logs for what you have forgotten :)
the system goes well for some time now, with most of the services changed (exim, mysql, apache, proftp, spamassasin), only dovecot has to be done.
Dont try to move all of the services by one, for example change spamassasin, wait for some days to see that the system goes ok, change exim and wait some days, then proftp etc..
proftpd is the simpler service along with mysql
then you can try spamassassin (this needs the links from the old executables as exim uses them by absolute path) etc...
In the end if something doesnt work you can pkg_delete it and use DA's custom build script to reinstall it :) and go from scratch.
The only problem (not really a problem) that i cant solve is that DA's service monitor doesnt work for exim and shows the service down (have to disable DA's exims check and notification by email) but i will try to solve it with the help of DA's crew.
I'm willing to help anyone who try's some of the above, i will watch this thread (cant every day due to military obligations for some months)..
Also check my post below with the howto.txt attachment
****************
Hi,
i have just managed to make my directadmin independent from its custom build services.
Unfortunately i cant write an extensive how to as many hours and attempts needed to make it work.
I can say though that it can be done. I have disabled all of DA's services and use freebsd's default services.. now i can freely portupgrade and follow security updates for apache, exim etc and follow freebsd's update tree.
The idea came from DA's how to upgrade mysql for freebsd.
As a rule, the standard procedure was :
1. install the service (cd /usr/ports/www/apache20) and when possible complile it with flags that DA uses.
2. cd to /usr/local/etc/apache, delete the folder and make a link to DA's config (/etc/httpd/conf)
3. delete DA's service files (/usr/local/bin/httpd) so the system use /usr/local/sbin/httpd)
4. set some flags to /etc/rc.conf to match DA's prefs and enable the service
5. sometimes have some links from DA's services to freebsd services like ln /usr/local/sbin/httpd /usr/local/bin/httpd
6. delete DA's startup files and let the system use its own.
7. start the service and see the logs for what you have forgotten :)
the system goes well for some time now, with most of the services changed (exim, mysql, apache, proftp, spamassasin), only dovecot has to be done.
Dont try to move all of the services by one, for example change spamassasin, wait for some days to see that the system goes ok, change exim and wait some days, then proftp etc..
proftpd is the simpler service along with mysql
then you can try spamassassin (this needs the links from the old executables as exim uses them by absolute path) etc...
In the end if something doesnt work you can pkg_delete it and use DA's custom build script to reinstall it :) and go from scratch.
The only problem (not really a problem) that i cant solve is that DA's service monitor doesnt work for exim and shows the service down (have to disable DA's exims check and notification by email) but i will try to solve it with the help of DA's crew.
I'm willing to help anyone who try's some of the above, i will watch this thread (cant every day due to military obligations for some months)..