Cron job for Automatic Feed updates in Openvas

To get updated content from the feeds you need to run the following scripts (in this order) on a daily base crontab -e 0 1 * * * /usr/sbin/greenbone-nvt-sync &> /dev/null 0 2 * * * /usr/sbin/greenbone-scapdata-sync &> /dev/null 0 3 * * * /usr/sbin/greenbone-certdata-sync &> /dev/null If there is any issue during the sync the scripts should give you additional info.

September 6, 2019 · 1 min · 62 words · Akhil Jalagam

How to Redirect HTTP to HTTPS in apache

Install modules Enable modules Method 1 using rewrite module RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L] </VirtualHost> Method 2 using redirect method Redirect permanent / https://www.yourdomain.com/ </VirtualHost>

September 4, 2019 · 1 min · 29 words · Akhil Jalagam

How to use HiDPI(4K) resolution in Linux for all applications

HiDPI (High Dots Per Inch) displays, also known by Apple’s “Retina Display” marketing name, are screens with a high resolution in a relatively small format. They are mostly found in high-end laptops and monitors. update this ~/.Xresources Xft.dpi: 240 reboot or re-login to system

September 2, 2019 · 1 min · 44 words · Akhil Jalagam

How to RESET/FLUSH/DELETE all iptables in Linux

Take backup Flush now Again to restore from backup

September 2, 2019 · 1 min · 9 words · Akhil Jalagam

How to set up Reverse Proxy in Apache/httpd

Install and enable apache2 proxy modules proxies all requests (“/”) to a single backend: to point to the reverse proxy, instead of back to itself, the ProxyPassReverse directive is most often required: Only specific URIs can be proxied Example ServerName example.net Documentroot /var/www/html/ ProxyPass “/” “http://www.example.com/" ProxyPassReverse “/” “http://www.example.com/" ...

September 2, 2019 · 1 min · 50 words · Akhil Jalagam