Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:fileserver [2012/10/03 07:51] – Added explanation on persistence for /etc files kennedywalkerwiki:fileserver [2013/05/09 18:22] (current) – added TFTP under listed alternatives tinypoodle
Line 2: Line 2:
 A fileserver is a machine other than your workstation, that keeps your files.\\ A fileserver is a machine other than your workstation, that keeps your files.\\
 Usually, a single fileserver provides filesharing between multiple workstations.\\ Usually, a single fileserver provides filesharing between multiple workstations.\\
 +There are a number of alternatives for sharing files: 
 +  * NFS 
 +  * Samba 
 +  * Rsync 
 +  * FTP-SFTP-TFTP
 ==== NFS server ==== ==== NFS server ====
-The following is a simple recipy for setting up a NFS server that is available to all machines in a subnet.\\+The following is a simple recipe for setting up a NFS server that is available to all machines in a subnet.\\
 To set up a NFS **server** under TinyCore, you need 2 packages. (To setup a NFS **client**, you only need the first package.) To set up a NFS **server** under TinyCore, you need 2 packages. (To setup a NFS **client**, you only need the first package.)
   - nfs-utils.tcz   - nfs-utils.tcz
   - filesystems-`uname -r`.tcz   __(note: shell backquotes to insert output of `uname -r` command.)__   - filesystems-`uname -r`.tcz   __(note: shell backquotes to insert output of `uname -r` command.)__
-The appropriate install option for both packages is //OnBoot//+The appropriate tce-ab install option for both packages is //OnBoot//
  
 === NFS server configuration files === === NFS server configuration files ===
Line 36: Line 40:
  
 === Approaching the NFS server by a client === === Approaching the NFS server by a client ===
-If your TinyCore box with the NFS server has IP address 192.168.2.252, then you can access its files from any machine with an IP address like 192.168.2.xxx ; by entering the following command.+If your TinyCore box with the NFS server has IP address 192.168.2.252 and a /etc/exports as shown in the previous text,\\ 
 +then you can access its files from any machine with an IP address like 192.168.2.xxx ; by entering the following command.
 <code> <code>
 sudo mount 192.168.2.252:/home/nfs  /mnt/nfs sudo mount 192.168.2.252:/home/nfs  /mnt/nfs
 </code> </code>
-( See [[boot option nodhcp]] to obtain a fixed IP address )+( See [[boot option nodhcp]] to obtain a fixed IP address for the server)
  
 See also: See also:
Line 46: Line 51:
   * [[http://forum.tinycorelinux.net/index.php/topic,7940.msg42631.html#msg42631]]   * [[http://forum.tinycorelinux.net/index.php/topic,7940.msg42631.html#msg42631]]
   * [[http://forum.tinycorelinux.net/index.php/topic,10948.0.html]]   * [[http://forum.tinycorelinux.net/index.php/topic,10948.0.html]]
-  * +  * [[http://forum.tinycorelinux.net/index.php/topic,13923.0.html]]
  
 === Managing the file server === === Managing the file server ===
Line 53: Line 58:
 On such occasions, command-line access through a remote shell can come in handy.\\ On such occasions, command-line access through a remote shell can come in handy.\\
 A solution for this, which is secure as well as reasonably cheap on resources is a Secure Shell.\\ A solution for this, which is secure as well as reasonably cheap on resources is a Secure Shell.\\
-You can use OpenSSH, or Dropbear. (both being more secure than plain old telnet)\\+You can use [[OpenSSH]], or its light-weight alternative [[Dropbear]]. (both being more secure than plain old telnet)\\ 
 +If you want to use [[http://www.en.wikipedia.org/wiki/SSHFS|SSHFS]], then please note that you will need a SFTP server on your TinyCore box.\\ 
 +Dropbear does not come with a SFTP server, but it can borrow the SFTP-server that comes with OpenSSH. 
 + 
  
 ==== Samba server ==== ==== Samba server ====
Print/export
QR Code
QR Code wiki:fileserver (generated for current page)