Nov 01
My openSUSE Home Server
This is a quick how-to on setting up openSUSE 10.3 as a Home Server.
Let me rephrase that… a secure, 100% FREE Home Server (2 things Windows Home Server can’t claim).
Click on pic for a larger image. |
The machine:
openSUSE doesn’t require much hardware-wise to run a Home Server.
Asus TUSL2-C
1.2 Celeron
512MB Memory
ATI Radeon 7000
No sound card.
D-Link DGE-530T Gigabit NIC
Promise ATA133 ATA Card
Maxtor 80GB, Maxtor 40GB, Maxtor 200GB
Liteon DVD-RW
Printers:
HP Officejet 4110
HP Deskjet 3745 printer
The Install:
It couldn’t get any easier. I have 3 hard drives, I partitioned them like this:
1 (80GB) – / , /home , /home/myname/xzy
2 (40GB) – /home/myname/abc
3 (200GB)- swap , /home/myname/mno
Boot – from MBR
Packages:
From the main screen I deslected:
-Novel AppArmor
-Multimedia
-Office Software
-Desktop Effects
-Graphics
-Games
I selected:
-File Server
-Print Server
(selecting these will install everything you need to have a file and print server)
Next I clicked the details button and deselected various things that aren’t needed i.e. realplayer, etc.. I also did a search for beagle and deslected it and anything related to it.
Click on pic for a larger image. |
Post install:
All updates were applied during installation including a new kernel, double-checked and none available.
Next I set up software sources via the Community Repos button in YAST.
I set up Samba just like I do in my guide, except, while in Swat I did the following differently…
Under Browse Options:
-Set OS Level to 32.
-Set preferred master and local master to Yes.
Still in Swat, on the Printers page I changed the ‘guest OK’ box to Yes.
Other Network Settings:
– In YAST configure network card for a static IP Address.
(this allows me to specify an IP Address instead of a machine name when setting the printer on other boxes)
Anti-Virus
Most people agree Linux doesn’t need an anti-virus application. However, in a situation where a Linux computer may share files with a Windows computer (either through dual-boot or as a file server) having an anti-virus is a good idea. There are several anti-virus applications for Linux, the most popular being Clamav (or it’s KDE variant KlamAV). These applications can scan your files for viruses ensuring you don’t harm your Windows computers. But, I have run in to a problem. Most (if not all) of these applications have what is called “on access” scanning capability. In practice it means that files are scanned as they are accessed, I’m sure you can see the benefit in that. This capability requires the installation and configuration of Dazuko, and that is the problem. After hours of web surfing and trial and error I was finally able to get Dazuko and “on access” scanning to work, BUT, in the end I had to disable selinux (edit boot to selinux=0). This in effect weakens the security of the Linux box to protect the Windows environment which I found to be unacceptable. In addition, for openSUSE it seems that it is incompatible with AppArmor (but I don’t use it). I’m not going to get into the argument as to where the fault for this problem lies, I’m just letting you know it is there to save you the
hassle and wasted time of trying to mess with this. So I restored from an image and I’m using KlamAV (installed via YAST) with a regular scan enabled.
Conclusion
That’s it. All boxes on my net (Windows and Linux) successfully network to and from the server and print perfectly.
I would appreciate any feedback or tips you might have.
Eric















November 7th, 2007 at 8:13 am
QUOTE:
-Multimedia
-Office Software
-Desktop Effects
-Graphics
-Games
Why on god’s green earth would you want ANY of those packages on a SERVER??? Especially a Linux server – load the thing to a CLi, and leave X off – more secure, and much less overhead!
If you can’t get around the CLi for a server, perhaps you should stick to running Windows.
November 7th, 2007 at 5:15 pm
“DESELECTED” means I did not install it.
November 7th, 2007 at 7:29 pm
Why wouldn’t you want to run a GUI on your home server, it is a home server after all? I love how linux fanboys tout the security of linux then state that running a GUI under linux makes it insecure.
November 9th, 2007 at 12:44 pm
I have to say, JJ had a real keen observation there…except that he didn’t read what you had written. I agree that those apps have no place on a server (as does the author)…but I also agree that a GUI is excellent for a home server or small business server. I just can’t tell you how many times I’ve sat around thinking, “Gee, can someone please take away my GUI so that I have to go hunt down each and every command I need before doing anything?”
January 23rd, 2008 at 4:45 pm
Do you have any manuals in pdf or similar, for setup OpenSuse Linux server?
Do you thik is Suse Linux Enterprise Server manuals equal OpenSuse?
tnx
January 23rd, 2008 at 8:42 pm
Check the links above and this one:
http://www.howtoforge.com/perfect_server_opensuse10.3
May 15th, 2008 at 6:00 am
JJ well done, it’s that sort of attitude that keeps users away from Linux.
Why not have a GUI?
If you can’t let people make the own choices why bother running Linux?
Tom.
September 8th, 2008 at 10:44 pm
Thanks for this article, it was really helpful. I dont agree with JJ, because I am really interested in the Linux server, but the Command Line scares me a little bit and is very off-putting – not that I cant do it, but why should I? And definitely dont want to do it on my first time. I am just glad that you pointed out this program, and here’s hoping I get even this right!