LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-01-2011, 05:33 AM   #1
Blunda
Member
 
Registered: Oct 2008
Posts: 40

Rep: Reputation: 0
Home Mail/Print Server


Hello

I am looking to setup my old P4 2Ghz laptop as a mail/print server. I currently have crunchbang running on it which I am fairly happy with.
I was just wondering how I would go about striping the system down so that it uses as little resources as possible? or would there be a better
OS for my needs? It will only be used as a mail/print server so i guess there is no need for a GUI but im not sure how confident I am with
only using command line. I have been looking at dovecot for the mail server softwear but im still looking into setting it up as a print server aswell.
This is only a home network so I only have basic needs. Any advise on the subject would be much appreciated.
 
Old 04-01-2011, 10:53 AM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,801

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Re: Disabling unneeded services

I'm not familiar with the "crunchbang" so I can't tell you exactly which distribution-specific utility you use to trim the system resource usage down. (For example, I'm using OpenSUSE so I would use YaST). In general, you can go into the /etc/rc.d directory tree and manipulate the symbolic links that are used to start services at boot time. To avoid running a service the simplest -- and least destructive (IMHO) -- way to turn it off would be to rename the symbolic link and make it hidden. For example, to turn off the NFS daemon", you would
Code:
cd /etc/rc.d/rc3.d
mv S08fs .S08nfs
Renaming the link preserves it in the startup directory but removes it from the list of steps that the system startup scripts will "see". And it makes it easier to turn the service back on if you decide you need it in the future. (I assume that you're running this system at level "3" and don't need the graphical interface running all the time. If you do, do the above in the "rc5.d" directory as well. However, for a pure server, you would probably be better off running at level 3 and using X Windows by running "startx" only as needed.)

What to turn off? I'd guess that NFS might not be necessary. Also look at any multimedia-related daemons as candidates for disabling. You may find after doing this tweaking that the amount of resources you free up aren't as large as you might think. But every little bit helps. (I think the Linux installers require a lot more resources than the resulting Linux system they create. Slide shows and Tetris games to keep you amused during the install process are so-o-o necessary, you know. :^( )

Hope this helps...


--
Rick
 
Old 04-01-2011, 12:05 PM   #3
Blunda
Member
 
Registered: Oct 2008
Posts: 40

Original Poster
Rep: Reputation: 0
Certainly points me in the right direction

FYI crunchbang is a debian "squeeze" variation
 
Old 04-02-2011, 09:00 AM   #4
Blunda
Member
 
Registered: Oct 2008
Posts: 40

Original Poster
Rep: Reputation: 0
Can anyone recomend good mail server software which will run on a low spec laptop?
 
Old 04-03-2011, 02:41 AM   #5
zunder1990
LQ Newbie
 
Registered: Feb 2011
Posts: 29

Rep: Reputation: 3
For Linux most people use sendmail or postfix. As along as the the laptop is not much older then 7 year, it will run linux with sendmail or postfix just fine. Also look at dovecot.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing my home file/print server through the internet pengyou Linux - Networking 1 03-30-2011 01:10 PM
instant print from pop3 mail server ie emulate ipad print to hp printers PDock Linux - Software 2 12-08-2010 03:45 PM
[SOLVED] Home print server using CUPS? halborr Linux - Server 17 01-17-2010 03:04 AM
Error Retrieving Mail from Linux Mail Server: Unable to Scan $HOME/Maildir tmghendi General 0 06-15-2009 07:35 AM
How to print at home from Linux server at college ekern Linux - Newbie 3 11-17-2004 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration