Linux

Entries for: Linux!
^Top
<< Back
Mobile-Menu










Sub Categories

Security

Content Security Headers

Content Security Header (HSTS) Apache:<br /> Header set Strict-Transport-Security &quot;max-age=31536000; includeSubDomains; preload&quot; Nginx:<br /> add_header Strict-Transport-Security &#39;max-age=31536000; includeSubDomains; preload&#39;; Content Security Policy (CSP) Apache:<br /> Header always set Content-S...

Hide Server Version in Apache & Nginx

NGINX 1. Go to the nginx configuration file: nano /etc/nginx/nginx.conf 2. Uncomment this line: server_tokens off; 3. Restart nginx service nginx restart APACHE2 1. Go to your apache2 configuration File: nano /etc/apache2/apache2.conf (for Debian/Ubuntu) nano /etc/httpd/conf/httpd.conf (Centos) 2. Modify the line ServerTokens and ServerSignature as...

Hints

Command Line Hints

Find a String inside Files<br /> grep -rnw &#39;/path/to/somewhere/&#39; -e &#39;pattern&#39;<br /> <br /> Find File in Folder Structure<br /> find ./ -name card.php Display Linux System Informations<br /> uname Display Kernel Releases Informations<br /> uname -r Display Systems uptime and load av...

Linux make file Immune

This unix Command will make a file non-writable. Make non-Writable chattr +i file Make writable again chattr -i file See Status: lsattr file ...

Not Categorized

Debian Source List Example

deb http://deb.debian.org/debian buster main deb-src http://deb.debian.org/debian buster main deb http://deb.debian.org/debian-security/ buster/updates main deb-src http://deb.debian.org/debian-security/ buster/updates main deb http://deb.debian.org/debian buster-updates main deb-src http://deb.debian.org/debian buster-updates main ...


Switches: 1 | Arrivals: 7 | Visits: 8
This Website is using Session Cookies for Site Functionality.