SliTaz SliTaz Forum

You are not logged in.

#1 2011-09-02 09:35:08

mat619
Member
Registered: 2011-09-02
Posts: 7

SliTaz for minimal Samba server?

Hi there,

I'm planning to transform an old thinclient into a little samba fileserver. An old version of SliTaz is already running on it, so I know the hardware support is fine.

I'm very limited by the tiny 128 MB IDE flash module that has to act as the system harddisk (the mainboard doesn't like USB boot, so that is not an option to avoid the space issue) though.

That's why I'm thinking about dumping the old install, which was an experiment to get a fully-equipped desktop Linux onto a 128 MB HDD, and make a new one more suitable for the task. All I need basically is a core system (GUI not needed, CLI would be fine, will run headless anyway) and a functional samba install, so I can share some files from two USB HDDs on my home network. I guess transfers will be slow, but speed doesn't matter terribly much.

Any suggestions how to accomplish this using SliTaz? I've mever tried to make such a minimal installation.

Thanks in advance!

Matt

Offline

#2 2011-09-02 16:10:18

devl547
Administrator
Registered: 2011-06-01
Posts: 285

Re: SliTaz for minimal Samba server?

tazpkg get-install samba )) And configure it as needed.

Offline

#3 2011-09-04 12:12:05

mat619
Member
Registered: 2011-09-02
Posts: 7

Re: SliTaz for minimal Samba server?

Okay, thanks so far! What flavour of SliTaz would you recommend to use as a base if I do a fresh install? As I said, I don't really need a GUI, I'd rather save the space it eats up for other stuff.

Offline

#4 2011-09-07 05:13:35

mojo
Administrator
Registered: 2011-03-29
Posts: 2,174

Re: SliTaz for minimal Samba server?

Start with this:

http://distro.ibiblio.org/pub/linux/distributions/slitaz/iso/cooking/flavors/slitaz-cooking-base.iso

Only 15MB installed, includes dropbear ssh server for headless admin.

I doubt you can fit Samba with all it's depends in 128MB.

Offline

#5 2011-09-07 15:16:52

bellard
Administrator
Registered: 2011-03-28
Posts: 657

Re: SliTaz for minimal Samba server?

Let's see...

With a browser go to http://pizza.slitaz.org/

Step 1 : click continue

Step 2 : select base flavor and click continue

Step 3 : select samba in Available, click add and click continue

Step 4 : click continue

Step 5 : click continue

Step 6 : fill description fields (I set minisamba in Flavor name) and click download

On your desktop

# tazlito extract-flavor minisamba.flavor

# grep "ROOTFS_SIZE" /home/slitaz/cooking/flavors/minisamba/receipt

ROOTFS_SIZE="79.7M (estimated)"

80MB for the rootfs means 48MB for the kernel and the daemons. It should be ok.

Next step to do is the iso:

# tazlito get-flavor minisamba.flavor

# tazlito gen-distro

Optional: you can convert the iso into a loram iso (System tools -> Create a LiveCD / Low RAM) and it should work with 64MB only.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.017 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]