Menu Close

Tag: linux

How to Install WinRAR 5.11.1 on Ubuntu 14.04 & Other Linux Ubuntu Derivatives

How to install WinRAR 5.11 on Ubuntu 14.04 (Linux) systems. Install WinRAR 5.11 on 32 bit Ubuntu 14.04 and install WinRAR 5.11 on 64 bit Ubuntu 14.04 system.

WinRAR is an archiving utility that completely supports RAR and ZIP archives and is able to unpack CAB, ARJ, LZH, TAR, GZ, ACE, UUE, BZ2, JAR, ISO, 7Z, Z archives.  The latest version of the WinRAR 5.11 comes with the following bug fixes and improvements:

Rsync with SSH without prompting for password

by namhuy.net

Rsync is a free software computer program for Unix and Linux like systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate.

** Always use rsync over ssh because rsync does not provide any security while transferring data.

rsync over ssh (with password)

rsync -avz ssh /home/user/ user@192.168.0.100:/backup/user/

To use a different ssh port, e.g., 123:

rsync -avz 'ssh -p 123' /home/user/ user@192.168.0.100:/backup/user/

The terminal will prompt for password before proceed.

To rsync without prompting for password, we can generate a ssh public key and add it to backup server’s ssh authorized keys. Below are the steps.

Clear Memory Cache on Linux Server

By default the Linux OS has a very efficient memory management process that should be freeing any cached memory on the machine that it is being run on. However when it comes to Cached memory the Linux OS may at times decide that the Cached memory is being used and is needed which can lead to memory related issues and ultimately rob your server of any potentially free memory. To combat this you can force the Linux OS to free up and stored Cached memory.