diff options
| author | Luke Smith <luke@lukesmith.xyz> | 2021-07-01 12:57:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-01 12:57:48 -0400 |
| commit | 75849234c9a1b365002f616285a3adf4ab94bf3f (patch) | |
| tree | 16017a87b2756e00e97fa246bc590832ad87ea40 | |
| parent | a0057185e401b1a1f8040a2e64bd692248c522c5 (diff) | |
| parent | 8d48cb1b8aa8d4f430d1d05c0beaea4e389d1038 (diff) | |
Merge pull request #39 from MasterMax13124/master
Tor: Typos fixed, colons added
| -rw-r--r-- | tor.html | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -1,7 +1,7 @@ <!DOCTYPE html> <html lang=en> <head> - <title>Mirror your site over tor</title> + <title>Mirror your site over Tor</title> <meta charset="utf-8"/> <link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> <link rel='stylesheet' type='text/css' href='style.css'> @@ -22,24 +22,24 @@ <h3>Installing Tor</h3> - <p>Firstly we need to add the tor repo's to have the latest up to date version or tor.</p> + <p>Firstly we need to add the Tor repos to our system to get the latest version of Tor:</p> <pre><code>apt install -y apt-transport-https gpg echo "deb https://deb.torproject.org/torproject.org buster main deb-src https://deb.torproject.org/torproject.org buster main" > /etc/apt/sources.list.d/tor.list</code></pre> - <p>Then we need to add the gpg keys to our keyring</p> + <p>Then we need to add the gpg keys to our keyring:</p> <pre><code>curl -s https://deb.torproject.org/torproject.org/A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89.asc | gpg --import gpg --export A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89 | apt-key add -</code></pre> - <p>Now update and install tor</p> + <p>Now update and install Tor:</p> <pre><code>apt update apt install tor deb.torproject.org-keyring</code></pre> <h3>Enabling Tor</h3> - <p>Then edit the file <code>/etc/tor/torrc</code>, uncommenting the following lines:</p> + <p>Next edit the file <code>/etc/tor/torrc</code>, uncommenting the following lines:</p> <pre><code>HiddenServiceDir /var/lib/tor/hidden_service/ HiddenServicePort 80 127.0.0.1:80</code></pre> <aside> @@ -51,19 +51,19 @@ HiddenServicePort 80 127.0.0.1:80</code></pre> HiddenServiceDir line.</p> </aside> - <p>Now start and enable tor at boot</p> + <p>Now start and enable Tor at boot:</p> <pre><code> systemctl enable --now tor </code></pre> <p>If the next command outputs <q>active</q> in green you're golden!</p> <pre><code> systemctl status tor</code></pre> - <p>Now you're server is on the dark web. The following command will give you your onion address:</p> + <p>Now your server is on the dark web. The following command will give you your onion address:</p> <pre><code> cat /var/lib/tor/hidden_service/hostname</code></pre> <h2>Adding the Nginx Config</h2> <p> From here, the steps are almost identical to setting up a normal website configuration file. - Follow the steps as if you were making a new website on the webserver + Follow the steps as if you were making a new website in the webserver <a href="nginx.html">tutorial</a> up until the server block of code. Instead, paste this: </p> @@ -80,7 +80,7 @@ HiddenServicePort 80 127.0.0.1:80</code></pre> <p>The <code>root</code> line is the path to whichever website of yours you'd like to mirror.</p> </aside> <p> - From here we are almost done, all we have to do is enable the site and reload nginx which is also covered in <a href="nginx.html#enable">the webserver tutorial</a>. + Now we are almost done, all we have to do is enable the site and reload nginx which, is also covered in <a href="nginx.html#enable">the webserver tutorial</a>. </p> <h3>Update regularly!</h3> |
