Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: Mr Green on July 19, 2011, 06:37:06 AM
-
Are there any guides on making a tiny core server? want to set up a basic file server at the moment
MrG
-
1. Install MC
2. Install a server
3. Configure the server, have it start on boot
;)
If you need specific advice, you'll need more specific questions.
-
Thinking along the lines of openssh to start, I can figure out how to get it running ....
How do I go about installing mc? can do tci install no problem
Thanks
MrG
-
You can obviously run your server from either microcore or tinycore. If you used the gui installer, just choose microcore.gz instead of tinycore.gz
-
Have installed tiny core without too many problems but wanted just a basic server [no gui] I will run tci and look for mc
Thanks
-
Found an old 256mb usb stick in the bottom of a box of spare parts, ran tiny core (tci) [under Virtualbox] installed MicroCore good to go.
It is about time I learnt how to run Linux from command line ;)
MrG
-
Starting a server is usually mentioned in the info file, you'd add it to bootlocal.sh. For openssh:
/usr/local/etc/init.d/openssh start
-
Managed to get openssh running [well localhost anyway!] put config files in .filelist in /opt but they are not kept over reboot. Is there a way to backup settings keys etc ?
-
Hi Mr Green
If you are looking for something that Windows based machines can easily access then Samba is a
good choice. Using the forum's search function enter samba for the subject and Rich for user.
Included in the posts returned you will find my config file with a brief explanation of what each line
does and how to mount a Samba share on a client. You will also find information about backing up
your settings.
Among the other possibilities there is NFS which is primarily used for sharing between Linux machines
and FTP.
-
No windows machines here I am afraid, would like to keep system small and light eventually hook it up to a hard drive for more storage.
Thanks for the heads up, enjoying messing around in a terminal at last
MrG
-
HI:
Does somebody know how to configure cups as a server for
linux machines? I have cups running and printing via lpt0
but I can not see the printer from another linux machine.
I assume that, if I want to see the printer from a windows machine,
cups server is not enough - I think I need samba in this case.
Thank you for helping out here
-
Does somebody know how to configure cups as a server for
linux machines? I have cups running and printing via lpt0
but I can not see the printer from another linux machine.
It's a question of setting up cups to share printers and making them browseable - in this case when you start cups on the remote linux machine, it will display the shared printer automatically - I'm not at a linux machine at the moment, but google should turn up something on this.
I assume that, if I want to see the printer from a windows machine,
cups server is not enough - I think I need samba in this case.
I believe this is correct - I recently posted a method to be allow windows machines to use a local printer driver rather than the cups one here:
http://forum.tinycorelinux.net/index.php?topic=9633.0
Edit: see also:
http://forum.tinycorelinux.net/index.php?topic=818.0
-
I assume that, if I want to see the printer from a windows machine,
cups server is not enough - I think I need samba in this case.
In a multi-user LAN consisting of Linux and Windows workstations, Samba is the usual means of providing shared directories. It controls who has access to the shared resource. In such circumstances, Samba is also often used to provide controlled access to printing resources. If uncontrolled access is acceptable, Samba is not required to share printing resources. This can be achieved for both Linux and Windows workstations via CUPS alone.
A summary of the what is required to set up uncontrolled access might look like:
- CUPS sets up a print server
- The print server is made available via Share printers connected to this system
- A print queue for the physical printer is set up within CUPS
- The print queue is published via Share this printer
At this point, providing each LAN workstation is set-up appropriately, both Linux and Windows have uncontrolled access to the printer.
-
Hello
Just did this for a friend using a thin client with external usb drive. Used Putty in Windows for ssh access using public/private keys (couldn't get acpid to work at first) and share level samba. Managed to get the power button to shutdown also. All using info mostly available here in the forums. Will write a guide if time available soon as a give back. How far have you got so far?
-
In the meantime, here is a nice guide...
http://www.parkytowers.me.uk/thin/Igel2110/IgelLinux.shtml
-
Hi ldak
Very nice indeed. One minor comment. The EXT3 file system is a journaling file system. Journaling
file systems are not recommended for use on flash devices since they will wear those devices out
faster. I believe you can disable the journaling if you want, though I don't recall how off the top of
my head.
-
Only on ext4, ext3 doesn't support a non-journaling mode.
-
Hi curaga
You are correct. Had I taken a few minutes to research this I could have given a better answer, so
here it is:
The EXT3 file system is basically an EXT2 file system with journaling added. While you can not
disable the journaling, you can convert it to an EXT2 file system by booting using the boot codes
base norestore so that the drive is not mounted. Then execute the following commands:
e2fsck -fp /dev/sda1 Make sure the file system is clean before doing anything else.
tune2fs -O ^has_journal /dev/sda1 Convert the partition to EXT2.
e2fsck -fp /dev/sda1
This assumes that sda1 is the partition you wish to convert. Let me know if I've missed anything.
[EDIT]: While this is off topic, I felt it might be pertinent for anyone reading ldak's website.
-
Hello Rich
I am a somewhat jaded linux newbie, only seeming knowledgeable to my fellow Windows admins...8)
Was aware of the flash / journalling issue, so used ext2 on the flash and ext4 on the external usb drive used for file store.
Disabled backup on shutdown to stop fiddling.
Thanks for taking the time to advise.
-
Hi ldak
I only made that comment to make others aware because the of following from your website
Using cfdisk create hda1 - a 200Mb bootable partition and hda2 - the rest (844Mb with my 1GB card).
Next format the two partitions.
mkfs.ext3 /dev/hda1
mkfs.ext3 /dev/hda2
which shows an EXT3 file system being put onto a flashcard. As I said, a nice website, and well written.
-
Hello Rich
Right to point it out.
Can't take the credit for the link though....it's not mine, just a guide to be dipped into as found useful. Credit goes to thin@parkytowers.me.uk
-
Hi ldak
My mistake, I thought it was your site.