Welcome to the Tiny Core Linux Wiki at tinycorelinux.net!

Differences

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

Link to this comparison view

dcore:server_applications [2016/11/06 01:54]
nitram [Samba]
dcore:server_applications [2017/09/19 12:36] (current)
sm8ps [Running]
Line 1: Line 1:
 ====== dCore Server & Networking ====== ====== dCore Server & Networking ======
-===== dCore Server Overview =====+===== Overview =====
 dCore may be used as a basic, lightweight home server. A text only server would require <64mb RAM (~42mb) at boot. It can utilize an existing swap partition, if already present. Otherwise create either a swap file or partition as needed. Although a live boot requires only ~20mb drive space (CD, DVD, USB, hard drive), a frugal text only installation (persistent hard drive install) likely requires ~100-200mb drive space, even after installing desired server and networking extensions. The Tiny Core base system, dCore components and server tools can all be managed from command line, no need to install Xorg/graphics. dCore may be used as a basic, lightweight home server. A text only server would require <64mb RAM (~42mb) at boot. It can utilize an existing swap partition, if already present. Otherwise create either a swap file or partition as needed. Although a live boot requires only ~20mb drive space (CD, DVD, USB, hard drive), a frugal text only installation (persistent hard drive install) likely requires ~100-200mb drive space, even after installing desired server and networking extensions. The Tiny Core base system, dCore components and server tools can all be managed from command line, no need to install Xorg/graphics.
  
Line 246: Line 246:
                 15713248 blocks of size 1024. 15667168 blocks available                 15713248 blocks of size 1024. 15667168 blocks available
 </code> </code>
 +
 +===== SSH =====
 +The OpenSSH-server package does not run "out of the box" because the SSH-keys must be created manually once and then included in 'mydata.tgz'.
 +
 +==== Preparations ====
 +  - After loading the extension for the first time, issue ''sudo ssh-keygen -A'' in order to have the necessary keys generated. This will populate '/etc/ssh/' with private and public keys.
 +  - Set a password for user "tc" by ''sudo passwd tc''. The traditional password is "tcuser".
 +  - Add "etc/ssh/" as well as "etc/shadow" to '/opt/.filetool.lst' and issue ''backup''.
 +
 +In principal it should not be necessary to set a password as there is the option //PermitEmptyPasswords// in '/etc/ssh/sshd_config'. However, this does not work at least on Ubuntu Xenial.
 +
 +
 +==== Running ====
 +Start the server via ''sudo /etc/init.d/ssh start'' or ''sudo service ssh start'' (on Ubuntu).
  
 **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]** **[[http://wiki.tinycorelinux.net/dcore:welcome|> Return to the dCore Wiki Welcome page]]**
Print/export