Tag Archives: Debian

Unifi on Debian

UniFi Controller APT howto

edit /etc/apt/sources.list

For older versions of Unifi

## Ubuntu
deb http://www.ubnt.com/downloads/unifi/distros/deb/ub​untu ubuntu ubiquiti
# if you're using quantal (12.04) or after, you don't need this line
deb http://downloads-distro.mongodb.org/repo/ubuntu-up​start dist 10gen
## Debian Wheezy (7.0)
deb http://www.ubnt.com/downloads/unifi/distros/deb/de​bian debian ubiquiti
## Debian Squeeze (6.0)
deb http://www.ubnt.com/downloads/unifi/distros/deb/de​bian debian ubiquiti
deb http://downloads-distro.mongodb.org/repo/debian-sy​svinit dist 10gen
## Debian Lenny (5.0):
deb http://www.ubnt.com/downloads/unifi/distros/deb/le​nny lenny ubiquiti
deb http://downloads-distro.mongodb.org/repo/debian-sy​svinit dist 10gen

For newer versions of Unifi

## Debian/Ubuntu
 # stable or oldstable
 deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti

Read More

How to disable ipv6 in Debian

Here are simple steps to disable ipv6 in Debian:

  1. Comment out anything related to ipv6 in /etc/hosts
  2. SSH. Ensure AddressFamily inet is set in/etc/ssh/sshd_config. Restart ssh.
  3. BIND. Ensure listen-on-v6 { none; }; in/etc/bind/named.conf.options. Restart bind9.
  4. NTP. Ensure -4 option is set in /etc/default/ntp (e.g. NTPD_OPTS=’-4 -g’). Restart ntp.
  5. APACHE2. Ensure Listen 0.0.0.0:80 in/etc/apache2/ports.conf file. Restart apache2.

    Read More

Bad Behavior has blocked 123 access attempts in the last 7 days.