Category: Webmaster Tools
This works. There are a lot of examples out there that don’t work. I found that an additional edit (bottom) made all the difference. These are the typical changes you’ll find online. https://gist.github.com/vancluever/d34b41eb77e6d077887c But here is the change that made all the difference for me. Edit all the tracker files and change X-GNOME-Autostart-enabled to False. re. sudo vi /etc/xdg/autostart/tracker-miner-apps.desktop X-GNOME-Autostart-enabled=false
If you don’t want Apache to serve the first Virtual Host when you get a request for the server IP. (because that is what is supposed to happen). If someone or somebot is attempting to see what is at the ip address, you can serve a blank page instead as follows: vi /etc/apache2/sites-available/000-default.conf Insert this VirtualHost at the top of...
Earlier I posted how to use a text file created by a script to similarly manage the rogue IPs that Fail2ban bans. The problem with using scripts and crontab is that it is not reporting in real-time. The method here works in real-time because Fail2ban reports directly to the MySQL on the control server. On each remote you’ll want to...
Step 1 Create Database and Tables in MySQL Add a “source” field for the server name if you want to use a remote database setup (and add it to the UNIQUE KEY).The UNIQUE KEY prevents duplicates of course. But this means you can refresh the perl script without handling duplicates there which would complicate things considerably. CREATE TABLE iptable (...
An excellent webmaster tool sudo apt-get install grc personalize colors here sudo vi /usr/share/grc/conf.log
The linked post was written in 2012 explaining what I think most users of Padre encounter, and therefore I won’t repeat anything already nicely documented there except to quote “And please do not feed me a junk line about it works on my Linux distribution, I do not care. Pretend I am a normal end user for a moment. If...
Brilliant – where you need it – like when you accidentally try to open 8000 html files at once with your browser. sudo kill $(ps aux | grep ‘iceweasel’ | awk ‘{print $2}’) credit for Find and Kill All Processes One Liner – bash using grep and awk
<a href=”mailto:simone@the-forest.com?subject=Short Notice&body=Hi Simone, I’m arriving in less than 48 hours.”>Email Me</a> optional are (?) subject=Short Notice body=Hi Simone, I’m arriving in less than 48 hours. Minimum <a href=”mailto:simone@the-forest.com”>Email Me</a>
This works for me on Apache 2.2 with VirturalHosts. Plus other useful stuff here. <IfModule mod_rewrite.c> RewriteEngine On Options -Indexes Options +FollowSymLinks RewriteBase / # Force HTTPS RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}/$1 [L] # Deny access by your most hated visitors and bad bots RewriteCond %{HTTP_USER_AGENT} mechanize [NC,OR] # Protect against SQL INJECTION RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [OR] RewriteCond %{QUERY_STRING}...
Install more than 1 browser on your computer. 3 is ideal. Only read email with one (Iceweasel is my preferred) and only THAT ONE. On THAT ONE install the plugins: HTTPS Everywhere No Script (don’t enable any suspect websites to run scripts) Click&Clean (use it) Dont open email that you are not certain it is safe. If it comes from...
fail2ban.actions.action: ERROR iptables -D INPUT -p tcp -m multiport –dports http,https -j fail2ban-apache-xxxxxxxxxxxxxxxxxxx iptables -F fail2ban-apache-xxxxxxxxxxxxxxxxxxx iptables -X fail2ban-apache-xxxxxxxxxxxxxxxxxxx returned 200 iptables only allows rules of up to 30 characters Shorten the name of the conf file solves the error
Install iftop sudo apt-get install iftop sudo iftop -n Install iptraf sudo apt-get install iptraf sudo iptraf Install Netdiag sudo apt-get install netdiag sudo netwatch -e eth0 -nt Install Nload sudo apt-get install nload Nload Install NetHogs sudo yum install nethogs -y sudo nethogs Install Bmon sudo apt-get install bmon bmon Install TCPTrack sudo apt-get install tcptrack
As usual, most of the how-to guides out there are too brief (I’m guilty) or apply to other distros: This works on Linux Debian 7 all-around, and this is a complete how to. It works. You just have to follow a very long thread. No A.D.D. here! We will create a Persistent Reverse SSH Tunnel between 2 machines using autossh....