bash: lspci: command not found

On Ubuntu server, when I run lspci command, i get the error

To fix this error, install package pciutils

See lspci […]

Read More…

CyberPanel FTP not working on Ubuntu Server

On CyberPanel server, FTP was not working. I checked the server with “netstat -lntp” command. No service was listening on port 21. Started pure-ftpd with command

To start pure-ftpd on boot, run

Now FTP service started listening on port 21, but login to the FTP server failed with an error “Login authentication failed”. […]

Read More…

Install PHP drivers for Microsoft SQL Server on Ubuntu PHP 7.2

On Ubuntu 18.04 server running PHP 7.2, i want to install Microsoft SQL Server module for PHP. You can find PHP module for SQL server at https://github.com/microsoft/msphpsql At the time of writing this PHP module only support PHP 7.4 and newer. SO i need to find older version that supported PHP 7.2. On checking release […]

Read More…

Easy Kubernetes setup on Ubuntu with microk8s

kubernetes

To install microk8s, run

Enable rules in firewall

Enable addons

To see status of current addons, run

Here is status for a defaul install

To see all pods/services/deploymens, run

To avoid typing microk8s before kubectl, run

You can add this to .bashrc to make it permanent. To run […]

Read More…

Install dnsmasq on Ubuntu

dnsmasq is a very powerful tool that can provide basic dns services/caching, act as dhcp server and also as tftp server. To install dnsmasq, run

When you start dnsmasq, if it complain about port 53 alreay in use

This is because some other service is running on port 53. To find what service […]

Read More…

Ant Media Server Ubuntu firewall configuration

Ant Media Server

To enable firewal for Ant Media Server on Ubnuntu server, use following rules

After enabling, you will have following status

Port forwarding You can forward port 80 and 443 to Ant Media Server, so you don’t have to use ports. You can use following iptables commands

To make it permanent, edit

[…]

Read More…

Reinstall Kernel in Ubuntu/Debian

reinstall ubuntu kernel

To reinstall Kernel in Ubunru, you need to find the version of kernal installed, for this run

Or you can use command, find the kernel version you need to install

Once you have the name of linux-image package you need to install, you can run

Example See apt, Ubuntu, Debian […]

Read More…

install Shotcut Video Editor in ubuntu

Shotcut is an free open source video editor for Ubuntu. You can find more info at https://shotcut.org Latest version of Shotcut video editor can be installed on Ubuntu using command

shotcut is also available to be installed from apt, but this is slightly older version than snap. To install from apt, use command

[…]

Read More…

Ubuntu Server 20.04 configure OVH failover IP

To configure IP in Ubuntu 20.04 guest, create file

add following content

example

Test network config using

If everything works fine, you can apply the changes with

See OVH, netplan […]

Read More…