Enable FTP for EasyEngine Website

To Enable FTP for EasyEngine web sites, we need to install pure-ftpd. On Ubuntu/Debian, run

Enable virtial FTP users

In EasyEngine, we sites files are owned by www-data user, this user have a UID of 33. By default pure-ftpd won’t allow this. To enable users with UD 33 to login, run

Now […]

Read More…

Install AnyDesk on Ubuntu

To install AnyDesk on Ubuntu, run following commands as user root (sudo su).

Add repository

Update apt cache

Install anydesk with

If you don’t want auto start anydesk on boot, disable it with

If you need to enable AnyDesk start on boot, run

To see if anydesk is enabled […]

Read More…

Enable Remote Desktop in Ubuntu from the command line

Method 1: Using x11vnc Connect to remote computer with SSH

Install x11vnc

start x11vnc as the user that is logged in to GUI.

Now you should be able to connect to the desktop using any vnc client software using

Method 2: Using vino Connect to remote computer with SSH

Run […]

Read More…

Install PowerDNS on Ubuntu 20.04

PowerDNS is an OpenSource DNS server. Update apt repo

On Ubuntu, systemd-resolved listen to port 53. This is a local DNS resolver, we need to stop this service before we can install PowerDNS.

To install PowerDNS with MySQL backend, run

Since we are using MySQL backend to store DNS zones, we need […]

Read More…

Prevent Notification steal focus on Ubuntu 18.04

On Ubuntu, some times notifications steal focus from current application. This annoying when you are working on terminal. This is due to start focus feature of gnome when your mouse is over the notification area.

We need to change the value of focus-new-windows from smart to strict. This can be done with command

[…]

Read More…

Install wireguard VPN on Ubuntu

To install wireguard VPN on ubuntu, run

Generate Keys

Configure wireguard You can generate wireguard configuration using https://www.wireguardconfig.com […]

Read More…

Disable sshd start on boot in ubuntu

On my local computer, i have installed openssh-server, but i don’t want it always enabled. To disable openssh-server from auto start on boot, run

Example

If you want to start ssh server on boot, run systelctl enable ssh

See Ubuntu […]

Read More…

Install VirtualBox 6.1 on Ubuntu 18.04

VirtualBox 6.1 on Ubuntu

First you need to add VirtualBox repository

Add Keys

Do an apt upgrade

If you have older version of VirtualBox installed, remove it

Install VirtualBox 6.1 with

If you use Vagrant, you may need to install latest version as the vagrant provided by ubuntu won’t work with VirtualBox 6.1 […]

Read More…