Pre-purchase questions about installation

computerlady911

Verified User
Joined
Mar 12, 2006
Messages
65
1. Will direct admin run on Centos 4.2?
2. My server is located in a colo some distance away. I have about 10 existing sites, using databases, but not much email. If I choose to use Direct Amin control panel, can I install it as follows? All done remotely with webmin.

Move my existing sites onto another server and backup databases
uninstall apache, mysql, (others??)
make sure required packages are installed
install direct admin
move sites back and import databases and fix paths.
Would that work?
 
computerlady911 said:
1. Will direct admin run on Centos 4.2?
2. My server is located in a colo some distance away. I have about 10 existing sites, using databases, but not much email. If I choose to use Direct Amin control panel, can I install it as follows? All done remotely with webmin.

Move my existing sites onto another server and backup databases
uninstall apache, mysql, (others??)
make sure required packages are installed
install direct admin
move sites back and import databases and fix paths.
Would that work?
1, yes
2:
2.1, backup your sites and db
2.2, simply remove apache, php, mysql, sendmail, *ftpd (if you have), MTA...but a fresh OS reinstall is recommended
2.3, make sure u have ssh, bind, gcc, g++ installed (if not just use "yum install package_name")
2.4, install directadmin
2.5, create the users in DA first, then restore the site and db to the appropriate user (you may need to change the db name and db user name. DA use username as prefix: eg john_mydb)
 
Last edited:
I just wanted to add that you can't just blindly restore. Mail, MySQL, sites ...

All are managed by DA in their own DA way.

So everything will have to be restored carefully, probably manually, by someone who knows where to put everything.

For example, you'll probably have to clean your /etc/passwd, /etc/group, and /etc/shadow files because that's NOT where DA puts email users.

And after you create the sites you'll need to create the email users as well.

If your server is running mbx then you should be able to copy back mbox files, but you'll have to put them where DA puts them, and you'll have to change permissions to what DA wants.

None of the above is recommended.

Jeff
 
Tried it out and it worked! Had a few issues but this is what i did.

Backed up site files using a simple copy to a backup folder. Backed up the databases. Uninstalled apache, mysql etc. Installed gcc.

Installed Direct Admin. Then realized i was going to have to do some additional clean up. Removed old users. Cleaned out DNS. Should have done this first.

I updated MYSQL. Created the databases. Imported the db backups. Copied the site files to the right place, changed the site config files to the correct paths and database information. chown'd the web files and folders. It worked!
 
Back
Top