Articles

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

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 5.4, 5.5, 5.6, 7.0, 7.1, and 7.2

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

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

MySQL

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: August 31, 2017