Some problems.

bamorim2

New member
Joined
Nov 13, 2008
Messages
4
Hi there, I'm new here.

Recently i ordered a dedicated server in LeaseWeb, me and 3 friends, and we've selected Direct Admin as control panel.

But we have some problems, one friend of mine has installed Apache+PHP+MySQL before people of LeaseWeb install DA.

Now we have apache, php and mysql installed but no integration with DA.

So there's no tool in DA to manage my Web Server, i wan't to know if there's a way to re-install apache-mysql-php and integrate it with Direct Admin.


Gratefully,
Bernardo Amorim
 
Hello,

As it mentions on the install page, DA installs everything for you, and a "clean" server is recommended. Basically, installing things in your own way and then trying to force DA to read them usually doesn't work so well.

For apache/php, you should be able to type:
Code:
cd /usr/local/directadmin/custombuild
./build update
./build all d
./build rewrite_confs
then restart apache.

For mysql it really depends on what exactly is broken.
If there are not yet any databases, you should be able to type:
Code:
cd /usr/local/directadmin/scripts
./mysql.sh [B]rootpass[/B] da_admin [B]daadminpass[/B]
where the bold bits can be any passwords you want. Select "y" when it asks you to delete previous data, as an empty/new db must be used for the script to setup the passwords correctly. This is a related guide if you're stuck halfway:
http://help.directadmin.com/item.php?id=45

John
 
Back
Top