mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
docs: Split the sudo command from the installer.
Otherwise, users pasting the whole block into their console will have the experience of it appearing to do nothing -- running the installer will only happen _after_ they exit the `sudo` shell. Split the blocks into two sections, so they will be copy/pasted separately, and thus the installer will properly be run _inside_ the sudo shell.
This commit is contained in:
committed by
Tim Abbott
parent
7d40fcfd7e
commit
5b3b9a990a
@@ -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
|
||||
```
|
||||
|
Reference in New Issue
Block a user