≡ Menu

Ubuntu HowTos and Guides

Tutorials, howtos, Q & A about most popular Linux distribution – Ubuntu Linux. Topic includes Ubuntu server security, installation, firewall, web-server, mail-server, proxy server and special focus on desktop users. ( rss feed ).

Linux: Sort du -h (human-readable) Output By Size

I have a large number of files stored in ~/Downloads/ directory. How do I sort and print sizes in human readable format using du -h command under Ubuntu Linux LTS version 12.04 or any other Linux distributions?
[click to continue…]

GCC: Linux gnu/stubs-32.h: No such file or directory

I have Debian / Ubuntu Linux. I need to compile software written in C. The gcc throwing an error that read as follows:

gnu/stubs-32.h: No such file or directory compilation terminated. make: *** [foo.o] Error 1

How do I fix this problem under Debian or Ubuntu Linux 64 bit system and compile apps using gcc compiler?
[click to continue…]

Ubuntu Linux: Concatenate Text Files Command

How do I concatenates the text files called first.doc and second.doc and writes the result to final.doc under Ubuntu Linux operating systems?
[click to continue…]

Ubuntu / Debian: Restart Named Service Command

How do I restart named (Internet domain name server) from ISC using command line option under Debian or Ubuntu Linux server?
[click to continue…]

Ubuntu / Debian Linux: Install and Setup TFTPD Server

How do I install and configure TFTP server under Debian or Ubuntu Linux server to configure networking equipment such as remote booting of diskless devices or remote loading of Unix like operating systems via PXE boot?
[click to continue…]

Ubuntu / Debian Linux: Setup An ISC DHCP Server For Your Network

How do I setup a DHCP server for my local area network (LAN) using Debian Linux 6 or Ubuntu Linux server running on my IBM hardware?
[click to continue…]

Linux / Unix: Rsync Copy Files & Directories Names With WhiteSpaces and Blanks

I need to transfer a file called 'some cool movie.avi' that contains whitespace under rsync. How do I escape a filename or directory name with spaces in them while using rsync command under Linux / *BSD / Unix like operating systems? How do I use rsync when files / dirs contain spaces?
[click to continue…]

Ubuntu Linux: Disable Apparmor For Specific Profile / Service Such As Mysqld Server

AppArmor ("Application Armor") is a security module for the Linux kernel and integrated into both kernel and Ubuntu Linux. How do I disable AppArmor protection for mysql profile / service under Ubuntu or Novell Suse Enterprise Linux?
[click to continue…]

Ubuntu Linux Add Static Route

I've two network interfaces. One connected to eth0 and another connected to eth1 as follows:

eth0 => private network with private IP in 10.x.x.x/8 range.
eth1 => ISP router with public IP via

How do I setup persistent static route so that traffic route via router only?
[click to continue…]

Ubuntu / Debian Linux Server Install Keychain SSH Key Manager For OpenSSH

I do not want to start ssh-agent and ssh-add as described here to manage my ssh keys for password less login. How do I install keychain software to manage my keys running on a Debian or Ubuntu based cloud server?
[click to continue…]