Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Split the sudo command from the installer.
Alex Vandiver5b3b9a990a1f
diff --git a/docs/production/install.md b/docs/production/install.mdindex 862870b7263..3bdc515f01b 100644--- a/docs/production/install.md+++ b/docs/production/install.md@@ -56,11 +56,17 @@ tarballs](https://download.zulip.com/server/SHA256SUMS.txt).## Step 2: Install Zulip-To set up Zulip with the most common configuration, run the installer as-follows:+To set up Zulip with the most common configuration, first become the+`root` user, if you are not already:++```bash+[ "$(whoami)" != "root" ] && sudo -s+```++Then, run the installer, providing your email address and the public+hostname that users will be able to access your server with:```bash-sudo -s # If not already root./zulip-server-*/scripts/setup/install --push-notifications --certbot \--email=YOUR_EMAIL --hostname=YOUR_HOSTNAME```