PDA

View Full Version : How many debian servers?


brady474747
2005-03-21, 22:38 PM
Not much chat in the debian forum, not a popular choice I guess.

I just started experimenting on a server beach debian server and all I can say is apt-get is GREAT. I swear you could almost setup your whole server with one long apt-get install command line.

Some other thoughts on sb debian servers:

It seems daunting at first, especially since the debian servers come with nothing but webmin and ssh and there are no, and I mean none, servers installed, but as long as you can ssh, it doesn't take long to get up and running with whatever you want.

Really, if you were going to do something specific with a sb server besides serve web pages, the debian server would be ideal since you could have just what you needed on there and nothing else.

once you get your web,mail, and db servers of choice(yes you can use whatever, it doesn't have to be exim and cppop and cpimap) setup it is really easy to make a simple script to manage your virtual hosting, especially if you are using mysql for mail, authentication, and ftp backend. A few lines of php to insert a few db records and another site is setup.

The addition of fantastico at sb was pretty cool, but I was amazed to see that there are debian packages for many of the same web apps(squirrelmail,phpbb2,wordpress, gallery, etc) One apt-get install phpbBB2 and phpbb is installed on your server in usr/share/whatever and you can alias a directory in every site to it if you want with a simple change in your virtual host directive in httpd.conf. I am pretty sure fantatsico keeps a file repository, but when you install one of their packages it copies all of the files to that site's document root.

Needless to say, I am not missing cpanel/redhat/rpm yet at all, really it is one less thing to break(and my old cpanel did seem to flake on some updates sometimes). If you use the webmin that comes with the server, it can even do some cool things that cpanel does not. First, the java file manager kicks cpanel file manager's ass. I don't use it much, but sometimes for quick script tweaks having an edit window open through the file manager makes it much easier and faster or for the occasional mass file move around(ie restructuring some picture gallery directories) it is great to have the visual and the multiple select and copy and paste vs ls and cp and mv. To me, the backup, log file manipulations and rotations, iptables, and various hardware modules of webmin are superior to cpanel as well.

I also tried webmin's virtualmin system for vhosting management and setup and it worked great, but I didn't like the fact that every email address required a unix user so I went the mysql backend way, a good bit of manual editing, but once it is setup, it is a breeze. I'd like to make a webmin module for how I am setup, but the perl required looks a little intense for me, maybe someday though.


I guess if you have many resellers and all that cpanel or some other control panel could help you keep a handle on it, but I am way small-time and this works for me. I guess I am encouraging others who might be scared to try. You will learn a lot and save some money every month. With cpanel I felt like I was "the man", but in the negative, strict, arbitrarily authoritarion and oppressive sense, but with debian I feel like "the man" in the cool, free, and easy sense :) As always, ymmv

krikit
2005-03-22, 11:22 AM
I have a debian server and don't use apt-get. I build from source. Looking back probably should've used apt-get to install GCC... Man that took some time, really it was just a lot of waiting though.

markm
2005-03-22, 14:59 PM
Debian is the main reason that I selected server beach. I have been using debian since 1997, and I am way too lazy to learn another dist. I apt-get almost everything and I dselect to browse and search for packages (too big of a chicken to trust dselect to install). The only things that I compiled from source were the web server and modules, tcl, postgres, and zlib. I am mostly against installing from source.

Ron
2005-03-22, 16:02 PM
Is anyone using Qmail on Debian?

I have been researching some new mail server choices and I have decided to use qmail on Debian.

Currently I am using SmartMax on Windows and I have just had it with it.

brady474747
2005-03-22, 16:22 PM
found more casual help online for postfix, but I'm new to anything but whatever cpanle comes with, so I may not know where to look. Seems like to me from all of my recent reading on various tutorials and community sites for qmail, postfix, mysql, courier, uw-ipopd, uw-imapd, sendmail while trying to get my new debian server the way I wanted it, that postfix had more newer users and more community/casual support and was pretty easy to get going anyway.

Not to knock qmail at all, it is a great MTA and many people use it. In fact, after reading up, if I was going to have a machine that was solely an smtp server because I had huge volumes of mail to send qmail would be the ticket, but for an integrated deicated server setup where one-box-does-it-all postfix suits me more. I LOVE having the mysql backend for postfix, courier-imap/pop, proftpd all set-up. If I can just find a way to setup the apache virtual hosts in mysql, my world will be complete :)

Ron
2005-03-22, 17:28 PM
I do like the idea of having a mysql backend. This server will be a stand alone mx server with it's only function being to process mail and ship it to another
server for pop access.

I read a lot of mixed reviews for both postfix and qmail and it seems that qmail
is a much stronger and secure MTA.

I am trying to offload resources from the POP server for incoming mail but add more server intensive applications like ClamAV and spamassassin.

So the books I bought for research were:
The Qmail handbook (http://www.lifewithqmail.org/)
Qmail (http://www.oreilly.com/catalog/qmail/index.html)
SpamAssassin (http://www.oreilly.com/catalog/spamassassin/index.html)

And when I throw this question around "What Linux distro is best suited for this task?" many people (not just Knightfoo) say Debian.

I know it won't be easy, I don't really want it to be. I just want it to do what I hope it will do.

Thanks for the input! Debian it is.

brady474747
2005-03-22, 17:31 PM
Yes, I agreed, for a solo smtp box, qmail would be my choice too. Good Luck. Just surfed around and found that some guy has made a module for apache virtual host backed with mysql, so I am checking that out now. mod_shapvh

B

martinbeauchamp
2005-04-12, 11:20 AM
Qmail is a great SMTP server. I use it on all of my 11 servers. A great site for setting things up is http://lifewithqmail.org. When used in conjunction with vpopmail (inter7.com), you can host a ton of domains with it and all of the user info is in a mysql backend.

Have fun and read lifewithqmail very carefully!

Martin

krikit
2005-04-14, 04:48 AM
Qmail is a great SMTP server. I use it on all of my 11 servers. A great site for setting things up is http://lifewithqmail.org. When used in conjunction with vpopmail (inter7.com), you can host a ton of domains with it and all of the user info is in a mysql backend.

Have fun and read lifewithqmail very carefully!

Martin
I agree, qmails really simple. I like to try and understand what it is a program is doing and sendmail was just too much for me to handle. Plus its very hard to "lose" an email with qmail.

awsolutions
2005-04-14, 20:57 PM
Ron,

For what you want to do check out atomicrocketturtle.com There is a project called gamera ( believe thats the name), it's an MTA with clamav and spamassasin filtering and then it will deliver mail to your local mail server.

It's actually so good that some ISP's have began to use Scott's system.

-Brian

I do like the idea of having a mysql backend. This server will be a stand alone mx server with it's only function being to process mail and ship it to another
server for pop access.

I read a lot of mixed reviews for both postfix and qmail and it seems that qmail
is a much stronger and secure MTA.

I am trying to offload resources from the POP server for incoming mail but add more server intensive applications like ClamAV and spamassassin.

So the books I bought for research were:
The Qmail handbook (http://www.lifewithqmail.org/)
Qmail (http://www.oreilly.com/catalog/qmail/index.html)
SpamAssassin (http://www.oreilly.com/catalog/spamassassin/index.html)

And when I throw this question around "What Linux distro is best suited for this task?" many people (not just Knightfoo) say Debian.

I know it won't be easy, I don't really want it to be. I just want it to do what I hope it will do.

Thanks for the input! Debian it is.

Ron
2005-04-15, 08:40 AM
I'm going to check this out. Thanks for the info, I'll post back my findings.

wwwuser
2005-04-30, 17:01 PM
I was wondering if you had any comments on your findings yet. Just curious if you tried it yet?