Installing

can interworx be installed on a box that currently does not have a control panel, but there are already sites on it. will it wipe everything out?

thanks

It really depends on how much downtime you want the machine to have. Interworx needs to have any existing web server, SQL server, MTA(Mail Transfer Agent) and PHP version removed before the install can continue.

The install process is relatively short…about 10 minutes on our setup, so you could begin adding in the accounts at that point. Interworx installs accounts in /home, so I would clear everything out from there before installing if that is where you keep your current WWW directories.

Depending on how comfortable you feel around the linux CLI I am sure you could get this done in a reasonable amount of time.

Good luck!

Peter

i already have probably 50 sites on the server. no panel right now, i have been adding them all manually.

so when you say “existing web server, SQL server, MTA(Mail Transfer Agent) and PHP version removed before the install can continue” does this mean that my httpd.conf would be wiped out, all my customers databases would be wiped out, and all the email accounts (usernames and passwords etc) would be wiped out? i would basically have to recreate everything and have all my customers upload their sites again?

when i installed zend opt, it moved my php.ini file, would this need to be reinstalled as well?

is there an easy way to do this without effecting the customers (not making them have to upload everything again?)

is there an easy way to do this without effecting the customers (not making them have to upload everything again?)

Sure…Just backup all of their MySQL databases:


mkdir /var/src/backup
mkdir /var/src/backup/mysql
service mysql stop
cp /var/lib/mysql /var/src/backup/ -R

That should copy all of the databases to the /var/src/backup/mysql directory. Each mysql database will have it’s own directory under that backup directory.

To preserve your httpd.conf file


mkdir /var/src/backup/apache
cp /path/to/apache/httpd.conf /var/src/backup/apache/

You can also just copy your user’s web files over


mkdir /var/src/backup/www_root
cp /path/to/web/root /var/src/backup/www_root/ -R

Once that is finished I would stop apache…stop sendmail/mta, and start the Interworx install.

After the install is completed you should be able to create Siteworx accounts for each domain and copy their files from your backup directory to their home accounts.

Personally I think this would work just fine…I think you could start at around 1:00AM or so to minimize the impact on your customers and be up and running again by about 4:00AM. Atleast that is the window I would budget for this kind of swap…Just get a lot of Mountain Crack(eerrrr…I mean Dew), and plan on staying up for awhile. Should be fun.

Good luck !

Peter

does interworx take over and add crap like plesk, cpanel and ensim (create it’s own files and move stuff)? or does it simply lay on top of the current files and just provide a gui?

when i set up a site for someone, i edit the following files:

/usr/local/apache/sites - is where i create their directory and put all their sites in it

/etc/httpd/conf/httpd.conf

/etc/mail/local-host-names - sendmail

/etc/vsftpd.chroot_list - ftp

/etc/passwd - to lock them to their directory

/etc/mail/virtusertable - for sendmail pop accounts

if i just back up these files as well at their DB’s, will i be able to restore them to these locations, or will interworx move them at all?

i also have webmin installed which i use for creating databases and users.

InterWorx takes over. Its necessary to provide the features it has. You always have the option of re-customizing, of course. Essentialy if it deals with something InterWorx handles, its IWorx’s to change. That said, it seems a lot less evil and needy as something like CPanel.

does interworx take over and add crap like plesk, cpanel and ensim (create it’s own files and move stuff)? or does it simply lay on top of the current files and just provide a gui?

It does more than just provide a gui. Since there are so many ways to set up websites, it would be virtually impossible for the software to just figure exactly the way you’ve done things, and keep everything happy.

when i set up a site for someone, i edit the following files:

/usr/local/apache/sites - is where i create their directory and put all their sites in it
/etc/httpd/conf/httpd.conf

InterWorx does things completely differently here. Files go in /home/<unixuser>/<domain>/html and InterWorx doesn’t add blocks to the httpd.conf file. It uses one file for each domain - such as /etc/httpd/conf.d/<domain>.conf

/etc/mail/local-host-names - sendmail

InterWorx isn’t compatible with Sendmail in any sense at this time. It uses qmail as the core MTA and vpopmail for virtual domain management.

/etc/vsftpd.chroot_list - ftp

InterWorx isn’t compatible with vsftpd. It currently understands and uses proftpd.

if i just back up these files as well at their DB’s, will i be able to restore them to these locations, or will interworx move them at all?

It’s not really a matter of InterWorx moving files - but InterWorx won’t understand your current setup. All the accounts would need to be re-created using InterWorx.

i also have webmin installed which i use for creating databases and users.

InterWorx has its own database/user management interface. I know that some folks have installed webmin over an InterWorx install before, and have had some success, but I can’t really recommend it, and we can’t support it since it hasn’t been tested.

So basically what it comes down to is that installing InterWorx on the server with existing accounts would, at best, be non-trivial. If you’re interesting in trying InterWorx out, you might consider installing it on a “fresh” server and perhaps moving some of the sites on the other server one at a time to see. This way at least you wouldn’t risk having your current production server “messed up” by all the various configuration that InterWorx expects.

Hope that answers your questions,

Paul

last issue. i have reading through the forum a bit and from what i gather, interworx is not able to put multiple domains on one account. all of my customers have more than 1 domain and like being able to login to ftp with 1 account and see a directory for each of their domains rather than having to login with 10 different accounts. is there anyway around this at this time (hacks, tweaks), or would i be stuck creating multiple accounts per customer?

As far as I know, the way Interworx is set up, the capability is there, but the automation/frontend for it is not.

For example, as Paul said, each account is given a unix user and all of the files are contained under /home/<username>/<domain>/html and each domain gets its own conf file for Apache.

So, you can do it, but you’d have to do it manually, and Interworx would not be able to manage it or report on it (unless you created a separate account).

To actually do it, you’d just create another <domain> directory under the user’s home and add a new <domain>.conf in the Apache conf directory for that domain.

This is something that was on the ToDo list I belive. Its something the IWorx crew planned on from the beginning.

Like it has been said, not the best solution, but it could kind of work:
http://interworx.info/forums/showthread.php?p=1662