Linux For Beginners & Advanced Users

Tutorials, howtos, faqs, hacks, and tips about GNU/Linux operating systems for Linux users sorted by easy, intermediate and advanced level. ( rss feed ).

Apache has status page that can provide data about Apache. How do I enable and display such page using nginx server? How do I enable nginx status page on Linux or Unix-like operating systems?

{ 4 comments }

My MySQL database installation has been corrupted. I would like to delete old mysql server. How do I reinstall MySQL database server version 5.x on Linux or Unix-like oses? A software upgrade broke my system. How can I uninstall and re-install mysql again to get fresh full mysql again?

{ 3 comments }

I see lots of seasoned admins and cloud provider wrapper scripts use ssh client command as follows in shell:

ssh nixcraft@server1.cyberciti.biz --

What the double -- does here? Why it is used in this shell command and why not just use the following?

ssh nixcraft@server1.cyberciti.biz

{ 3 comments }

I am a small business and ecom site owner. I also run a WordPress based blog to connect with my customers. However, I get too much spam from certain IPs and net-blocks. How do I block access to certain url(s) such as example.com/blog/wp-comments-post.php for selected IP address and CIDRs? How do I allow everyone including IP address 1.2.3.4 to access my blog but block IP address 1.2.3.4 accessing only example.com/blog/wp-comments-post.php? How do I block POST requests for selected IPs/CIDR on nginx?

{ 1 comment }

I am a new Linux user. I am having problem with the Terminal. How do I unpack .tgz (tar.gz) file on Linux using command line options?

{ 1 comment }

I am a new Nginx web server user. How do I redirect to a different domain using nginx (say example.org to example.com) permanently?

{ 5 comments }

To save the disk space on my Linux based nas (network storage server), I have compressed thousands of reports[0-1000].txt files using gunzip program. However, I need to cat .gz file (or open in vim text editor) for reference purposes. I have a log files stores on my nas server in compressed format using gzip command. How do I display compressed Apache log file without using cat command? How to display the contents of gzip text files in screen without unzipping?

{ 3 comments }