Search Engine Optimization | Internet Marketing | Webmastering Blog

Enable VI Colors on Debian 7 Wheezy

Debian and VI are different than other distros, such as Ubuntu. I found all kinds of other/newer advice that did not work. Hopefully this will save someone else some time beating around the Interbushes. Pre-requisite: If you have not already, install vim sudo apt-get install vim sudo vi /etc/profile Add this line to the end of the file alias vi=’vim’...

How to Edit the DNS of your Domain Name

This is how to Edit the DNS of your Domain Name (example here is for GoDaddy) The general method is similar at most hosts. An “A record” connects your domain name to your server IP address. This is what allows users to type your domain name in a Web browser to access your website. The DNS (domain name service) translates the...

Harden Debian 7 Server with PSAD

Install Port Scan Attack Detector on Debian 7 Server sudo apt-get install psad sudo vi /etc/psad/psad.conf change these lines EMAIL_ADDRESSES me@seleads.com; HOSTNAME my.seleads.com; HOME_NET NOT_USED; ALERTING_METHODS noemail; IPT_SYSLOG_FILE /var/log/syslog; EMAIL_LIMIT_STATUS_MSG N; ENABLE_AUTO_IDS Y; AUTO_IDS_DANGER_LEVEL 2; AUTO_BLOCK_TIMEOUT 2592000; ENABLE_AUTO_IDS_EMAILS N; Restart psad psad -R psad –sig-update psad -H sudo vi /etc/cron.hourly/save-bad-ips #!/bin/sh PATH=/usr/share:/usr/sbin:/usr/bin:/sbin:/bin /sbin/iptables-save -c > /tmp/iptables-save.txt #echo “SELECT lockdown_IP FROM...

How To Harden Debian Server

Its not enough to harden just Debain. Its necessary to harden the rest of Apache-MySQL-PHP as well. Harden MYSQL sudo mysql_secure_installation answer Yes to all questions (but no need to change password) Disabling SSH root login and settings sudo vi /etc/ssh/sshd_config change PermitRootLogin yes to PermitRootLogin no LoginGraceTime 120 to LoginGraceTime 30 add line AllowUsers username username username Consider disabling...

Netfilter iptables Log Message Codes

IN = Input interface OUT = Output interface MAC = Ethernet hardware address (aka MAC address) SRC = Source IP address DST = Destination IP address LEN = Packet length TOS = Type of Service (for packet prioritization) PREC = Precedent bits TTL = Time to Live ID = Packet identifier PROTO = Protocol (eg. TCP, UDP) SPT = Source...

Madcatz R.A.T.5 Mouse on Debian 7 Freezes – Fixed

Fixed – the RAT5 mouse gets “stuck” in one window, or freezes entirely. The only way to get unstuck seems to be toggling the Mode button. Even when that gets you unstuck, it will happen again, and seems to progressively get worse with time.

How To Get a Gravatar

An “avatar” is an image that represents you online—a little picture that appears next to your name when you interact with websites. A Gravatar is a Globally Recognized Avatar. You create your profile just once, and then when you participate in any Gravatar-enabled site, your Gravatar image will automatically follow you there. https://en.gravatar.com/site/signup/ If you want the maximum from your...

-bash: sudo: command not found

When you see this error message -bash: sudo: command not found su apt-get install sudo adduser username sudo apt-get install locales locale-gen en_US.UTF-8

Customize Debian Linux grub2

I wanted to remove the splash image while booting Debian 7 Wheezy and watch the code execute, while also use the full screen resolution.

Debian 7 Restart Network

Im using Debian Wheezy (7) desktop with DHCP. I had problems switching from wired to wireless and back, etc. I found that following other instructions did not work. The network will go down no problem;

Fix 64 bit Google Talk Plugin Linux

Credit for this fix belongs here but I have copied it here for ease of access Download the 64-bit .deb from: http://www.google.com/tools/dlpage/res/talkvideo/hangouts/ Create a tmp dir: mkdir tmp Extract the contents of the .deb to the tmp dir: dpkg-deb -x google-talkplugin_current_amd64.deb tmp Extract the control files: dpkg-deb –control google-talkplugin_current_amd64.deb tmp/DEBIAN Fix the dependency: sed -i "s/lib32v4l-0/libv4l-0/" tmp/DEBIAN/control Repackage the .deb:...

GPG PGP Keys

Generate an SSH Key pair and upload public key to remote host