≡ Menu

Debian / Ubuntu Linux HowTos and Guides

Tutorials, howtos, Q & A about GNU/Debian and Ubuntu Linux. Topic includes server security, installation, firewall, web-server, mail-server, proxy server and and much more. ( rss feed ).

How To Wakeup Backup Nas Server and Mirror Files Using Rsync in Linux

I‘ve a critical data stored on my small home server. I backup my Desktop, Laptop and a remote VPS server to my home nas server powered by Debian Linux using rsnapshot backup utility. In the event that my main nas server has a hardware (hard disk failure) problem, having mirrored files provides some sort of peace of mind. How do I mirror /backups/personal (total 100GB and growing everyday) to a secondary nas Linux server located in my network?
[click to continue…]

How to Set Locales (i18n) On a Linux or Unix

What is a “locale” on a Linux operating system? How do I set or get locals (i18n) values on a Linux operating system?
[click to continue…]

How To SSH Run Multiple Command On Remote Machine And Exit Safely

I have a backup sync program on local server. I have an ssh password less login set up, and I can run commands on an external server in bash script doing:

ssh root@server2 "sync; sync; /sbin/shutdown -h now"

How do I run multiple commands in bash on a remote Unix or Linux server? What is the best way to SSH in and run various unix commands in a bash shell?
[click to continue…]

How To Use apt-get with IPv4 or IPv6 Transport on a Ubuntu or Debian or Mint Linux

It is possible that I can forces my apt-get command command only use IPv6 or Ipv4 transport on a Debian or Ubuntu Linux server?
[click to continue…]

How To Install Speedtest-cli On a CentOS / RHEL / Scientific / Fedora Linux To Check Internet Speed

I do not want to use Adobe flash based speed testing site due to security concern on my desktop. How do I install Speedtest-cli on a CentOS Linux or Fedora Linux or Red Hat Enterise Linux (RHEL) for checking the Internet speed?
[click to continue…]

How To Build and Install the Latest Version of btrfs-tools on Linux

Since Linux kernel version 2.6.29-rc1, Btrfs has been included in the mainline kernel. How do I download and build/compile the latest version of Btrfs on Linux?
[click to continue…]

How to Compile and Install Linux Kernel v4.5 Source On a Debian / Ubuntu Linux

How do I download, compile and install the latest version of the Linux kernel on a Debian Linux v8.x or Ubuntu Linux LTS home server or my laptop? How do I build and install a custom Linux kernel on a Debian or Ubuntu Linux based system?
[click to continue…]

How To Install ncurses Library on a Linux

I need to compile an application with ncurses library and header files. How do I install install ncurses libs and header files on a Linux operating system? How do I write a simple hello world program using the ncurses and compile it on a Linux?
[click to continue…]

How to find out information about a LXC (Linux container) CPU & Memory Usage

How can I find out information about a Linux container (LXC) such as CPU usage and memory usage from the command prompt? Is there is top command like a tool for lxc to monitor memory and cpu usage?
[click to continue…]

How To Join Several Partition Together To Form a Single Larger One On a Linux Using mhddfs

I‘ve three old hard drives: sized 60, 60 and 120 GB. And 200 GB of video files, which I need to store on these drives. How would I store all my files on three hard drive without split a file into pieces or creating RAID array? How can I combines a several mount points (partitions) into the single one on a Linux operating systems?
[click to continue…]