#1  
Old 2nd October 2005, 18:50
deadguy deadguy is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Not-so-new install

To the admins: I hate to cross-post, but a bunch of views and no replies makes me think that maybe this *is* more of an install problem than a general problem. Go ahead and delete one of them - I'd just like a couple answers/suggestions.

---------------------------------------------------------------------

My server crashed thanks to a bad line in my apt-sources, but all existing user data was safe. This was a perfect time to switch from Debian to Ubuntu, and as I did so, I came across the "Perfect Setup" detailed here – an excellent walkthrough, btw. This helped me get a couple things done that I wanted, mainly Postfix.

However, because I had most of my settings from my old server—the server previously had apache2, bind9, Courier IMAPd, qmail and ProFTPd running—the move to Ubuntu via most of the instructions in the "Perfect Setup" was pretty painless, since most of those configs were already existing. The users—some 30 or so—on the other hand, were also pre-existing – real users on the server with their own home dirs, and I wanted to migrate them without much hassle.

To make things clear about how the bulk of them are set up, most users have the following:
  • an email account – user@hwcommunity.com
  • a sub-domain – user.hwcommunity.com (all sites are under /home/user/public_html at the moment)
  • FTP access
Some users have domains that are unrelated to hwcommunity.com, and have email at those domains. They've registered their own domains, but this server is acting as their primary name server.

I had been running Courier IMAP previously, so these users already have mail in Maildir format. Both ProFTPd and Postfix seem to be running fine, authing against /etc/shadow (PostFix doing so via saslauthd). Apache2 has a bunch of sites in /etc/apache2/sites-available and symlinks in /etc/apache2/sites-enabled. Now, having tested the ISPConfig setup, I know it installs fine, but I am hesitant, because I don't know how best to migrate these users over.

Anyone have suggestions as to how to do this? (I have /etc backed up to keep all the configs safe) What current configs will totally break (e.g. bind9, apache2), and if they do, what is the most expedient way to fix it? How do multiple apache2 virthosts get imported under ISPConfig? Does ISPConfig use /etc/shadow at all? Are all users essentially virtual – no real account on the server, with everyhting stored in MySQL? If so, where can I move their maildir and public_html dirs?

I wish there was a little more documentation on how ISPConfig works, maybe I could have figured some of this out on my own. Maybe this isn't even the best solution for me, but the control panel aspect really attracted me.

Thanks for the feedback in advance.
Reply With Quote
Sponsored Links
  #2  
Old 2nd October 2005, 20:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

ISPConfig also uses "real" users, i.e. it uses /etc/passwd and /etc/shadow.

I'd suggest that you create a site called hwcommunity.com and create the users within that site. These users automatically get the email address <username>@hwcommunity.com, and you can also create email aliases like <username_alias>@hwcommunity.com. These users also get their own web space under www.hwcommunity.com/~<username> and www.hwcommunity.com/users/<username>. So you could create a Co-Domain <username>.hwcommunity.com and foward it to www.hwcommunity.com/~<username>.
These users also have ftp access to their web space.

Quote:
Some users have domains that are unrelated to hwcommunity.com, and have email at those domains. They've registered their own domains, but this server is acting as their primary name server.
You can create new web sites for these users in ISPConfig; these web sites are then totally unrelated to hwcommunity.com.

I think you have to disable your existing web sites in the Apache configuration because you're going to re-create them in ISPConfig. It might confuse Apache if it finds the same web site twice in its configuration. Other than that I see no problems (but you know, we're dealing with computers... ).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd October 2005, 02:24
deadguy deadguy is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for replying.

I've already got username in the passwd/group/shadow files, will ISPConfig create new instances or just use the existing lines?

Will ISPConfig use existing homedirs? Or should I back those up someplace, create the users in ISPConfig, then copy their files back into the appropriate directories?

Are the user's Maildirs kept someplace other than /home/user/ when using ISPConfig? (e.g. how vqmail does it)

Will ISPConfig alter/disrupt my existing named.conf and zone files?

Will ISPConfig alter/disrupt my existing ProFTPd setup?
Reply With Quote
  #4  
Old 3rd October 2005, 13:09
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by deadguy
I've already got username in the passwd/group/shadow files, will ISPConfig create new instances or just use the existing lines?
No, it will complain that these users already exist and refuse to create the user.
So to create the user in ISPConfig you have to delete the existing user and remove the username from /home/admispconfig/ispconfig/users; then you can create it in ISPConfig.

Quote:
Originally Posted by deadguy
Will ISPConfig use existing homedirs? Or should I back those up someplace, create the users in ISPConfig, then copy their files back into the appropriate directories?
No, ISPConfig will create new homedirs, e.g. like /var/www/web[no]/user/<username>. You cold copy back the existing files.

Quote:
Originally Posted by deadguy
Are the user's Maildirs kept someplace other than /home/user/ when using ISPConfig? (e.g. how vqmail does it)
Yes, if you chose /var/www as docroot during ISPConfig setup, then it's /var/www/web[no]/user/<username>/Maildir.

Quote:
Originally Posted by deadguy
Will ISPConfig alter/disrupt my existing named.conf and zone files?
Yes. Make a backup of your existing configuration, then try how ISPConfig creates the files, and then (if necessary) you can add your configuration parts manually (you can also change the configuration templates under /root/ispconfig/isp/conf/).

Quote:
Originally Posted by deadguy
Will ISPConfig alter/disrupt my existing ProFTPd setup?
It will only add an Include line at the end of /etc/proftpd.conf and write the configuration to this included file.
Nevertheless you should back up that configuration and do the same as with the BIND configuration, if necessary.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 3rd October 2005, 20:10
deadguy deadguy is offline
Junior Member
 
Join Date: Oct 2005
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by falko
/var/www/web[no]/user/<username>
How configurable is this path?

/var is a pretty small partition on the drive, as all the user files inhabit /home - about 100 gigs of space. Is there a configuration value I can edit someplace to have the users homedir be /home/<username> ?
Reply With Quote
  #6  
Old 3rd October 2005, 20:31
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Quote:
Originally Posted by deadguy
How configurable is this path?

/var is a pretty small partition on the drive, as all the user files inhabit /home - about 100 gigs of space. Is there a configuration value I can edit someplace to have the users homedir be /home/<username> ?
It uses the docroot you specified during installation. If you specified /home/www, ISPConfig will use /home/www, etc. /var/www/web[no]/user/<username> was only an example.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Notes for CentOS 4.1 install felipegeek Installation/Configuration 6 19th December 2005 10:21
Mix of Install Problems shawndb Installation/Configuration 5 15th September 2005 09:09
Nasty time with PHP on the install dkhird Installation/Configuration 1 11th September 2005 13:09
Error trying to install - on RH9 bgarlock Installation/Configuration 7 17th August 2005 10:43
Fresh Install of FC4 using Perfect Install HowTo latcarf HOWTO-Related Questions 21 10th August 2005 22:55


All times are GMT +2. The time now is 20:29.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.