Novice Linux / Unix System Administrator Tutorials

These tutorials assumes that you have basic understanding of Unix like operating systems and you are familiar with – Unix/Linux and its commands at the user level, know how to edit files, familiar with the Bourne shell/Bash/Ksh shell, know how to perform standard file processing tasks (such as find/move/copy/delete/) and so on. ( rss feed )

I am a new Linux and Unix-command line user. I am using find command to search file called “fooBar.conf.sample” in my home directory. I do not know the case, it could be uppercase, lowercase, or a mix of both. How can search a file and ignore case on a Linux or Unix-like system?

{ 1 comment }

I recently read that SSH keys provide a secure way of logging into a Linux and Unix-based server. How do I set up SSH keys on a Linux or Unix based systems? In SSH for Linux/Unix, how do I set up public key authentication?

{ 9 comments }

How do I minify and compress CSS & JS files on Linux or Unix-like system using shell prompt on my server? How can I minify JavaScripts and stylesheets at shell promot so they can download faster over the Internet without using any online tools?

{ 5 comments }

I know how to install nginx on a CentOS Linux using yum command. Is there is a guide to install Lighttpd web-server on a CentOS Linux or RHEL server with yum command? How can I install and configure php and mysql on a CentOS with Lighttpd web-server?

{ 0 comments }

How do I install JDK runtime environment on a CentOS Linux version 6.x using yum command?

{ 3 comments }

I am using a CentOS Linux v6.5 on my home server and I am getting the following error when I execute yum command:

rpmdb: PANIC: fatal region error detected; run recovery
error: db3 error(-30974) from dbenv->open: DB_RUNRECOVERY: Fatal error, run database recovery
error: cannot open Packages index using db3 – (-30974)
error: cannot open Packages database in /var/lib/rpm
CRITICAL:yum.main:

Error: rpmdb open failed

How do I fix this problem on a CentOS / RHEL based system?

{ 5 comments }

How can I update for Google Cloud SDK components on a Linux or OS X unix based systems?

{ 0 comments }