← ServerPilot Docs

What ServerPilot Installs

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.

ServerPilot Agent

The ServerPilot agent is what makes it possible for you to securely and easily manage your server through ServerPilot.

  • To restart: sudo service serverpilot-agent restart
  • Log file: /var/log/serverpilot/agent.log


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.

  • To restart: sudo service nginx-sp restart
  • Global log directory: /var/log/nginx-sp

Apache 2.4

Apache listens only on localhost port 81.

  • To restart: sudo service apache-sp restart
  • Global log directory: /var/log/apache-sp

PHP 7.4, 8.0, 8.1, 8.2, and 8.3

Your PHP apps are run using PHP-FPM.

  • To restart: sudo service phpX.Y-fpm-sp restart
  • Global log file: /var/log/phpX.Y-fpm-sp.log
  • CLI: /usr/bin/phpX.Y-sp


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.

  • To restart: sudo service postfix restart
  • Global log file: /var/log/mail.log


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.

  • To restart: sudo service mysql restart
  • Global log file: /var/log/mysql.log
  • Global error file: /var/log/mysql.err
You must log in as root to run sudo commands on your server.
Last updated: April 23, 2024

Launch your first site in 5 minutes