Installing DA on a server with Apache, php, mysql, and ProFTPD already installed

Will Case

Verified User
Joined
Jun 13, 2012
Messages
17
I know this is probably not a good idea, and maybe not even possible, but is it possible to install DA on a server which has Apache, PHP, MySQL, and ProFTPD already installed?
The reason I am asking is the server I am speaking of also has Centovacast installed, and I don't want to have to redo the complete installation if I don't absolutely have to.

Thanks,

William
 
DirectAdmin will remove Apache, PHP, MySQL and ProFTPd before installing it's own coinfiguration. So while, yes, you can do it, it's unlikely your working Centovacast installation will continue to work.

From DirectAdmin's install requirements, here:
***Please do not install services such as Apache, PHP, MySQL, Ftp, Sendmail, etc., as we will do this for you. All we need is a CLEAN install of your operating system.***
We do not recommend installing DirectAdmin on an existing live production server.
DirectAdmin does not convert existing data upon install.
Jeff
 
Thank you, I figured as much, but thought there was no harm in asking, just in case.
 
just in case? I'm not Justin Case. I'm Jeff. Justin Case is the name of the guy on second.

See: this link (baseball-almanac.com). You're not related to him by any chance, are you :D?

I know, it's only a lousy joke, but the link is a classic; definitely worth reading :).

Jeff
 
Hi Jeff,

Just to confirm,
Is it possible to build a with every services that I need and then just install DA without changing or adding any services ?

Will it work with the existing paths and services ?

Thanks in advance

Anthony
 
No. DirectAdmin will delete any services that conflict with it's installation setup and then will install services as it needs to, so it can manage them.

If you need secific versions of specific services you can set up options.conf in advance of the DirectAdmin install and it should install what you want. Search these forums and the DirectAdmin site for information and instructions.

(Sorry I don't remember where the instructions are; perhaps someone else will and post here.)

Jeff
 
@nobaloney,


It's not the first time you write that DirectAdmin will delete any services that conflict with it's installation setup. How do you know that?

I did not find anything of this kind with:

Code:
# egrep 'erase|delete|remove|rpm|yum' --color /root/setup.sh
Code:
# egrep 'erase|delete|remove|rpm|yum' --color /usr/local/directadmin/scripts/install.sh
 
My recollection is that John wrote it to me in an email quite some years ago. However you've made me unsure enough that I'm bringing this thread to John's attention; hopefully he'll clarify this for us.

Thanks for bringing your thoughts and findings to my attention.

Jeff
 
Hello,

Yes, services are deleted.

zEitEr, you were very close at finding them, but they're in their related service install scripts, eg:
Code:
[root@es4 scripts]# egrep 'rpm' --color *.sh | grep '\-e'
exim.sh:rpm -e --nodeps sendmail 2> /dev/null
exim.sh:rpm -e --nodeps postfix 2> /dev/null
exim.sh:rpm -e --nodeps dovecot 2> /dev/null
exim.sh:rpm -e courier-imap 2> /dev/null
mysql.sh:rpm -e --nodeps MySQL-Max 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps mysql-devel 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps mysql-client 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps mysql-libs 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps mysqlclient9 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps mysql-server 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps mysql 2> /dev/null 1> /dev/null
mysql.sh:rpm -e --nodeps MySQL-shared 2> /dev/null 1> /dev/null  #added july 3 2006 for mysql 5 shared rpms
mysql.sh:rpm -e --nodeps mysql-libs php-mysql 2> /dev/null 1> /dev/null #added Dec 5, 2007 for fedora 7.
mysql.sh:       for i in `rpm -qa | grep -i "^mysql"`; do { rpm -ev $i --nodeps; }; done;
proftpd.sh:rpm -e --nodeps wu-ftp 2> /dev/null
proftpd.sh:rpm -e --nodeps wu-ftpd 2> /dev/null
proftpd.sh:rpm -e --nodeps anonftp 2> /dev/null
proftpd.sh:rpm -e --nodeps pure-ftpd 2> /dev/null
proftpd.sh:rpm -e --nodeps vsftpd 2> /dev/null
proftpd.sh:rpm -e --nodeps psa-proftpd 2> /dev/null
proftpd.sh:rpm -e --nodeps psa-proftpd-xinetd 2> /dev/null
proftpd.sh:rpm -e --nodeps psa-proftpd-start 2> /dev/null

If you really want to use your own bits, then install DA normally, then install your own services *after* the DA install.
Note that we wouldn't be able to offer support for those post-install services.

John
 
The reason I am asking is the server I am speaking of also has Centovacast installed, and I don't want to have to redo the complete installation if I don't absolutely have to.
In that case I would suggest to read the documentation from Centovacast about transferring to another server.
That documentation can also be used to make the necessary backups for your Centova, remove the packages (mysql, ftp etc.), install Directadmin and if everything is ready, put a basic Centovacast back online and put the backups back. You should have your packages restored too. So not the complete installation has to be done.
But it always takes a certain amount of work.
 
Back
Top