dpkg dependency problems not removing

When removing a package, I got the following error message root@82-165-118-245:/~# dpkg –remove psa-phpmyadmin dpkg: dependency problems prevent removal of psa-phpmyadmin: plesk-core depends on psa-phpmyadmin (>= 5.1.1); however: Package psa-phpmyadmin is to be removed. dpkg: error processing package psa-phpmyadmin (–remove): dependency problems – not removing Errors were encountered while processing: psa-phpmyadmin root@82-165-118-245:/~# It is fixed … Read more

dpkg package pre-removal script returned error

On a Plesk server, MySQL somehow went missing. When I tried to remove a package, I get error To fix this, I removed the prerm and postrm scripts. These scripts execute before and after a package is removed. It is not recommended to remove it, but if these scripts prevent you from uninstalling a package, … Read more

How to disable GUI in Ubuntu

If you have installed Ubuntu with GUI and don’t want GUI, you can disable GUI from starting on boot with command systemctl set-default multi-user If you need to GUI auto-start on boot, run systemctl set-default graphical.target

How to install zabbix agent on Ubuntu

zabbix agent Server config

To install the Zabbix agent on Ubuntu, run the command apt install zabbix-agent To autostart, Zabbix agent on boot, enable it with systemctl enable zabbix-agent To manage Zabbix, use commands systemctl stop zabbix-agent systemctl start zabbix-agent systemctl restart zabbix-agent To see Zabbix listening port netstat -lntp | grep zabbix Edit file vi /etc/zabbix/zabbix_agentd.conf Find Server=127.0.0.1 … Read more