selfprivacy.org/en/second.html

395 lines
18 KiB
HTML
Raw Normal View History

2021-11-02 09:56:22 +00:00
<!doctype html>
2021-11-10 13:09:41 +00:00
<html class="no-js" lang="en">
2021-11-02 09:56:22 +00:00
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="">
<meta property="og:type" content="">
<meta property="og:url" content="">
<meta property="og:image" content="">
<link rel="stylesheet" href="../font/stylesheet.css">
<link rel="stylesheet" href="../css/normalize.css">
<link rel="stylesheet" href="../css/main.css">
<link rel="icon" type="image/png" href="../favicon.png" />
<meta name="theme-color" content="#fafafa">
</head>
<body>
<div class="nav">
<div class="flex-box-wrap max-width">
<div class="w-25">
2021-11-10 13:09:41 +00:00
<a href="index.html">
<div class="nav-logo-box">
<img src="../img/logos/self-privacy.png" alt="SelfPrivacy">
</div>
</a>
2021-11-02 09:56:22 +00:00
</div>
<div class="w-50">
<div>
<a class="telegram-btn" href="https://t.me/selfprivacy">
Telegram
</a>
</div>
</div>
<div class="w-25">
<div class="flex-box-wrap jc-fe">
2021-11-10 13:09:41 +00:00
<!-- <a href="https://selfprivacy.org/en/index.html">en</a> -->
<a class="lang-link" href="../second.html">ru</a>
2021-11-02 09:56:22 +00:00
<a class="nav-yellow-link" href="https://social.selfprivacy.org">
2021-11-10 13:09:41 +00:00
<img src="../img/logos/fediverse-yellow.svg" alt="Fediverse">
2021-11-02 09:56:22 +00:00
</a>
<a class="nav-yellow-link" href="https://git.selfprivacy.org">
2021-11-10 13:09:41 +00:00
<img src="../img/logos/git-yellow.svg" alt="Git">
2021-11-02 09:56:22 +00:00
</a>
</div>
</div>
</div>
</div>
<div class="margin-16 boxes">
<div class="max-width">
<h2 class="install-page-header">
Deployment and setup
</h2>
<div class="blue-border">
<p></p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
SelfPrivacy-server is created step by step within an hour. Sounds scary, but believe me,
you shouldn't be a PhD to accomplish that. It's as simple as purchase in the e-shop.
2021-11-02 09:56:22 +00:00
</p>
<ul>
<li>
2021-11-02 10:00:54 +00:00
<!--1. -->Searching for passport and card with balance of $10-15 and $5 per month
2021-11-02 09:56:22 +00:00
</li>
<li>
2021-11-02 10:00:54 +00:00
<!--2. -->Accounts registration
2021-11-02 09:56:22 +00:00
</li>
<li>
2021-11-02 10:00:54 +00:00
<!--3. -->Protecting accounts
2021-11-02 09:56:22 +00:00
</li>
<li>
2021-11-02 10:00:54 +00:00
<!--4. -->Domain purchasing
2021-11-02 09:56:22 +00:00
</li>
<li>
2021-11-02 10:00:54 +00:00
<!--5. -->Connecting Domain to DNS Server
2021-11-02 09:56:22 +00:00
</li>
<li>
<!--6. -->🔑 Generating tokens
</li>
<li>
<!--7. -->Installation
</li>
<li>
<!--8. -->Connecting to the services 🎉
</li>
</ul>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
If you delegate this process to someone else, you will lose privacy. For 100% independence
2021-11-02 09:56:22 +00:00
and control
we recommend to do everything on your own.
</p>
</div>
<div class="blue-border">
<p class="top-p">
2021-11-02 10:00:54 +00:00
Accounts registration
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
For stability and privacy, SelfPrivacy requires many accounts. If you hold everything in one
2021-11-02 09:56:22 +00:00
place,
2021-11-02 10:00:54 +00:00
you'll get the same you've been running from — all data in hands of one corporation🤦
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
That's why, different parts of the system will be in different places. Let's register:
2021-11-02 09:56:22 +00:00
</p>
<ul>
<li>
2021-11-02 10:00:54 +00:00
<a href="https://accounts.hetzner.com/signUp">Hetzner </a>is a virtual server hosting. Our
data and SelfPrivacy services will live here.
2021-11-02 09:56:22 +00:00
</li>
<li>
<a href="https://www.namecheap.com/myaccount/signup/">NameCheap</a> or any other
2021-11-02 10:00:54 +00:00
registrar, to purchase your personal address on the Internet —
the domain that will point to the server.
2021-11-02 09:56:22 +00:00
</li>
<li>
<a href="https://dash.cloudflare.com/sign-up">CloudFlare </a>is a DNS server, where your
personal
address(domain) works.
</li>
<li>
<a
href="https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct&src=default">
Backblaze </a>is an IaaS, that provides free storage for your encrypted backups.
</li>
</ul>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
Registration is trivial, but sometimes account activation may take up to few days or requires
additional documents.
Therefore, use real documents and fill out everything carefully.
Providers protect themselves from spam in such way. Nothing personal )
2021-11-02 09:56:22 +00:00
</p>
</div>
<div class="blue-border">
<p class="top-p">
2021-11-02 10:00:54 +00:00
Protecting accounts
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
Most often, systems are hacked through the weakest part. In order for accounts not to be such
a part, passwords must be different and complex. TwinkleTwinkleLittleStar is a great example of a
bad password.
2021-11-02 09:56:22 +00:00
A good one 🌈 is a
passphrase:
</p>
<p class="code-p">
expert repose postwar anytime glimpse freestyle liability effects
</p>
<p class="bottom-p">or</p>
<p class="code-p">
}Rj;EtG:,M!bc4/|
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
How to remember such complicated password? No way! Passwords do not need to be remembered, they must
be
2021-11-02 09:56:22 +00:00
created and stored in the <a href="https://keepassxc.org/download/">password manager</a>. Though,
you'll
2021-11-02 10:00:54 +00:00
have to remember at least one — password from the password manager.
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
Be sure to enable additional account protection - the second factor (MFA, 2FA).
Without this simple step, your data will not be safe.
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
I know it was difficult, but now your data is better protected than 95% of users.
You can be proud of yourself! I'm proud of you 🤗
2021-11-02 09:56:22 +00:00
</p>
</div>
<h2>
2021-11-02 10:00:54 +00:00
Domain purchasing
2021-11-02 09:56:22 +00:00
</h2>
<p class="top-header-p">
Enabled 2FA? Then let's proceed to the most interesting part!
</p>
<div class="blue-border-img">
2021-11-10 13:09:41 +00:00
<img src="../img/screencasts/nc-buy-domain.gif" alt="gif">
2021-11-02 09:56:22 +00:00
</div>
<p class="bottom-p pb-25">
<i>Domain</i> — it's a piece of Internet, which you can name like your home pet. Potential for
creativity is huge.
Your only limitations are 63 symbols length + .com .org .icu or other domain zones. Feel free to choose
among hundreds of others.
You can choose your surname as a domain, like this: jackson.live or carson.health, or it can be
something creative,
like: unicorn-land.shop
</p>
<div class="blue-border">
<p class="top-p">
Advices
</p>
<ul>
2021-11-02 10:00:54 +00:00
<li>Be sure to look at the annual renewal price, it can exceed the purchase price many times.</li>
<li>Normal domain price is $8-10 per year. The cheapest are Chinese .icu and .cyou - $4-6.</li>
<li>A good name is convenient, both on the phone to dictate, and on the business card to indicate.
2021-11-02 09:56:22 +00:00
</li>
2021-11-02 10:00:54 +00:00
<li>The last name in the domain is good in that you can distribute mail to all namesakes, for
example:
name.secondname@surname.com, ns@surname.com or name@surname.com</li>
<li>
During domain registration, make sure to enter your real e-mail address, otherwise your
2021-11-02 09:56:22 +00:00
registration can be
2021-11-02 10:00:54 +00:00
canceled. And if you can't extend the domain, the system won't work as intended.
</li>
<li>Did I talk about the 2FA?</li>
2021-11-02 09:56:22 +00:00
</ul>
</div>
<p class="top-header-p">
2021-11-02 10:00:54 +00:00
Connecting Domain to DNS Server
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
After acquisition, add your domain into CloudFlare:
2021-11-02 09:56:22 +00:00
</p>
<div class="blue-border-img">
2021-11-10 13:09:41 +00:00
<img src="../img/screencasts/add-domain-to-cf.gif" alt="gif">
2021-11-02 09:56:22 +00:00
</div>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
Using <span class="color-blue">ruleit.stream</span> as example, we chose free service plan
2021-11-02 09:56:22 +00:00
and got nameservers: <span class="color-blue">gail.ns.cloudflare.com</span> and <span
2021-11-02 10:00:54 +00:00
class="color-blue">mattns.cloudflare.com</span>, which must be registered with our registrar.
In our case <span class="color-blue">NameCheap:</span>
2021-11-02 09:56:22 +00:00
</p>
<div class="blue-border-img">
2021-11-10 13:09:41 +00:00
<img src="../img/screencasts/nc-to-cf.gif" alt="gif">
2021-11-02 09:56:22 +00:00
</div>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
At the same time, we check that we include auto-renewal and protection of personal data — <span
class="color-blue">WhoisGuard</span>.
After a few minutes or, in the worst case, up to 2 days, the settings will be applied.
2021-11-02 09:56:22 +00:00
</p>
<h2>
🔑 Generating tokens
</h2>
<div class="blue-border">
<p class="top-p">
API tokens
</p>
<p class="bottom-p">
2021-11-02 10:00:54 +00:00
<i>API tokens</i> are almost the same as login and password, only for a program, not a person.
SelfPrivacy application uses them to manage services in all accounts instead of you. Convenient!
2021-11-02 09:56:22 +00:00
</p>
<p class="bottom-p">
Tokens should be stored in the <a href="https://keepassxc.org/download/">password manager</a>
</p>
<p class="bottom-p">
We do not need a token for the NameCheap. But we will need one for the CloudFlare
to use it for domain management.
</p>
<p class="header-p">
CloudFlare
</p>
<ul>
2021-11-02 10:00:54 +00:00
<li>Visit the following <a href="https://dash.cloudflare.com/">link</a>.</li>
<li>In the right corner, we click on the profile icon (a man in a circle). For the mobile version
2021-11-02 09:56:22 +00:00
of the site, in
2021-11-02 10:00:54 +00:00
the upper left corner, click the <b>Menu</b> button (three horizontal bars), in the dropdown
menu,
click on <b>My Profile</b>
2021-11-02 09:56:22 +00:00
</li>
2021-11-02 10:00:54 +00:00
<li>We have four configuration categories to choose from: <b>Communication, Authentication, API
Tokens, Session.</b> Choose <b>API Tokens.</b>
2021-11-02 09:56:22 +00:00
</li>
2021-11-02 10:00:54 +00:00
<li>The first item is the <b>Create Token</b> button. With complete self-confidence and a desire
to gain privacy, we press it.
2021-11-02 09:56:22 +00:00
</li>
2021-11-02 10:00:54 +00:00
<li>We go down to the bottom and see the <b>Create Custom Token</b> field and
the <b>Get Started</b> button on the right side. We press.</li>
<li>In the <b>Token Name</b> field, we give our token a name. You can quote and treat this as
the name of a pet:)</li>
<li>Next we have <b>Permissions</b>. In the leftmost field, select <b>Zone</b>. In the longest
field, center, select
<b>DNS</b>. In the rightmost field, select <b>Edit</b>.
2021-11-02 09:56:22 +00:00
</li>
2021-11-02 10:00:54 +00:00
<li>Next, right under this line, click <b>Add More</b>. Similar field will appear.</li>
<li>In the leftmost field of the new line, we select, similar to the last line — <b>Zone</b>. In the
center — a little different.
Here we choose the same as in the left — <b>Zone</b>. In the rightmost field, select
2021-11-10 13:09:41 +00:00
<b>Read</b>.
</li>
2021-11-02 10:00:54 +00:00
<li>Next we look at <b>Zone Resources</b>. Under this inscription there is a line with two fields.
The left must have <b>Include</b> and the right must have <b>Specific Zone</b>. Once you select
<b>Specific Zone</b>, another field appears on the right. We choose our domain in it.
</li>
<li>We flick to the bottom and press the blue <b>Continue to Summary</b> button.</li>
<li>We're checking to see if we got everything right. A similar string must be present: Domain —
2021-11-10 13:09:41 +00:00
<b>DNS:Edit, Zone:Read.</b>
</li>
2021-11-02 10:00:54 +00:00
<li>Click on <b>Create Token.</b></li>
<li>We copy the created token, and save it in a reliable place (preferably in the <a
href="https://keepassxc.org/download/">password manager</a>).</li>
2021-11-02 09:56:22 +00:00
</ul>
2021-11-10 13:09:41 +00:00
<img src="../img/screencasts/CloudFlare.gif" alt="gif">
2021-11-02 09:56:22 +00:00
<p class="header-p">
Hetzner
</p>
<ul>
2021-11-10 13:09:41 +00:00
<li>Visit the following <a href="https://console.hetzner.cloud/">link</a> and authorize in the
2021-11-02 10:00:54 +00:00
previously created account.</li>
<li>We go into the project we created. If there is none, then we create.</li>
<li>Point the mouse to the side panel. It should open by showing us menu items. We are interested
in the latter — <b>Security</b> (with a key icon).
</li>
<li>Next, at the top of the interface we see approximately the following list: <b>SSH Keys,
2021-11-02 09:56:22 +00:00
API Tokens,
2021-11-02 10:00:54 +00:00
Certificates, Members.</b> We need the <b>API Tokens</b>. Click on it.
</li>
<li>On the right side of the interface, we will be waiting for the <b>Generate API token</b> button.
If you use
the mobile version of the site — in the lower right corner you will see a <b>red plus</b>
button. We press.
</li>
2021-11-02 09:56:22 +00:00
<li>In the <b>Description</b> field, give our token a name (this can be any name that
2021-11-02 10:00:54 +00:00
you like, it does not essentially change).</li>
<li>Under <b>Description</b>, you can select <b>permissions</b>. Select <b>Read & Write</b>.
2021-11-02 09:56:22 +00:00
</li>
<li>Click <b>Generate API Token.</b></li>
2021-11-02 10:00:54 +00:00
<li>After that, your key will be displayed. We write it in a safe place, or even better, we save it
in the
<a href="https://keepassxc.org/download/">password manager</a>.
</li>
2021-11-02 09:56:22 +00:00
</ul>
2021-11-10 13:09:41 +00:00
<img src="../img/screencasts/Hetzner.gif" alt="gif">
2021-11-02 09:56:22 +00:00
<p class="header-p">
Backblaze B2
</p>
<ul>
<li>Visit the following <a href="https://secure.backblaze.com/user_overview.htm">link</a></li>
2021-11-02 10:00:54 +00:00
<li>On the left side of the interface, select <b>App Keys</b> in the <b>B2 Cloud Storage</b>
subcategory.
</li>
2021-11-02 09:56:22 +00:00
<li>Click on the blue <b>Generate New Master Application Key</b> button.</li>
<li>In the appeared pop-up window confirm the generation.</li>
2021-11-02 10:00:54 +00:00
<li>Save <i>keyID</i> and <i>applicationKey</i> in the safe place. For example - in the
<a href="https://keepassxc.org/download/">password manager</a> :)
2021-11-02 09:56:22 +00:00
</li>
</ul>
2021-11-10 13:09:41 +00:00
<img src="../img/screencasts/Backblaze.gif" alt="gif">
2021-11-02 09:56:22 +00:00
<p class="header-p">
2021-11-02 10:00:54 +00:00
🎉 Congratulations. Now you are ready to use private services.
2021-11-02 09:56:22 +00:00
</p>
</div>
</div>
</div>
<footer>
<a href="https://social.selfprivacy.org">
2021-11-10 13:09:41 +00:00
<img src="../img/logos/fediverse-blue.svg" alt="Fediverse">
2021-11-02 09:56:22 +00:00
</a>
<a href="https://t.me/selfprivacy">
2021-11-10 13:09:41 +00:00
<img src="../img/logos/telegram.svg" alt="Telegram">
2021-11-02 09:56:22 +00:00
</a>
<a href="https://git.selfprivacy.org">
2021-11-10 13:09:41 +00:00
<img src="../img/logos/git-blue.svg" alt="Git">
2021-11-02 09:56:22 +00:00
</a>
</footer>
</body>
</html>