ServerPilot installs various packages on your server. Some of these packages are from Ubuntu's repositories. Other packages are provided by us.
Packages provided by us are designed to not conflict with packages from Ubuntu. However, if you install another webserver that runs on port 80, 81, or 443, your apps may no longer work.
The ServerPilot agent is what makes it possible for you to securely and easily manage your server through ServerPilot.
sudo service serverpilot-agent restart
Nginx is the public-facing server ServerPilot runs on your servers. Nginx listens on ports 80 and 443 of all network interfaces, both IPv4 and IPv6.
sudo service nginx-sp restart
Apache listens only on localhost port 81.
sudo service apache-sp restart
Your PHP apps are run using PHP-FPM.
sudo service phpX.Y-fpm-sp restart
Postfix is installed so that your apps can send mail. Postfix is configured to only accept mail from localhost. ServerPilot does not manage email accounts on your servers.
sudo service postfix restart
ServerPilot installs the version of MySQL that is supported by Ubuntu on the Ubuntu version you chose at your cloud provider. For Ubuntu 20.04, 22.04, and 24.04, the version is MySQL 8.0. For Ubuntu 18.04, the version is MySQL 5.7.
The ServerPilot installer will set a random password for the MySQL root user.
This password is stored in /root/.my.cnf.
Therefore, if you run the command mysql
when logged in as the
system's root user, you do not need to pass the --user argument or enter
a password.
sudo service mysql restart