Skip to content

Viet Vu

Everything about me

  • Hosting on
  • AI
  • Blog
  • Companies
  • Database
  • Linux
  • PHP
  • Projects
  • Stacks
  • Study cases
  • Tips & Tricks
  • Laravel – Code structure with UnitTest
  • [Tip] Ubuntu 22.04 Missing lock screen menu item
  • Github action – Slack notification
  • PHP Development tools i have used
  • Microservice – XClient

Tag: Ubuntu

[Tip] Ubuntu 22.04 Missing lock screen menu item

gsettings set org.gnome.desktop.lockdown disable-lock-screen false
Posted on September 15, 2023September 15, 2023Categories Tips & TricksTags GNOME, lock screen, UbuntuLeave a comment on [Tip] Ubuntu 22.04 Missing lock screen menu item

Ubuntu – Create system user without login

sudo groupadd --system prometheus
sudo useradd -s /sbin/nologin --system -g prometheus prometheus
Posted on August 6, 2023August 6, 2023Categories Linux, StacksTags UbuntuLeave a comment on Ubuntu – Create system user without login

Can’t use Node Exporter with VirtualMin

Install Node Exporter on server but can’t make it work. Simply ! Coz Virtualmin have installed & enabled FirewallD. Just disable it or allow port 9100.

sudo systemctl disable firewalld.service
sudo systemctl stop firewalld.service
Posted on April 11, 2023April 11, 2023Categories Study casesTags Firewall, Node Exporter, Ubuntu, VirtualminLeave a comment on Can’t use Node Exporter with VirtualMin

Ubuntu – Sudo without password require

soulevil ALL=(ALL) NOPASSWD:ALL

Posted on April 10, 2023April 10, 2023Categories LinuxTags sudoers, UbuntuLeave a comment on Ubuntu – Sudo without password require

Ubuntu – Check running ports

How to check if port is in use in

sudo lsof -i -P -n | grep LISTEN
sudo netstat -tulpn | grep LISTEN
sudo ss -tulpn | grep LISTEN
sudo lsof -i:22 ## see a specific port such as 22 ##
sudo nmap -sTU -O IP-address-Here
Posted on April 10, 2023April 10, 2023Categories LinuxTags UbuntuLeave a comment on Ubuntu – Check running ports
Proudly powered by WordPress