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 installed with /etc/apt/sources.list pointing to CD. To get this work properly, you need to edit file

Replace content with

Upgrade Debian 8 Jessie To Debian 9 Stretch How to upgrade Debian 9 to Debian 10 Uninstalling Software in Debian Server Reinstall Kernel in Ubuntu/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…

Install GeoIP PHP Module in Ubuntu

To install GeoIP php module in Ubuntu, run

To enable module, run

You can see the PHP module with command php -m

Also it will be listed in phpinfo page. geoip […]

Read More…

Install pureftpd on Ubuntu

To install pure-ftpd on Ubuntu, run

Create a system user

Enable Unix Authentication To allow system user to login using FTP, edit file

Uncomment the line


On Ubuntu, after default install, you have following settins.

PAMAuthentication enabled. UnixAutehticiation disabled. This allow system users to login using PAM. pureftpd […]

Read More…