Posts Tagged: systemd

How to auto-start services on boot in CentOS / Red Hat / Oracle Linux?

To auto-start services in CentOS, Red Hat, or Oracle Linux, you can use the built-in chkconfig utility. It is located in the /sbin directory. If you are a regular user (non-root), /sbin may not be in your PATH, so you may have to use the full path to run the chkconfig utility.

centos

Continue reading

How to change the timezone in Ubuntu

How to change the timezone in Ubuntu

To change the timezone interactively in Ubuntu, run:

sudo dpkg-reconfigure tzdata

On modern systemd-based Ubuntu releases, you can also set it non-interactively with timedatectl:

sudo timedatectl set-timezone America/Sao_Paulo
timedatectl status