Blocking Package Upgrade on Debian/Ubuntu

To block packages from upgrading, you can use command apt-mark hold.

Example

To list packages that are on hold, run

If you want to remove block, you can use apt-mark unhold command.

See apt […]

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…

apachectl status www-browser not found

apachectl status

On a Ubuntu server, run i run apachectl status, i get following error.

To fix error, install lynx text based browser.

After installing lunx, apachectl status started working. See Apache […]

Read More…

MariaDB ERROR 1524 Plugin unix_socket is not loaded

After upgrading MariaDB on Ubuntu server, i got following error

Users created worked fine. Only root user had this error. To fix, you need to enable auth_socket.so plugin. Edit file

Find

Add below

Resatrt MariaDB

See MySQL […]

Read More…

apt-get An error occurred during the signature verification

When running apt update, i get following error

To fix this error, run

[…]

Read More…

Ubuntu 18.04 MariaDB 10.2 Too many open files

MariaDB

On my computer running Ubuntu 18.04, MriaDB stopped working. PHP application i run on my computer failed with error

Application can’t find the table. So i tried to login to MySQL and see if table is there or not. But i get error

Next i checked if this is due to any MySQL […]

Read More…

Disable Native Notification on Google Chrome Ubuntu

On Ubuntu, Google chrome had a disable native notification option. On Chrome 78, this option is removed. But you still can manually enable it. To enbale chrome notification, edit file

Find

Replace with

Save and exit the file. Now restart google chrome. Related Posts Google Chrome […]

Read More…