How to enable mod_rewrite on ubuntu web server?

Mod_rewrite enables your links to be user friendly. For example is going to be converted to And that is better for users and search engines. So how do we do that?

How to block ip addresses and protect files and folders with apache and .htaccess in ubuntu?

Views: 909 In this tutorial we are going to create block list for our website so that IP addresses that we know are bad can’t connect to our server. Also we are going to protect files that we don’t want to be opened by other people online. First we edit 000-default.conf and make the needed […]

How to check the installation date of your linux operating system?

Views: 684 Have you ever wondered when did you installed your operating system? Was a year ago or maybe two, three who knows right? Well, linux is a smart system and knows everything for itself! You can open the terminal, write a simple command and the answer is going to be in front of you. […]

How to check for large files in the console

Views: 620 If you just need to find large files, you can use find with the -size option. The next command will list all files larger than 10MiB (not to be confused with 10MB): If you want to find files between a certain size, you can combine it with a “size lower than” search. The […]

How to create a ssh tunnel via proxy in ubuntu linux

Views: 740 I needed to use a ssh tunnel but was behind a proxy server so In this example we are going to use and configure one. In the browser in proxy settings: For firefox to pass dns via the tunnelUsing the ssh SOCKS5 proxy all of your info is passed through the tunnel except […]

Ubuntu 21.04 Install google's mod pagespeed for apache

Ubuntu 21.04 Install google’s mod pagespeed for apache

Pagespeed is an output filter for Apache 2.2+ that can be configured through a variety of options through configuration files or a .htaccess file.

How to check network speed with and terminal

How to check network speed with and terminal

Quick Guide: Speedtest CLI brings the trusted technology and global server network behind Speedtest to the command line....

Ubuntu 21.04 Server add SSH banner at login

Ubuntu 21.04 Server add SSH banner at login

The SSH banner is used to add a warning to the connection, when a user connects to your SSH he well see a message.

How to increase SSH Connection timeout

How to increase SSH Connection timeout

Views: 651 /etc/ssh/ssh_config is the client side configuration file not the server side config file. To prevent all your clients from timing out you need to edit /etc/ssh/sshd_config which is the server side configuration file. In the file find the two commands and edit them as follow. The first one configures the server to send […]

View logs in real time with tail command

How to use tail command to See Logs In Real Time

In this article we are going to see examples with the tail command and how to use it to check logs in real time. [ guide ]

HDDTemp crontab every hour in to file

HDDTemp crontab every hour in to file

In this article we are going to create a txt file and in it we are going to store the HDD temperature for every hour, a utility that gives info about the HDD.

Install and Review GoAccess Apache Log Analyzer [ Guide ]

GoAccess is an open source real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.