Ubuntu find Dependencies for a package

Ubuntu find Dependencies for a package

To find dependencies for a package, run apt-cache depends PACKAGE_NAME Example root@ubuntu-s-4vcpu-8gb-nyc1-01:~# apt-cache depends php7.2 php7.2 |Depends: libapache2-mod-php7.2 |Depends: php7.2-fpm

gpg: failed to start the dirmngr

gpg: failed to start the dirmngr

When i add a key with apt-key command, i get error root@ip-172-31-47-128:~# apt-key adv –recv-keys –keyserver keys.gnupg.net E1F958385BFE2B6E Executing: /tmp/apt-key-gpghome.0BP6Ro2t54/gpg.1.sh

Install Remote Desktop in Debian/Ubuntu

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.

Debian

Debian

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

Install Monit on Ubuntu

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

ioncube php module

Install ionCube on Debian 9

Download latest version of ionCube loader from cd /usr/local/src wget https://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar xvf ioncube_loaders_lin_x86-64.tar.gz cd ioncube/ Check PHP version with

Install GeoIP PHP Module in Ubuntu

Install GeoIP PHP Module in Ubuntu

To install GeoIP php module in Ubuntu, run apt install php-geoip To enable module, run phpenmod geoip You can see

Install pureftpd on Ubuntu

Install pureftpd on Ubuntu

To install pure-ftpd on Ubuntu, run apt install pure-ftpd -y Create a system user useradd -d /var/www -s /bin/bash USERNAME

Reinstall a package using apt

Reinstall a package using apt

To reinstall a package, run apt install –reinstall PKG_NAME Example dpkg apt

dpkg

dpkg

To force delete a package, run List all Installed packages List all files in a package To find which package