Forum Home
Press F1
 
Thread ID: 40299 2003-12-04 02:16:00 samba machine heni72847 (1166) Press F1
Post ID Timestamp Content User
197177 2003-12-04 02:16:00 is there a way to run a linux distro that can boot fast and mount all the partitions and get the smb service runing so it is purely a linux file server for my window machines...

i'm trying to do it from mandrake...having some difficulties... or is there a distro out there purely made for this purpose??
heni72847 (1166)
197178 2003-12-04 03:24:00 Try other distro like redhat9 or slackware.. ilikelinux (1418)
197179 2003-12-04 03:51:00 um.. but what's like the min. stuff u need to get samba running and ready to servce files? heni72847 (1166)
197180 2003-12-04 04:07:00 I think Mandrake comes with a reasonable default smb.conf file. You will probably need to review it for your own particular setup.

I've just setup a box with Samba 3.0 with Mandrake. This involved compiling from source though!
Dolby Digital (160)
197181 2003-12-04 04:17:00 i've got samba working with my mandrake aswell

i just want to some how make the system boot up into linux and get smb working and serving files fast and easily
heni72847 (1166)
197182 2003-12-04 04:29:00 There are a lot of things involved . You can make the sytem boot quicker by compiling a kernel with only the functions needed and with all the needed drivers (disk, network, ) inclued rather than as modules . That gets you a smaller kernel, and lets you do away with the inittrd step . You also make it boot (and run) faster by not loading a GUI . :D

You won't find a distribution to run just as a Samba server . (Of course, some one will prove me wrong :D) .

It wouldn't take too much playing around to build it . But of course you find something left out at each step .

Linux hasn't made much of a thing about fast booting --- MS did because their OSs seem to need rebooting often; *nix boxes have always been left running . :D

Try doing a server installation, with the development stuff so you can compile the kernel . Make it so that it boots to the black screen . Load the mc file manager (and everything) so you are not totally lost .

Use grub and change /boot/grub/grub . conf by adding a copy of the lines of the default system (with a different title ;-)) but without the initrd line . See if that will boot .
Graham L (2)
197183 2003-12-04 04:30:00 It is quite possible with mandrake . With minimal services it should take <30seconds to boot .

First, get samba installed and working . Install the packages "samba-server" and "samba-swat", from the command line just use "urpmi samba-server samba-swat" . SWAT is a remote admin too to configure samba from another machine, you can access it by entering http://localhost:901 in your browser .

Once its working, disable all services you don't need . This can be done through the mandrake control center . Use "drakboot" to stop X from loading, when you reboot you should get a text login . You can start X manually with the "startx" command .

Then use DrakServices ("drakxservices" at the console) to disable any other services . you don't need . The bare minimum to leave on would be smb, xinetd (to run SWAT), devfsd, iptbles (and other firewall stuff), keytable, network (and maybe netfs), syslog .

BTW, is this the same system you are having trouble with samba? Because mandrake includes all the samba stuff you would need, you don't need to download any 3rd parth stuff .
bmason (508)
197184 2003-12-04 06:29:00 If you're new to Linux, then I'd suggest you think long and hard about what you're doing, or be prepared to learn... Its really not that bad :-)

You're not going to want things like XFree86 installed on a server...
LFS/Gentoo might make a good option...
Vector Linux comes to mind here. Ive just installed VL4 on a PC at work without X (X comes tomorrow.. I had to leave for home :-)).
See:
www.distrowatch.com
Says it comes with Samba :-) 2.2.8 should suffice :-)
V4L will work on anything 386 upwards with 16MB RAM..!

I can then send you a sample smb.conf file if you'd like, or see:
www.nzlinuxfaq.orcon.net.nz

Hope this helps


Chill.
Chilling_Silently (228)
197185 2003-12-04 07:06:00 For a basic setup, see:
homepages.paradise.net.nz

JohnD
JohnD (509)
1