[community/master] relay/setup (Debian-likes): fix how markdown is used to call commands

commit bf1d6aa1fb0d7b28724da09ee190e271ca30f921 Author: Vinícius Zavam <egypcio@googlemail.com> Date: Sun Oct 24 13:03:25 2021 +0000 relay/setup (Debian-likes): fix how markdown is used to call commands --- content/relay/setup/guard/debianubuntu/contents.lr | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/content/relay/setup/guard/debianubuntu/contents.lr b/content/relay/setup/guard/debianubuntu/contents.lr index c72554b..b81978f 100644 --- a/content/relay/setup/guard/debianubuntu/contents.lr +++ b/content/relay/setup/guard/debianubuntu/contents.lr @@ -17,13 +17,16 @@ Enable the Tor Project's package repository by following the instructions **[her # 3. Install `tor` -Install the `tor` package: +Ensure you update the packages database before installing the package, than call `apt` to install it: -`apt update && apt install tor` +``` +apt update +apt install tor +``` # 4. Configure `/etc/tor/torrc` -Put the configuration file `/etc/tor/torrc` in place: +This is a very simple version of the `torrc` configuration file in order to run a Middle/Guard relay on the Tor network: ``` #change the nickname "myNiceRelay" to a name that you like @@ -38,9 +41,11 @@ ContactInfo tor-operator@your-emailaddress-domain # 5. Restart the Service -Restart the tor daemon so your configuration changes take effect: +Restart the `tor` daemon, so your configuration changes take effect: -`systemctl restart tor@default` +``` +systemctl restart tor@default +``` # 6. Final Notes
participants (1)
-
gus@torproject.org