apt-key keyserver receive failed: No dirmngr

When running apt-key command, i get following error.

To fix this, run apt install dirmngr […]

Read More…

Install MongoDB 4 on Debian 9

You can see detailed instruction on how to install on MongoDB web site. First add key

For Debian 8, run

For Debian 9, run

Now install mongoDB with

Once installed, you can check version with

Enable MongoDB start on boot

To start/stop mongodb


Read More…

Install OpenLiteSpeed on Ubuntu/Debian

OpenLiteSpeed Change Admin Password

OpenLiteSpeed ia an Open Source version of LiteSpeed Web Server. To install OpenLiteSpeed, add repository by running

Now you have openlitespeed packages available on your server. Here is packages available on a Debian 9 server. To install OpenLiteSpeed, run

OpenLiteSpeed will be installed in folder

You can start/stop OpenLiteSpeed using command


Read More…

Ubuntu find Dependencies for a package

To find dependencies for a package, run


In above example, when you install php7.2, it install “libapache2-mod-php7.2”, that will install Apache web server. I had a server with ngtinx, when i install php7.2 package, apache get installed. You can also use

To find reverse dependency, run

apt-cache apt […]

Read More…

gpg: failed to start the dirmngr

When i add a key with apt-key command, i get error [email protected]:~# apt-key adv –recv-keys –keyserver keys.gnupg.net E1F958385BFE2B6E Executing: /tmp/apt-key-gpghome.0BP6Ro2t54/gpg.1.sh –recv-keys –keyserver keys.gnupg.net E1F958385BFE2B6E gpg: failed to start the dirmngr ‘/usr/bin/dirmngr’: No such file or directory gpg: connecting dirmngr at ‘/tmp/apt-key-gpghome.0BP6Ro2t54/S.dirmngr’ failed: No such file or directory gpg: keyserver receive failed: No dirmngr [email protected]:~# To […]

Read More…

Install Remote Desktop in Debian/Ubuntu

To install and use Linux remote server as desktop, first install lite weight desktop environment like XFCE on your server.

Install XRDP

You need to create a user to be used for desktop.

Set password for the user

Now login as this user and create .xsession file.

Exit out of […]

Read More…


When I install Debian 9 from CD, it did install with /etc/apt/sources.list pointing to CD. To get this work properly, you need to edit the file

Replace content with

Debian 11.0 Bullseye released Upgrade Debian 8 Jessie To Debian 9 Stretch How to upgrade Debian 9 to Debian 10 Uninstalling Software in Debian […]

Read More…

Install Monit on Ubuntu

Monit can be used to monitor services, restart them if required. To install monit, run

To start monit, run

Monitor Apache


Activate the rule with

Restart monit with

Testing If Monit works Open 2 terminals. On one, tail the monit logs with

On other terminal, stop Apache […]

Read More…

Install ionCube on Debian 9

ioncube php module

Download latest version of ionCube loader from

Check PHP version with

On Debian 9, default will be PHP 7.0, so you need to use file ioncube_loader_lin_7.0.so Find PHP extension_dir, this is where you need to put PHP extensions.

Copy the file to extension directory

Enable ionCube loader with

Now php […]

Read More…