Category Archives: My Linux

add users for ssh Google Cloud

Yes 👍 exactly — if in the future you want to add a second upload user, you just repeat the same process. Since you already have: Adding a new person is very simple 👇 🚀 Add New Upload User (Example: … Continue reading

Posted in apache, centOS, My Linux | Comments Off on add users for ssh Google Cloud

Protect Your Private Key

🔐 1️⃣ Protect Your Private Key (MOST IMPORTANT) Your key file: /etc/pki/tls/private/nighthawkappraisals.key Correct permissions: sudo chown root:root /etc/pki/tls/private/nighthawkappraisals.key sudo chmod 600 /etc/pki/tls/private/nighthawkappraisals.key This means: 🔎 2️⃣ Verify It ls -l /etc/pki/tls/private/nighthawkappraisals.key You should see: -rw——- 1 root root That is … Continue reading

Posted in apache, command line of linux, My Linux | Comments Off on Protect Your Private Key

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

How to Install Apache on CentOS

The Apache web server is the most widely used platform for deploying HTTP-based services. Its popularity is due to its support for dynamically loadable modules, compatibility with various file formats, and integration with other software tools. Prerequisites To install the … Continue reading

Posted in apache, centOS, IIS | Comments Off on How to Install Apache on CentOS

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