PDA

View Full Version : [BETA] DirectAdmin-APT for Debian


Yikes2000
11-04-2005, 02:55 PM
I am pleased to announce the beta release of DirectAdmin-APT (DA-APT) for Debian. It is a collection of Debian packages that conforms DirectAdmin to Debian's APT system. The benefits include:

. . .* Better integration with Debian.
. . .* Prevents APT from installing programs that conflict with DirectAdmin.
. . .* DirectAdmin may use APT packages for its operation.

The last one is the most important. Debian's APT packages are easy to maintain, with extension modules readily available. Now DA can take full advantage of it.

Requirements:

. . .* Debian 3.1 (Sarge) or higher
. . .* DirectAdmin license

PLEASE BACKUP YOUR SERVER BEFORE INSTALLING DA-APT. Although this beta release has been thoroughly tested, I cannot guarantee anything. There are simply too many aspects to test fully. Therefore, please backup!

To install:

. . .# wget http://debian.hitx.net/da-apt/da-apt.sh
. . .# chmod +x da-apt.sh
. . .# ./da-apt.sh install

* New DirectAdmin: If DirectAdmin is not already installed, then da-apt.sh will install it. You will be prompted for DirectAdmin Customer ID and License ID. And the resulting DirectAdmin will use mostly APT programs through DA-APT.

* Existing DirectAdmin: If DirectAdmin is already installed, then da-apt.sh will leave it unchanged. DirectAdmin will continue to use its own version of programs (Apache, MySQL, etc), but APT will be aware of them and avoid conflicting packages.

Wiki Site:

After installation, you may switch DirectAdmin to use either its own version of programs (Apache, MySQL, Exim, etc) or APT's version. For more information, please visit the project's wiki site:

http://debian.hitx.net/da-apt/wiki
. . .

jerry2005
11-04-2005, 04:50 PM
Nice feature , will test it ....

Love to see more people running DA on debian boxes....

txuspi
11-04-2005, 06:42 PM
testing.......

kawing05
11-10-2005, 02:34 PM
when I tried to install on my clean debian box, I got an error about sth called "apache_mod_frontpage x x " can not find , so my installation of DA terminated? Anyone encountered that?

How to slove it?

Yikes2000
11-10-2005, 05:33 PM
Did you setup APT's sources.list file as per:

http://www.debian.org/doc/manuals/apt-howto/ch-basico.en.html#s-sources.list

streamservice
12-17-2005, 03:36 PM
it is not workinh whit debian 3.1 in combination whit the newest direct admin (the installation doesn't finish.


Setting up da-squirrelmail (1.25.0b-1) ...
Detected DirectAdmin's SquirrelMail, skipping installation...

dpkg: dependency problems prevent configuration of da-apt:
da-apt depends on da-exim | da-apt-exim; however:
Package da-exim is not configured yet.
Package da-apt-exim is not installed.
dpkg: error processing da-apt (--configure):
dependency problems - leaving unconfigured
Setting up libhtml-tree-perl (3.18-1) ...
Setting up libwww-perl (5.803-4) ...
Setting up da-customapache (1.25.0b-1) ...
Errors were encountered while processing:
da-exim
da-apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: DA-Apt installation failed.
Aborted.

Yikes2000
12-17-2005, 10:16 PM
Could you PM me the entire installation log?

# script install.log
# ./da-apt.sh install
# exit

Looks to me that da-exim wasn't able to configure itself on your system. I tested the installation again tonight on my test server runnig Sarge with DA 1.25.5 pre-installed, and it completed without error.

streamservice
12-18-2005, 03:30 AM
after i do "script install.log" before the rest it works. thank you.

Yikes2000
12-18-2005, 03:12 PM
That's odd. :)

"script install.log" merely saves the installation output (what you see during installation) to the file install.log. Otherwise it has no effect on the install.

Glad it's working for you now though.

saban
12-30-2005, 05:27 AM
Does this script installs the latest stable DA on Debian 3.1 Sarge without any bugs ?

PC-Drivers
09-10-2006, 03:51 PM
server1:~# ./da-apt.sh install
Update DA-Apt

./da-apt.sh: line 281: /usr/local/directadmin/scripts/debian/scripts/base-do: No such file or directory
server1:~#

tristan
09-21-2006, 03:17 AM
Is this project still alive?

Yikes2000
10-05-2006, 02:59 PM
Yes. I'm using DA-Apt on a VPS right now. Please contact me directly if you have problems. DA-Apt relies on Aptitiude. And Aptitude tends to be quite finicky if not properly configured.

keefe007
10-29-2006, 11:58 PM
are you going to add dovecot?

Yikes2000
10-30-2006, 12:48 AM
2007-Q1 at the earliest.

keefe007
11-13-2006, 12:13 AM
Why is this still using Exim 4.50?

Sazpaimon
03-20-2007, 11:16 PM
Is this project dead? Is there any way it can be jumpstarted? I notice that it's still using Apache 1.3, is there any way to get it to work with Apache 2.x?

jlasman
03-21-2007, 12:22 PM
There are many posts on these forums covering installing Apache2 through CustomApache. DA uses CustomApache (found in /usr/local/directadmin/customapache) to update Apache and it's dependencies; if you do it any other way you're entirely on your own.

The original poster posted last on these forums on November 8, 2006. That's over four months ago. You might try leaving him a private message.

Jeff

SeLLeRoNe
07-01-2007, 11:24 AM
Hi,

i got this:

ERROR: DA-Apt requires Debian 3.1 or above.

Using Debian 4.0

I have to change something or this script dont work on that version of debian?

thanks

Virtus
08-22-2007, 07:36 AM
Tried using this on Debian 4.0

First I got the warning that it needed Debian 3.1 or higher, so I just changed the /etc/debian_version from 4.0 to 3.1

After that, da-apt.sh ran perfectly untill...

Setting up autoconf (2.61-4) ...

Setting up autotools-dev (20060702.1) ...
Setting up automake1.4 (1.4-p6-12) ...

Setting up libltdl3 (1.5.22-4) ...

Setting up libdevel-symdump-perl (2.03-3) ...
Setting up da-customapache (1.25.0b-1) ...
Setting up da-exim (1.25.0b-1) ...
Installing DirectAdmin's Exim4 server...
dpkg-deb: failed to read archive `da_exim-4.51.deb': No such file or directory
dpkg: error processing da-exim (--configure):
subprocess post-installation script returned error exit status 2
Setting up da-mysql (1.25.0b-1) ...
Detected DirectAdmin's MySQL server, skipping installation...

Setting up da-phpmyadmin (1.25.0b-1) ...
Detected DirectAdmin's phpMyAdmin, skipping installation...

Setting up da-proftpd (1.25.0b-1) ...
Installing DirectAdmin's ProFTPd server...
Starting proftpd: /etc/init.d/proftpd: line 28: /usr/sbin/proftpd: No such file or directory


Setting up da-squirrelmail (1.25.0b-1) ...
Detected DirectAdmin's SquirrelMail, skipping installation...

dpkg: dependency problems prevent configuration of da-apt:
da-apt depends on da-exim | da-apt-exim; however:
Package da-exim is not configured yet.
Package da-apt-exim is not installed.
dpkg: error processing da-apt (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
da-exim
da-apt
E: Sub-process /usr/bin/dpkg returned an error code (1)
ERROR: DA-Apt installation failed.
Aborted.


and trying to run it now just gives

marie:~# ./da-apt.sh install
Update DA-Apt

Checking DirectAdmin for compatiblitily...
######################
## UPGRADE FAILED ##
######################
Reason: Unknown DirectAdmin version. Please try again tomorrow.

bblboy54
01-03-2008, 05:06 PM
Anyone have any experience using this script on an Ubuntu system?

Tauvo
01-04-2008, 02:41 PM
I also just downloaded and installed Ubuntu server and I am very happy with that. I plan on making our next server Ubuntu with DA. I am also very interested in this setup. If this does work then I will be doing at least 1 install immediately and possible 2 more by the end of the month. Any official word?