md5 /tmp/1.iso
shasum -a 1 /tmp/1.iso
shasum -a 256 /tmp/1.iso
sudo lsof -i -n -P | grep TCP |
/etc/ssl/certs/ssl-cert-snakeoil.pem | |
/etc/ssl/private/ssl-cert-snakeoil.key |
# The main config file, probably /etc/nginx/nginx.conf | |
user nginx; | |
worker_processes 4; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
events { | |
#A maximum of 1024 concurrent connections. | |
worker_connections 1024; | |
} | |
http { |
apt-get install deborphan -y && \ | |
apt-get autoremove --purge libx11-.* lxde-.* raspberrypi-artwork xkb-data omxplayer penguinspuzzle sgml-base xml-core alsa-.* cifs-.* samba-.* fonts-.* desktop-* gnome-.* && \ | |
apt-get autoremove --purge $(deborphan) && \ | |
apt-get autoremove --purge && \ | |
apt-get autoclean |
./configure --with-libxml2-includes=/usr/include/libxml2 --with-libxml2-libraries=/usr/lib/x86_64-linux-gnu/libxml2.so | |
make | |
make install | |
make install-conf | |
make clean |
User-agent: SurveyBot | |
Disallow: / | |
User-agent: ia_archiver | |
Disallow: / |
ServerSignature Off | |
ServerTokens Prod |
RewriteEngine on | |
RewriteCond %{HTTP_REFERER} !^$ | |
RewriteCond %{HTTP_REFERER} !^http://(www\.)?example.com/.*$ [NC] | |
#RewriteRule \.(gif|jpg)$ – [F] | |
#RewriteRule \.(gif|jpg)$ http://www.example.com/wp-content/hotlinking.png [R,L] |
AddType application/octet-stream .csv | |
AddType application/octet-stream .xls | |
AddType application/octet-stream .doc | |
AddType application/octet-stream .avi | |
AddType application/octet-stream .mpg | |
AddType application/octet-stream .mov | |
AddType application/octet-stream .pdf |