≡ 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 ).

NFS was not designed with security in mind, and has a number of weaknesses, both in terms of the protocol itself and because any NFS installation must expose several daemons, running on both servers and clients, to network attack. I use my Debian / Ubuntu Linux based server only to server web pages and nothing else. How do I disable NFS services under Debian or Ubuntu Linux?
[click to continue…]

Ubuntu Linux CD: Default Username and Password

Can you tell me the default username and password for an Ubuntu Live CD? How do I login using Ubuntu Linux live cd?
[click to continue…]

Linux / UNIX: Untar / Extract a .lzma Tar Ball

I’ve downloaded a file called file.tar.lzma tar ball from the Internet but I am not able to open tar ball. How do I open or extract a .lzma file under Linux or UNIX like operating systems using command line options?
[click to continue…]

I want to copy (rsync to remote server) a directory tree whenever file uploaded or deleted in /var/www/html/upload/ directory under Linux operating systems for backup purpose and/or load balancing purpose without getting into complex file sharing setup such as NFS or GFS iscsi storage. How do I monitor /var/www/html/upload/ and its subdirectory for new files and executes rsync command to make copy back to www2.example.com:/var/www/html/upload/?
[click to continue…]

Under CentOS / Fedora / RHEL I can use rpm -ql packageName command to view contacts of .rpm file. How do I view the contents of a .deb file under Debian / Ubuntu Linux?
[click to continue…]

How do I see attached scsi devices for my IBM Linux server powered by Red Hat Enterprise Linux 5 or 6? How do I list all sata hard disk names under Debian or Ubuntu Linux?
[click to continue…]

How do I find duplicate files in a given set of directories and delete them using a shell script or a command line options? How do I get rid of double duplicates files stored in ~/foo and /u2/foo directory on a Linux operating systems? How can I remove duplicate files on a Linux based server?
[click to continue…]