Category Archives: ubuntu

How to Disable Directory Browsing on Apache

Disabling Directory Browsing in the Main Configuration File It’s simple to disable directory browsing in the Apache main configuration file by changing the Options directive to make sure the Indexes option is disabled. This directive determines how directories behave in … Continue reading

Posted in apache, centOS, IIS, My Linux, ubuntu | Comments Off on How to Disable Directory Browsing on Apache

creating redirects in an .htaccess file

Common uses of .htaccess file The .htaccess file has several use cases. The most common examples include: When not to use .htaccess? The .htaccess file is commonly used when you don’t have access to the main server configuration file httpd.conf or virtual host configuration, which only … Continue reading

Posted in centOS, My Linux, ubuntu | Comments Off on creating redirects in an .htaccess file

Change the Time Zone ubuntu

Open the Terminal and enter the following command in order to list all the timezones of the specified zone: Syntax: $ timedatectl list-timezones | grep -i [zone] Example: We will use this command to list all the time zones of … Continue reading

Posted in command line of linux, My Linux, ubuntu | Comments Off on Change the Time Zone ubuntu

Reset Forgotten User Password on Ubuntu 16.04 | 17.10 | 18.04

To reset a user or root password, turn on the desktop or server and begin pressing the Esc key or Shift on your keyboard as soon as turn push the power button… to display Ubuntu boot menu. If your timing is … Continue reading

Posted in My Linux, ubuntu | Comments Off on Reset Forgotten User Password on Ubuntu 16.04 | 17.10 | 18.04

command renewal letsencrypt every 3 months

sudo certbot renew –preferred-challenges http-01

Posted in lets encrypted, SSL, ubuntu | Comments Off on command renewal letsencrypt every 3 months