This guide is about samba on raspberry pi, Samba is a collection of networking tools to provide network resources in a Windows network. These can be shares of directories and printers that Samba provides and regulates client access to the services. Samba is not limited to Windows clients. Just as well Linux and Apple PCs can use the network shares.
Raspberry Pi
mount an NFS directory with autofs
Automatically mount/unmount an NFS directory with “autofs”
The goal is to make an NFS-exported directory permanently available on a client. Normally this would be done by modifying the file “/ etc / fstab” so that the NFS directory is automatically included at system startup. However, “fstab” has the disadvantage that mounting fails if no network is available at system startup. Usually you create a script that hangs the directory only when a network connection was detected. Or you can enter the mount command in the file “/etc/rc.local”.
[Read more…] about mount an NFS directory with autofsSetup NFS server on Raspberry Pi
NFS is the abbreviation of “Network File System”. This is a service that releases or exports directories on a file server to other computers over the network. Other servers or clients can mount these directories. That is, hook in their file system. Including a directory exported by an NFS server on a local client looks to the user as if that directory is on his local machine.
Windows knows something similar. This is the drive or folder share. However, the NFS shares are not so comfortable to use. For Linux, the administrator of a system must know on which machine the NFS shares are located.
[Read more…] about Setup NFS server on Raspberry PiRaspberry Pi as a MySQL backup server
Raspberry Pi as a MySQL backup server for web hosting database
If you run a website with a MySQL database at a classic web host, then you have the problem that you can not make a decent backup here. You can do that manually with phpMyAdmin or similar tools. But unfortunately, you have to do it manually. There are also tools that do it fully automatically. But then the backup is still on the server of the web hoster. It would be better, you could pull the backup fully automatically on a separate computer.
[Read more…] about Raspberry Pi as a MySQL backup serverinstall lighttpd web server on Raspberry Pi
How to install lighttpd raspberry pi
There are several web servers for Raspberry Pi. The easiest way is with the “lighttpd”. Here you have to least configure and the installation is effectively done with a command on the command line.
task
- Install the web server “lighttpd”.
- Check the availability of the web server over the local network.
- Create a new HTML page and make it available through a web server.