[tor-commits] [community/master] relay/setup (CentOS/RHEL): minor fixes on Markdown for shell console

gus at torproject.org gus at torproject.org
Mon Oct 25 21:42:54 UTC 2021


commit 91a6ee5f3e5a871786d4d8ca352088d9db7b21a3
Author: Vinícius Zavam <egypcio at googlemail.com>
Date:   Sun Oct 24 19:34:14 2021 +0000

    relay/setup (CentOS/RHEL): minor fixes on Markdown for shell console
---
 content/relay/setup/guard/centosrhel/contents.lr | 24 ++++++++++++++++--------
 1 file changed, 16 insertions(+), 8 deletions(-)

diff --git a/content/relay/setup/guard/centosrhel/contents.lr b/content/relay/setup/guard/centosrhel/contents.lr
index 81f1d30..52697dc 100644
--- a/content/relay/setup/guard/centosrhel/contents.lr
+++ b/content/relay/setup/guard/centosrhel/contents.lr
@@ -14,11 +14,15 @@ One of the most important things to keeps your relay secure is to install securi
 
 To install `tor` on CentOS/RHEL, you need to enable the use of the [EPEL](https://fedoraproject.org/wiki/EPEL) Repository first. To do so, you must install the `epel-release` package:
 
-`yum install epel-release`
+```
+# yum install epel-release
+```
 
 Recent versions of CentOS/RHEL are using `dnf` instead of `yum`, so the command to install the package would be:
 
-`dnf install epel-release`
+```
+# dnf install epel-release
+```
 
 If you are on a recent version that uses `dnf`, please keep using it for the following steps where `yum` is called on this setup guide.
 
@@ -42,7 +46,9 @@ More information about it can be found [here](https://support.torproject.org/rpm
 
 Once you are set with EPEL and the Tor repositories, you are now able to install the package:
 
-`yum install tor`
+```
+# yum install tor
+```
 
 Please note that when you are installing the first package from the EPEL repository you will be asked about verifying the EPEL's GPG signing key. Please ensure the key matches with the one available on the [Fedora Project website](https://getfedora.org/keys/). This will also happens when installing packages from Tor's repository for the first time - again you must ensure the key matches.
 
@@ -62,19 +68,21 @@ SocksPort   0
 
 Recent versions os CentOS/RHEL which ship with systemd:
 
-`systemctl enable --now tor`
+```
+# systemctl enable --now tor
+```
 
 Should you use an older release like CentOS/RHEL 6, that will be:
 
-`service tor enable`
-
-`service tor start`
+```
+# service tor enable
+# service tor start
+```
 
 # 7. Final Notes
 
 If you are having trouble setting up your relay, have a look at our [help section](/relay/getting-help/).
 If your relay is now running, check out the [post-install](/relay/setup/post-install/) notes.
-
 ---
 html: two-columns-page.html
 ---





More information about the tor-commits mailing list