944,123 Members | Top Members by Rank

Ad:
You are currently viewing page 1 of this multi-page discussion thread
Jan 23rd, 2007
0

Server?

Expand Post »
Ok i got a new server but need some help settting it up

firstly:

Debian?
CentOS?
SuSE?

secondly:

How do I actually set up webmin, apache, ssh and ftp?

i want to be able to use ssh /webmin for remote admin and have one homepage which then has links to individual familiy members areas - the 3 members should have a folder with passworded FTP access to put thier site in. The main page link to thier area should point to /var/www/(name)/index.html

Im not a newb so fell free to get in depth with me - i know how to use theese tools , just not how to configure them properley
Similar Threads
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
Jan 23rd, 2007
0

Re: Server?

All I can say is: go with Debian. I know you have experience with it, it's solid and not full of crap like some other distros I know. SuSE is too graphical, which is not needed when you've got a server, and CentOS is pretty similar, too.

As for setup... SSHD is pretty painless (just setup the daemon to start automatically, and you're fine). FTPD is fine, although I do have to point out that SFTP is easier to setup (nothing, it's the same as SSH ), but FTPD doesn't require much configuration either. I've never used Webmin, so I can't really advise you on that one.

Apache is the only one you might have problems setting up. Just make sure to follow Apache's documentation for the httpd.conf file, and read the much-commented lines. You'll basically want a virtual host directive pointing to a main /var/www directory for the homepage, and then additional virtual host directives for each individual user (which will of course, have to be added manually). You can then link to these from the home page.

Good luck!
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006
Jan 24th, 2007
0

Re: Server?

the best advice for choosing a distro I've ever heard sounded something like "choose the distro best known by the closest *NIX guru to you".

Actually there are good sites like howtoforge.com and rocksproject.org that would guide you through setting up several different server types fitting your purpose. Since all distros are slightly different, setting up daemons is different as well. In Debian webmin, FTP and SSHd can be installed by apt-get, in CentOS yum is your friend, but it doesn't include webmin (you have to download the RPM from webmin.com).
In any case, whatever distro you choose, solutions are available in abundance
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Jan 24th, 2007
0

Re: Server?

yeah this is fairly new to me (ive only ever used samba and nfs before)

i hate suse too i was just throwing ideas about

debians apt-get is good, i like that alot but i think ill go with CentOS as i like its graphical utilities for configuring services, firewall, apache, ftp etc... as well as the long release cycle

Also, how can i set up local DNS? I want to be able to go to http://server.local or something instead of to its IP
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
Jan 24th, 2007
0

Re: Server?

Click to Expand / Collapse  Quote originally posted by jbennet ...
Also, how can i set up local DNS? I want to be able to go to http://server.local or something instead of to its IP

http://www.djbdnsrocks.org/

Webmin has a pretty good GUI for BIND dns
Last edited by DimaYasny; Jan 24th, 2007 at 4:56 am.
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Jan 24th, 2007
0

Re: Server?

well ive installed centos and got Apache 1 and VsFTPd working but im having a but of trouble with IP's. I need DHCP as my PDA cant do static and i need it to have wifi access
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
Jan 24th, 2007
0

Re: Server?

yum install dhcpd
the rest is very easy to configure in webmin
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Jan 24th, 2007
0

Re: Server?

seems to be working fine
installed webmin etc

went and baught a networking book (FC1 but suitable for centos 4.4)

gonna play with mail server now get local lan mail set up
Last edited by jbennet; Jan 24th, 2007 at 7:47 am.
Moderator
Featured Poster
Reputation Points: 1800
Solved Threads: 575
Moderator
jbennet is offline Offline
16,534 posts
since Apr 2005
Jan 24th, 2007
0

Re: Server?

I'd optimise the server first - remove unneeded stuff, recompile the kernel etc.
Moderator
Featured Poster
Reputation Points: 183
Solved Threads: 89
Posting Virtuoso
DimaYasny is offline Offline
1,772 posts
since Jan 2007
Jan 24th, 2007
0

Re: Server?

Click to Expand / Collapse  Quote originally posted by jbennet ...
well ive installed centos and got Apache 1
Why in the world did you install Apache 1? Apache 2 is superior to version 1 in nearly all ways - there's no reason to use old outdated software.

Click to Expand / Collapse  Quote originally posted by DimaYasny ...
I'd optimise the server first - remove unneeded stuff, recompile the kernel etc.
I disagree. Get your main services working first (DHCP, DNS, FTP, etc). Once that works the way you want it, and only then, reoptomize your server and remove the fluff.

If you have all sorts of problems, how in the world are you supposed to know where it's coming from? If you know that your services were working fine before, then you can trace it down to what you did last (for example, recompiling the kernel).
Team Colleague
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
John A is offline Offline
5,055 posts
since Apr 2006

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Getting Started and Choosing a Distro Forum Timeline: Ubuntu continues Windows-attack
Next Thread in Getting Started and Choosing a Distro Forum Timeline: Installation of Fedora Core 5





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC