View Full Version : Linux Web/Email Server
Spaldo
21-04-2004, 10:56 PM
Just wondering if anyone has or has seen any good guides or articles on setting up a Linux Web / Email Server ?
and Yes I have searched google, but there is a lot of shit there, just wondering if anyone has a good guide/document.
mbottrell
22-04-2004, 03:09 AM
More info dude...
That's a pretty big topic! (No wonder google returned a million+ hits for ya!) :p
Give me more details and I'll point ya in the right direction.
Cheers,
Matt.
sticky_chicken
22-04-2004, 07:48 AM
Just wondering if anyone has or has seen any good guides or articles on setting up a Linux Web / Email Server ?
and Yes I have searched google, but there is a lot of shit there, just wondering if anyone has a good guide/document.
It all depends on what you want to use for this.
For email, you can use Sendmail, Qmail, or Postfix (along with others).
For web serving - Apache is the way to go - unless you want to serve JSP pages, when TomCat is the way.
smkranz0506
22-04-2004, 08:42 AM
i use debian, which uses exim for mail server, and apache for web. follow the documentation included in the distributions.
then post back with specific instructions.
also try www.tldp.org for specific guides.
Spaldo
22-04-2004, 09:11 AM
I know its pretty broad.. I have about 5 domains now, and the cost of hosting is getting a bit big.
What I was planning on doing is running a Linux server from my ADSL line and hosting the web site/s and email server/s.
There is nothing fancy with the web sites, just standard html...
As for the email, just POP3 accounts.
Last time I used linux was 97.. So I havn't decided on what Linux to use, I was thinking maybe Mandrake, but I havn't decided yet.
Anything else you want to know, let me know..
Thanks :)
sticky_chicken
22-04-2004, 10:22 AM
I know its pretty broad.. I have about 5 domains now, and the cost of hosting is getting a bit big.
What I was planning on doing is running a Linux server from my ADSL line and hosting the web site/s and email server/s.
There is nothing fancy with the web sites, just standard html...
As for the email, just POP3 accounts.
Thanks :)
If you want to only offer pop3 mail services for mail, then there's a few options you can look at. Look at QPopper or Courier for that. QPopper is easier to configure however.
axcairns
22-04-2004, 11:54 AM
I've had a couple of different experiences with Linux servers for home -
- I set up a Gentoo Linux (www.gentoo.org) web/mail server for my Dad's business (operating over my ADSL connection). Gentoo is great for customising to exactly what you need (and nothing you don't). There are some great howto's on the website and their forums are brilliant but it's not for the n00b. Any of the more common web servers and mail components are available through their ports system (portage).
- After my experience with Gentoo I decided I was still too n00bie to maintain it with any confidence so I went looking for something more out of the box. I found e-smith (aka SME Server - www.contribs.org) which is an out of the box web/mail/file/print server based on Red Hat. The config was a breeze, taking less than an hour to set up. It's locked down by default with no extraneous components (eg. X). Very customisable with community supported extensions (see the website). It uses Apache and QMail by default but you can install other alternatives if you feel strongly enough.
After reading into your initial post I would strongly recommend SME Server.
Cheers,
Allan
MrShadow
22-04-2004, 01:39 PM
another address for e-smith (which I'm setting up at work and doing a tutorial for) is www.e-smith.org
So far, appears to be pretty good. Uses 2.4.20 version kernel. As it's a server, not too sure how you'd go compiling a new kernel on it...
axcairns
22-04-2004, 01:47 PM
Originally posted by MrShadow
another address for e-smith (which I'm setting up at work and doing a tutorial for) is www.e-smith.org
So far, appears to be pretty good. Uses 2.4.20 version kernel. As it's a server, not too sure how you'd go compiling a new kernel on it...
e-smith actually doesn't ship with a compiler (another non-necessary component) so you'd have to get one on first.
Given this thing is aimed at small business and home use I don't think a 2.6 kernel is that necessary. My server (Celeron 400, 128MB) is handling the (albeit small) load fine.
Allan
MrShadow
22-04-2004, 07:43 PM
I actually left it to download last night, installed it and got it working as a domain controller (so easy it's not funny). And I suppose you could always download the enxt version anyway!
I've just checked my usage, and the 350MB was counted as an "Internal Download", not "External". Cool.
(Sorry, I know this is a bit off topic, but I was stoked it was counted as Internal traffic, even though I was using a European server, as both the Aussie ones can't seem to get past 110 or so Mb for some reason... Sweet as :D :D )
SteveM
22-04-2004, 10:16 PM
As a linux noob, I got qmail working fairly easily for use on a single pc, but cannot get pop3 working (yet:)) Currently I have a fedora system going but as it is only a net server I think e-smith may be the go to fix a few minor hic-cups.
I was going to go Mandrake 10 on the weekend but I think it is a bit of overkill as the pc will be basically mail & web server. You guys have convinced me to look at e-smith very closely:p
SteveM
mbottrell
23-04-2004, 12:02 PM
I use Fedora personally... mainly as I grew up on Redhat after I switched from Slackware... :D
For POP3 Server...
If you're running QMail take a read here:
http://www.din.or.jp/~ushijima/qmail-conf/pop3.html
Cheers,
Matt.
SteveM
23-04-2004, 09:31 PM
That link provided some very good information. Maybe you can help with this (or tell me to go to hell :D).
I cannot compile the qmail checkpassword (gets errors, says only works under unix & I assumed in this case unix<>linux) so I used another linked from the qmail site "qpasswd" and all installs well, but I get errors when I try to use it. The test commands on the page you linked above showed me that it is working but the output
checkpasswd: pid 27836[27824] switch from: uid=0 gid=0 euid=0 egid=0 to: uid=500 gid=500 euid=500 egid=500
checkpasswd: pid 27836[27824] switch2user() ende!
+OK
is obviously different than expected, when I checked my logs (something I should have done earlier) I see that the connection was made ok, but then nothing had been done with the connection as the originating program was 'confused'
Any pointers would be appreciated
SteveM
Incabulos
25-04-2004, 11:35 AM
RedHat and presumably Fedora comes with a couple of pop/imap and smtp packages by default, you might find these easier to get going than downloading and compiling source code or source RPMS.
The UW Imap ( http://www.washington.edu/imap/ ) package that comes with RedHat is pretty straightforward in setup. You can check if this is installed via.
rpm -q imap
You can install this from the Fedora CDs or download it from planetmirror.com if you dont have it.
If installed, you can start/stop specific services via the RedHat 'service' command, and check/modify whats set to run at bootup via 'chkconfig --list'
For example, if you run 'chkconfig imap on', the IMAP server component of UW-imap will now run at boot. If you then restart xinetd ( this controls a whole bunch of startup processes, including the pop/imap portions of uw-imap ) via 'service xinetd restart', or reboot the system, you should be able to get any imap client, point it at the box, and read mail from it after supplying the username and password for the specific account.
'ipop3' is the service name for POP3 if you would rather use pop than imap. The difference is basically that mail is downloaded to the client using POP vs mail staying on server using IMAP )
Hope this helps :)
archonit.net
26-04-2004, 02:14 AM
Finished my web/email server last nite. Accepts emails in (doesn't relay!!!) and acts as a PDC as well.
God I've posted this to about 10 threads already! SLACKWARE dammit!
Took 2 hours to get up and running if you ignore my deviation to qmail which really SUCKS (sendmail was a lot easier) and not geting squid to work immediately.
mbottrell
26-04-2004, 04:16 AM
Though... for security minded people QMail is better than Sendmail.
Though EXIM and Postfix are also good runners if QMail freaks ya out.
Glad to see you are up and running...
Hmm... incoming SMTP and PDC on same machine.... :eek:
Cheers,
Matt.
PeterBallard
01-05-2004, 10:50 AM
Hi all,
I've tried to follow the thread, but I'm still stumped. I'm trying to set up a web server, so I'm guessing half-bridge mode is the way to go.
The problem is, as soon as I go into half-bridge mode, I can't see the outside world (e.g. can't ping anything past the modem (192.168.1.1)).
I am running Linux redhat 9, and using a (netcomm nb1300 plus 4). As far as I can tell, I should be able to put the modem in half-bridge mode, ensure DHCP is running, and I should at least be able to see the world. I can't. Is there something basic I'm missing?
Here's and yes I've seen this page: http://www.cse.unsw.edu.au/~simonb/swiftel/
I've tried two things: selecting Half-Bridge only (and leave everything as default setting for non-bridged mode). This, as I said, meant I could ping the modem but no further.
Second, I tried some other suggestions from the above page (WAN->autoconnect->enabled; misc->HTTP-server-port = 81; misc->FTP-server->disabled); the result is the modem completely hung and I had to give it a hardware reset to factory defauls (groan). My modem software version is V5.010.1S which as far as I can tell is more up to date than on the web page above.
Any help appreciated.
You guys want to use a great linux distro for e-mail/web/ftp/file/printer server etc tru SMEserver .. based on redhat .... It's great ... It's even a gateway/firewall.
I've been running this beauty for about 2 years now and it's great. It's an all in one package does everything you would ever need ... and if it don't then just add it on :)
Best free package I've come accross and shit loads better then most commercial packages.
Got my modem hooked onto the server and run all my other PC's through it. Runs my mail, web, ftp, file, domain server as well as VPN etc.
Check it out : http://contribs.org/modules/phpwiki/index.php/Downloads
All you need is a box ... no monitor or keyboard cept for initial setup.
:) :) :)
axcairns
03-05-2004, 11:43 AM
Originally posted by Tib
You guys want to use a great linux distro for e-mail/web/ftp/file/printer server etc tru SMEserver .. based on redhat .... It's great ... It's even a gateway/firewall.
I've been running this beauty for about 2 years now and it's great. It's an all in one package does everything you would ever need ... and if it don't then just add it on :)
Best free package I've come accross and shit loads better then most commercial packages.
Got my modem hooked onto the server and run all my other PC's through it. Runs my mail, web, ftp, file, domain server as well as VPN etc.
Check it out : http://contribs.org/modules/phpwiki/index.php/Downloads
All you need is a box ... no monitor or keyboard cept for initial setup.
:) :) :)
Add another vote for SME Server. Running on an old celeron 400. Handles web, mail (both home and my Dad's company), file server and primary domain controller. 2 months uptime and counting.
Tib,
I am running SMEServer in server mode but want to switch to gateway mode so it acts as a firewall for my whole LAN. Sounds like you did it. Could you tell me how you configured your two ethernet cards (particularly what IP's you assigned)? Also, does the machine then become the 'gateway' address for my LAN boxes or do I leave that as my router's address? Lastly, how is port forwarding impacted?
Thanks,
Allan
axcairns
03-05-2004, 11:46 AM
Originally posted by PeterBallard
Hi all,
I've tried to follow the thread, but I'm still stumped. I'm trying to set up a web server, so I'm guessing half-bridge mode is the way to go.
The problem is, as soon as I go into half-bridge mode, I can't see the outside world (e.g. can't ping anything past the modem (192.168.1.1)).
I am running Linux redhat 9, and using a (netcomm nb1300 plus 4). As far as I can tell, I should be able to put the modem in half-bridge mode, ensure DHCP is running, and I should at least be able to see the world. I can't. Is there something basic I'm missing?
Here's and yes I've seen this page: http://www.cse.unsw.edu.au/~simonb/swiftel/
I've tried two things: selecting Half-Bridge only (and leave everything as default setting for non-bridged mode). This, as I said, meant I could ping the modem but no further.
Second, I tried some other suggestions from the above page (WAN->autoconnect->enabled; misc->HTTP-server-port = 81; misc->FTP-server->disabled); the result is the modem completely hung and I had to give it a hardware reset to factory defauls (groan). My modem software version is V5.010.1S which as far as I can tell is more up to date than on the web page above.
Any help appreciated.
I feel your pain. I originally hand built a server for my purposes (see previous post) using Gentoo Linux. Great learning experience and it finally worked but I ended up killing it because I was not confident I could maintain it adequately. SME Server is an out of the box solution that handles most of that crap for you. Highly recommend you go that route.
Allan
MrShadow
03-05-2004, 02:34 PM
I am running SMEServer in server mode but want to switch to gateway mode so it acts as a firewall for my whole LAN. Sounds like you did it. Could you tell me how you configured your two ethernet cards (particularly what IP's you assigned)? Also, does the machine then become the 'gateway' address for my LAN boxes or do I leave that as my router's address? Lastly, how is port forwarding impacted?
Not too sure on how to change from Server to Server & Gateway.
The server becomes the gateway, you will need to input the DNS server address for Swiftel on each machine as well. Set one card (usually eth1) as internal network (ie your internal network IP address could be 192.168.2.1) and the other (usually eth0) as external (if setting up modem in router/bridge mode, either DHCP, or statically assign it your IP address).
Restart the networking, and all should be well.
PeterBallard
03-05-2004, 05:08 PM
OK, concerning my earlier post. To hopefully help someone in the future, here's how I got the netcomm 1300nb plus4 modem working (in full bridge mode, as it turned out). Rather than download SME, I persisted in getting it working using redhat 9...
1. I put the modem in full bridge mode (just select WAN = "1438 Bridged IP LLC" and BRidge Mode = "Enabled" on the one page setup).
2. I checked it worked in Windows. In windows XP, I created a new connection ("broadband"), gave it my static IP and the Swiftdsl DNS servers under the TCP/IP settings tab; and it worked. So now I knew the modem was working and so any further problems were Linux.
3. In Linux, I ran the command adsl-setup, as root. (It's in /sbin, but was in my path anyway).
This set up a device called ppp2 (perhaps normally this would be ppp0, but I'd already set up ppp earlier for when I used dial-up rather than broadband).
4. Not sure if it was a bug in adsl-setup or a typo on my part, but when I looked at the properties ppp2 in /usr/bin/redhat-config-network (i.e. redhat->system-settings-network from the GUI) my swiftdsl password was wrong. I fixed it.
5. "route -n" showed that routing was through eth0 rather than ppp2. Somewhere on the web I read that I had to shut down eth0. So I had to run the following commands as root (# is the root prompt, not part of the command):
# ifdown eth0
# ifup ppp2
(Sometimes I had to bring ppp2 down then up again also).
Once I did that, I could connect to the internet. At the moment, I still have to repeat step 5 every time I re-boot, but I can live with that.
Thanks to all who responded, even if I didn't try your advice ;)
Originally posted by PeterBallard
# ifdown eth0
# ifup ppp2
(Sometimes I had to bring ppp2 down then up again also).
Once I did that, I could connect to the internet. At the moment, I still have to repeat step 5 every time I re-boot, but I can live with that.
check your nic config under /etc/sysconfig/network-scripts/ifcfg-eth0
it should have :
DEVICE=eth0
ONBOOT=no.
thats it
your ifcfg-ppp0 file (or ifcfg-ppp2 if you plan on keeping that name)
should have among other lines..
...
ONBOOT=yes
...
DEVICE=ppp0(ppp2)
...
ETH=eth0
That should stop you shutting them down and starting them up.
HTH
Kal :)
I am running SMEServer in server mode but want to switch to gateway mode so it acts as a firewall for my whole LAN.
ok ... it's easy ... just have to get back into the machine (console mode) and run the configuration again. But first you need two network cards of course.
You have to find out which card is the internal and external network (you can switch these around in the config as well).
Could you tell me how you configured your two ethernet cards (particularly what IP's you assigned)?
the internal IP has to be static eg .. 192.168.0.5 (I will tell you why 0.5 and not 0.1 later).
Also, does the machine then become the 'gateway' address for my LAN boxes or do I leave that as my router's address?
Yes .... the box then becomes the gateway for your lan ... so you have have to set the gateway IP address on all machines to your internal e-smith box IP.
Lastly, how is port forwarding impacted
E-Smith has a built in port forward section in it as well ... works great.
Now the reason why you need to setup the internal IP address to 192.168.0.5 is because your ADSL modem will use 192.168.0.1.
I use a netgear modem in bridge mode ... other modems should work the same.
But to get this working on E-smith in bridgemode you first have to install your network card into your windows machine ... then access the modem using your windows machine and configure the modem.
Now I have to remember how I did this .... took me a while to figure this out :D
OK ... first you set your modem to bridge mode
Second you setup the section where you put in your network cards NAT address.(very important)
and don't forget to give the modem a static IP address of 192.168.0.1(you can use what ever IP address range you like here ... just make sure your whole network is setup in the same IP range).
Once setup ... take out the network card and install it into your E-smith box ... this is the netork card you will use as the external card (Very Important) ... boot up the E-smith box and configure your network.
Set the E-smith box up to use eg : 192.168.0.5 for internal IP address.
Setting up e-smith is quite easy ... just follow the screens and read everything carefully ... don't worry if you get somthing wrong, you can re-configure it again and again till you get it right.
If anyone still has problems you can contact me on ICQ 10751062 give me a buz and I'll help where ever I can.
Ive had this baby running for over 2 years now without problems ... I've even got one setup at work ... uptime well over 4 months till I upgraded it to the latest ver.
Hope this helped.
If you need help on anything go to http://www.contribs.org and go to the forums there ... the do a search on a topic or ask a question ... the people there are great.
There are also heaps of addons you can install to make E-smith ... or should I say SME server as it is called now ... even a greater server.
Excuse the spelling mistakes :)
Tib.
The server becomes the gateway, you will need to input the DNS server address for Swiftel on each machine as well. Set one card (usually eth1) as internal network (ie your internal network IP address could be 192.168.2.1) and the other (usually eth0) as external (if setting up modem in router/bridge mode, either DHCP, or statically assign it your IP address).
You don't need to setup it up this way ... you can use your SME server IP address as the DNS address.
This is my setup:
Review configuration
Networking Parameters
Server Mode : servergateway
Local IP address / subnet mask : 192.168.0.5/255.255.255.0
External IP address / subnet mask : 202.45.104.66
Additional local networks : 192.168.0.0/255.255.255.0
DHCP server : enabled
Beginning of DHCP address range : 192.168.0.65
End of DHCP address range : 192.168.0.250
Server names
DNS server : 192.168.0.5
Web server : www.tibors.net
etc ........
as you can see the internal IP address and the DNS server address is the same.
My SME server is setup as an all purpose server it does everything for me.
If you need a more spacific setup I can access my server setup and do a complete howto.
Let me know.
Tib.
axcairns
05-05-2004, 06:04 PM
Cheers mate I'll give this a go on the weekend.
Allan
Just to give you an example the link bellow is the work machine I setup .... It has approx 25 users (internet connections) included.
It runs a DHCP as well as web server/file server/e-mail server and I'll be setting it up as a printer server as well (8 network printers total).
So far it has been a test machine ... very shortly I'll be re-configuring it to be the main e-mail server for approx 40 people as well as web/file/ftp/vpn etc.
As you can see you don't need a flash machine to do all this.
http://cooltemp.biz/phpsysinfo/
Mine I play around a bit more on ... it's a slightly gruntier machine.
http://tibors.net/phpsysinfo/
Tib.
mbottrell
05-05-2004, 10:50 PM
Looking at those stats listed above... both machines could do with some additional memory... :)
I notice one has 22% of swap space used when viewing it...whilst the load avg. was 0.00... a true sign of not enough memory. :)
Cheers,
Matt.
archonit.net
06-05-2004, 06:38 AM
EH.
Mine's got 97% physical memory full and 5% swap full.
Don't you realise that the expenditure always rises to fit the income ????
You buy another 1/2 gig of ram and it shoots up to 97% again.
You buy ANOTHER 1/2 gig and it shoots up again.
Sheesh!
Good on ya for showing such a cool graphical interface! I was doing it all manually with my own perl scripts and had stupid text-only displays....
Cheers!
mbottrell
06-05-2004, 07:43 AM
Ahh.... so little understanding. :D
Actually Linux will use all available PHYSICAL Memory by default.
It caches and buffers recent/frequently used data.
(Confirm with a free -m from your Linux CLI. Notice the second line.... that's the REAL usage, once you take buffers/cache into consideration.
An example from one of the machines here:
total used free shared buffers cached
Mem: 1514 1252 262 0 178 884
-/+ buffers/cache: 188 1325
Swap: 2047 0 2047
So once buffers are removed... I have used 188MB and have 1325MB free. :)
Notice the SWAP usage is 0MB? (Because the buffers/cache is traditionally removed first... or moved out to Swap if memory IS NOT ENOUGH!) :)
For a Mr. PHP Programmer man, you really don't live upto your name...
Haven't you heard of http://phpsysinfo.sourceforge.net/ ???
Shame, Programmer Shame! :p
Cheers,
Matt.
archonit.net
06-05-2004, 08:32 AM
Hey, i do my OWN programming and it isn't system related stuff. it's intranet's for large corps etc.
Sourceforge is great but honestly I mainly use it to get new games. FreeDroidRPG is the latest one the cool list. All of the major software (OOo and Moz) I download from mirrors and for minor stuff, like accounting and whatever, I make my own. My partner always whinges about how hard XYZ is to use (*cough* MYOB *cough*) hence it's easier in the long run to spend a few hours and create something that she can use (in between games of armagetron which has been played non-stop for years now (excepting when KOTOR came out in which case the old-dual boot was good. Dunno what I'm gonna do next time a starwars game comes out without linux support.... *bah*)!) .........
As for Linux: I'm happy to say that *all* pc's here have been switched to Linux as of last week. No trace of Windows around excepting for those dang stickers with the product keys that sit at the top of the PC. They're so much hell to remove that it's kinda worth spending another $100 and getting a new case: My attempt at making one out of Lego failed. Am I the only adult around who cherishes his lego TIE-Interceptor so much that it goes ON-TOP of my pc?!
The memory usage is at 53 meg with 8 users currently connected. Lovely little tool that `free -m` thing. Cheerios for telling me. I admit I don't know enough about the internal's of Linux (ie the entire free/cached thing) but I can certainly get 90% of it working relatively securely and quickly in no time. As for maintenance that's something I've learnt to do without as my slackserver hasn't been turned off since it was installed a few weeks back. The worst I did was switch to `init 1` and back. ONCE. Does it even *need* maintenance?!?!?!
The hardest part of linux, for me, is remembering to include mouse support in the kernel - Last month was the first time in 4 years I remembered to do it straight away.
Sheesh!
EDIT:
Hardest part of linux to include the ******* sendmail config file.
Thank heavens for google, honestly.
Any opinion on Qmail vs Sendmail vs Postfix (current one that I'm using)???
EDIT * 2:
Swap is *now* sitting at a lovely 0 as well ;)
Sorry, I totally forgot to gloat about that one!
Originally posted by archonit.net
Any opinion on Qmail vs Sendmail vs Procmail (current one that I'm using)???
Used to use qmail at an ISP a few years ago, been using sendmail up til about 1 week ago and now using postfix.
My memories of qmail are probably too outdated for this discussion, but Sendmail is another story. I've loved sendmail for as long as I've been a network admin (1998... who needs a macro, I edited the cf file :) ). It is however an absolute monster to configure. The default config now is pretty good. Some example configs on the site (sendmail.org) and elsewhere help as well. But if you have a very specific setup in mind strap yourself in for a good month of research. 2 years ago I fell foul of sendmail's DNS addiction in an environment that had a DNS server that didnt support views (damn you M$!!!) and when you have multiple internal networks supported by a single DMZ, that can be a REAL pain.
I now use Postfix because, if you know about internet mail, it can do everything you want it to do. Get ready to create lots of databases (hash tables are ok too I suppose) if you have lots of specific requirements. But regardless, it appears to do everything I want to acheive. It has some excellent filter rules for bad smtp connections, including PTR and MX checks.
I used to administer lotus as well but no longer consider that <profanity removed> product a mail server.
You really do have to match your needs to a product since most of the open source ones can be pretty good.
archonit.net
06-05-2004, 02:26 PM
Edit to my above post - it's postfix not procmail I use.
I had just finished making system changes and I dunno why procmail was lingering in my mind when I wrote that.
Entirely agreed on the above comments though.
Ive messed with all 3 now, it's my first time at doing an email server - I'd done many webservers, name servers etc - but email had eluded me.
Upon first trying it apparently it seemed, based on other forums, that qmail was the easiest. So I ridded my system of sendmail and tried qmail. After a good few days I gave up with it as it seemed to be very dicey and had a 'works today, fails tomorrow' kind of attitude to it.
I then gave sendmail the greeting it deserved and found it relatively easy to configure until I wanted to install an Anti-Virus scanner alongside it. That turned out to be a nasty experience.
Pro...
Postfix (still saying procmail here... sheesh) was easy to set up, easy to configure and seems relatively stable (no problems after 3 weeks of uptime).
Never tried lotus though, thankfully. IBM's scared me enough in the past .
Cheers for those thoughts Kal.
mbottrell
06-05-2004, 03:05 PM
I'm currently using Sendmail personally... because I grew up on it in the early 90's... (editing sendmail.cf by hand too kal!).
Since the introduction of M4 macros... it's a breeze.
I am moving to Qmail after the release of Fedora Core 2 (released next week! :D).
I've run Qmail up for a lot of places, and works well... Postfix is also reasonable...
Preference wise... it depends what you want.
If you're familar with Sendmail.. stay with it.
New.... Try Postfix....
Learning something completely diff. Try Qmail. :)
Glad ya got ya swap usage down to 0MB! :D Well done, you'll find the system is much more responsive. ;)
NB: If you want a lego case... checkout google's early hardware: http://web.archive.org/web/19990209043945/google.stanford.edu/googlehardware.html
Read the thread on Slashdot.org: http://slashdot.org/articles/04/04/03/1354222.shtml?tid=137
Cheers,
Matt.
archonit.net
06-05-2004, 03:30 PM
The google thing is what gave me the idea.
Also look at these ultra cool ones:
http://members.cox.net/richw/lego.htm
http://www.directron.com/contest1win.html
There was another one somewhere with a smaller pc and it looked nuts. Had bits that came up for the usb ports (so u could put them back down when they aren't being used) and the same for CD-drives.
But who in the hell has that much lego?!??!
I had 2 huge boxes and it still isn't enough!
I notice one has 22% of swap space used when viewing it...whilst the load avg. was 0.00... a true sign of not enough memory.
true ... but the systems are still running fine ... it doesn't seem to be slowing down anything atm so I'll leave it the way it is.
For my server I need to get propper server ram and it's not cheep so it can wait for a bit longer. The work machine is just a test unit so far ... well sort of test ... but when I put it 100% online I'll be using a machine with more ram in it ... possibly 1 gig but it's still not neccessary till it starts running slower.
I also noticed it uses more swap space when you download a lot ... before I started to D/L my 4 gig file it was only at 3 - 5% usage.
Tib
mbottrell
07-05-2004, 05:26 PM
Can't wait til someone releases LEGO based CPU coolers... :D
Can see the QA dept now...
"So they are supposed to melt onto the CPU yeah?"
Cheers,
Matt.
axcairns
09-05-2004, 12:24 PM
Originally posted by Tib
You don't need to setup it up this way ... you can use your SME server IP address as the DNS address.
This is my setup:
Review configuration
Networking Parameters
Server Mode : servergateway
Local IP address / subnet mask : 192.168.0.5/255.255.255.0
External IP address / subnet mask : 202.45.104.66
Additional local networks : 192.168.0.0/255.255.255.0
DHCP server : enabled
Beginning of DHCP address range : 192.168.0.65
End of DHCP address range : 192.168.0.250
Server names
DNS server : 192.168.0.5
Web server : www.tibors.net
etc ........
as you can see the internal IP address and the DNS server address is the same.
My SME server is setup as an all purpose server it does everything for me.
If you need a more spacific setup I can access my server setup and do a complete howto.
Let me know.
Tib.
Tib,
I gave it a go but no luck.
My setup -
Netcomm NB1300
WAN - 1483 Bridged IP LLC
Bridge Mode - Enabled
SME Server
Server Mode : server and gateway - dedicated
Local IP address / subnet mask : 192.168.1.2/255.255.255.0
External Ethernet Adapter : static IP
External IP address / subnet mask : 218.214.12.126/255.255.255.0
Gateway IP Address : 192.168.1.1 (address of modem)
DHCP server : enabled
DHCP address range : 192.168.1.100 - 192.168.1.250
Desktop PC
Internet Gateway : 192.168.1.2
I can ping and SSH the SME server but can't access the modem from the desktop or access any internet sites.
You mentioned something in an earlier post about setting up the NAT for the server. I didn't quite follow that. Could you elaborate?
Thanks,
Allan
Allan
You mentioned something in an earlier post about setting up the NAT for the server. I didn't quite follow that. Could you elaborate?
Sorry that was the MAC address I was trying to talk about ... I couldn't remember the term
To get this working on E-smith in bridgemode you first have to install your network card into your (windows) machine ... then access the modem using your (windows) machine and configure the modem. (you can only access the modem this way ... once the modem is connected to the sme-server you cannot connect to it anymore)
You can only setup the modem this way ... I know it's a pain in the **** but thats the only way.
You setup the section where you put in your network cards MAC address.(very important)
and don't forget to give the modem a static IP address of 192.168.0.1(you can use what ever IP address range you like here ... just make sure your whole network is setup in the same IP range).
Once setup ... take out the network card and install it into your E-smith box ... (this is the netork card you will use as the external card) (VERY IMPORTANT) ...... boot up the SME-server box and configure your network. (Just follow the prompts)
Set the E-smith box up to use eg : 192.168.0.5 for internal IP address.
I'll check to see if I can find anything more out about the modem you have but I think they all work the same way. Except for the old telstra modem (Alcatel speed tough home modem) there the easiest to setup on SME-server.
The Alcatel speed tough home modem is just a straight out modem thats it no bridge mode to wory about ... as simple is you can get it.
If you need more help just ICQ me or msn me and I'll try and help as your setting it up.
ICQ : 10751062
MSN : tsuto@tibors.net or Tib
Tib
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.