Category Archives: Linux

Unifi on Debian

1. install unifi, with wheezy provided mongodb (2.0.6) echo “deb http://www.ubnt.com/downloads/unifi/debian stable ubiquiti” >> /etc/apt/sources.list apt-key adv –keyserver keyserver.ubuntu.com –recv 06E85760C0A52C50 apt-get update apt-get install unifi 2. disable mongodb daemon nano /etc/init.d/mongodb ENABLE_MONGODB=”yes” -> “no” 3. use small files for unifi journals echo “unifi.db.extraargs=–smallfiles” >> /var/lib/unifi/system.properties 3.a optional: change the default ports in this file

Read More

Ubuntu 16.04 – x11vnc running at startup

Abbreviated version of setting up x11vnc on Ubuntu 16.04 based systems: sudo x11vnc -storepasswd /etc/x11vnc/passwd sudo vi /lib/systemd/system/x11vnc.service [Unit] Description=Start x11vnc at startup. After=multi-user.target [Service] Type=simple ExecStart=/usr/bin/x11vnc -xkb -auth /var/run/lightdm/root/:0 -noxrecord -noxfixes -noxdamage -rfbauth /etc/x11vnc/passwd -forever -bg -nodpms -rfbport 5900 -rfbversion 3.6 -permitfiletransfer -shared -dontdisconnect -alwaysshared -o /var/log/x11vnc.log [Install] WantedBy=multi-user.target sudo systemctl enable x11vnc.service sudo

Read More

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