[tor-commits] [community/staging] add centos relay instructions

hiro at torproject.org hiro at torproject.org
Fri Jul 5 13:13:32 UTC 2019


commit 8efc156a0fa9494da51a7d4969928cbcb9db08cd
Author: gus <gus at torproject.org>
Date:   Thu Jul 4 10:20:11 2019 -0400

    add centos relay instructions
---
 .../technical-setup/centosrhel/contents.lr         | 45 ++++++++++++++++++++++
 1 file changed, 45 insertions(+)

diff --git a/content/relay-operations/technical-setup/centosrhel/contents.lr b/content/relay-operations/technical-setup/centosrhel/contents.lr
index af9f706..e8a9a51 100644
--- a/content/relay-operations/technical-setup/centosrhel/contents.lr
+++ b/content/relay-operations/technical-setup/centosrhel/contents.lr
@@ -11,3 +11,48 @@ key: 5
 section_id: relay-operations
 ---
 body:
+
+# 1. Enable the EPEL repository
+
+To install `tor` package on CentOS/RHEL, you need to install the [EPEL](https://fedoraproject.org/wiki/EPEL) repository first:
+
+`yum install epel-release`
+
+# 2. Install the tor package and verify the EPEL signing key
+
+`yum install tor`
+
+When you install the first package from the EPEL repository you will be asked about verifying the EPEL GPG signing key. Please ensure the key matches with the one available on the [Fedora Project website](https://getfedora.org/keys/).
+
+# 3. Put the tor configuration file `/etc/tor/torrc` in place
+
+```
+#change the nickname "myNiceRelay" to a name that you like
+Nickname myNiceRelay
+ORPort 9001
+SocksPort 0
+ExitRelay 0
+# Change the email address bellow and be aware that it will be published
+ContactInfo tor-operator at your-emailaddress-domain
+```
+
+# 4. Enable and start your Tor relay
+
+CentOS 7 / RHEL 7:
+
+```
+systemctl enable tor
+systemctl start tor
+```
+
+CentOS 6 / RHEL 6:
+
+```
+service tor enable
+service tor start
+```
+
+---
+_template: layout.html
+---
+color: primary





More information about the tor-commits mailing list