Following on from lots of offers of help here:
http://www.webhostingtalk.com/showthread.php?t=1770337
I'm starting to think no one person is going to do it regardless of $$, so it'll have to be a community effort.
Basic concept is this:
1) Do a yum update and reboot, make sure cPanel is up to v80 (if systems are all on the same version it'll be easier), get system as clean, up to date and error free as possible. Assume but check for v80 cPanel, EA4 etc.
2) Create a working directory (which will be /da), copy /var/cpanel, /etc and any other required files to it
3) Perform some sanity checks, for example, make sure there's no +i files in /home that'll ruin later steps.
4) Generate the /usr/local/directadmin/data/users folders for each user in our working directory
5) Seek final confirmation from the user that they want to proceed
6) Stop cPanel services, remove cPanel, or sufficiently kill it. This will also have variations depending if you're using centos 6 or 7. A lot of cPanel is now RPM based, remove those RPM's
7) Install DA
8) Move user files around in home directories to match DA layouts (fairly easy once you get the data required from cPanel user data for domain configs, webroots etc)
9) Some attempt to scan commonly found files in public_html's for old paths and update
10) Restore things like mail configs (should be easy, depends on any differences in file formats), things like this will help https://www.directadmin.com/paths.php. Copy the /da/users folder we made earlier to /usr/local/directadmin/data/users
11) Re-write DA confs
12) Restart DA services and hope for the best
13) Optional steps for later, re-install cagefs, connect back to cPanel DNS cluster, etc.
First things we need to think about is, what sort of sanity checks are we going to do, do we do things like remove cagefs (try uninstalling ea-php* on a cagefs system with lots of accounts and you'll see what I mean).
Are there any more steps you'd recommend?
The way I see this working is that we break the task up and if those who can, contribute, then we'll get there. For example, someone's already told me they can strip a server of cPanel quite easily, that's step 6 done if they can do so.
http://www.webhostingtalk.com/showthread.php?t=1770337
I'm starting to think no one person is going to do it regardless of $$, so it'll have to be a community effort.
Basic concept is this:
1) Do a yum update and reboot, make sure cPanel is up to v80 (if systems are all on the same version it'll be easier), get system as clean, up to date and error free as possible. Assume but check for v80 cPanel, EA4 etc.
2) Create a working directory (which will be /da), copy /var/cpanel, /etc and any other required files to it
3) Perform some sanity checks, for example, make sure there's no +i files in /home that'll ruin later steps.
4) Generate the /usr/local/directadmin/data/users folders for each user in our working directory
5) Seek final confirmation from the user that they want to proceed
6) Stop cPanel services, remove cPanel, or sufficiently kill it. This will also have variations depending if you're using centos 6 or 7. A lot of cPanel is now RPM based, remove those RPM's
7) Install DA
8) Move user files around in home directories to match DA layouts (fairly easy once you get the data required from cPanel user data for domain configs, webroots etc)
9) Some attempt to scan commonly found files in public_html's for old paths and update
10) Restore things like mail configs (should be easy, depends on any differences in file formats), things like this will help https://www.directadmin.com/paths.php. Copy the /da/users folder we made earlier to /usr/local/directadmin/data/users
11) Re-write DA confs
12) Restart DA services and hope for the best
13) Optional steps for later, re-install cagefs, connect back to cPanel DNS cluster, etc.
First things we need to think about is, what sort of sanity checks are we going to do, do we do things like remove cagefs (try uninstalling ea-php* on a cagefs system with lots of accounts and you'll see what I mean).
Are there any more steps you'd recommend?
The way I see this working is that we break the task up and if those who can, contribute, then we'll get there. For example, someone's already told me they can strip a server of cPanel quite easily, that's step 6 done if they can do so.
Last edited: