If you're logged in as the root user (or you've switched to the root user with sudo -i
or su - root
) then you don't need to prepend these commands with sudo
, although it won't hurt anything.
sudo systemctl start nginx php8.3-fpm monit
sudo systemctl enable mysql nginx php8.3-fpm monit