At the end of 90`s Mandrake Linux was the most popular distribution out there. Most thing that are today said about Ubuntu where first said about Mandrake. It was the number one distro from 1998 util 2004. User friendly, easy to use, easy to install, lot of preinstalled software, most popular by new users and Mandrake made at that point most users to change on Linux. All that is today said about Ubuntu. Yeah, Mandrake had also free shipping for DVDs back then. But soon the empire started to fall apart. In 2004 Mandrake had died. In 2005 Conectiva, the company who bought Mandrakesoft announced and released Mandriva and in 2006 they fired Gael Duval. Duval was the author of Mandrake. The new distribution, Mandriva, was nothing like good old Mandrake and it made lot of users to change their system. Fast forward to 2014 and let us have a look on the legacy of Mandrake Linux. Last stable release of Mandriva was in 2011 and it was not really stable. But in last 10 years Mandriva inspired many users and developers and new distributions popped out. One of them is Rosa Linux. Rosa Linux is a Russian Linux distribution.
Often one wants a shared access to files across machines. Traditionally one uses the network file system (nfs). The network file server works as follows: There is an nfs server that exports some directories in its filesystem hiearchy to various nfs clients that mount these directory over the network into their file system hierarchy. As a result, each of the clients shares the directories exported by the nfs server.
However a lot of times you just have to mount a directory from a server to your local computer and in these cases NFS it’s not so useful, sshfs it’s much better
Sshfs is a filesystem client based on the SSH File Transfer Protocol. Since most SSH servers already support this protocol it is very easy to set up: i.e. on the server side there’s nothing to do. On the client side mounting the filesystem is as easy as logging into the server with ssh.
For a customer i was in need of a quick way to send an email every time his system (centos) stop, reboot or simply boot.
I’ve found an useful article http://www.syntaxtechnology.com and most of this article is based on that.
To get an email at both start up and shut down we need to write an init script. The tips below are specific to a Red Hat based system (Red Hat, Fedora, CentOS, etc) but should be fairly similar to others, depending on the boot system you’ll have to change slightly the script.
Continue reading »