Skip to content

Commit 5be46c1

Browse files
committed
fix urls
1 parent a7b7a2a commit 5be46c1

File tree

2 files changed

+25
-6
lines changed

2 files changed

+25
-6
lines changed

chapter_11_ansible.asciidoc

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ something else, but I won't be able to help you as much if you get stuck.
142142
((("Linux servers")))
143143
If you've never started a Linux server before and you have absolutely no idea
144144
where to start, I wrote a
145-
https://github.com/hjwp/Book-TDD-Web-Dev-Python/blob/master/server-quickstart.md[very brief guide on GitHub].
145+
https://github.com/hjwp/Book-TDD-Web-Dev-Python/blob/main/server-quickstart.md[very brief guide on GitHub].
146146

147147

148148
NOTE: Some people get to this chapter, and are tempted to skip the domain bit,
@@ -176,6 +176,20 @@ without learning a good bit more about it.
176176
is that it means a slightly fewer security issues to worry about.)
177177
If you'd like a place to start, here's as good a place as any:
178178
https://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers[My first 5 minutes on a server].
179+
// CSANAD: this webpage now redirects to a law firm's website.
180+
// there is a repost of the same article:
181+
// https://www.jamesonricks.com/re-post-my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers/
182+
//
183+
// The wayback machine has the original saved:
184+
// https://web.archive.org/web/20201112012219/https://plusbryan.com/my-first-5-minutes-on-a-server-or-essential-security-for-linux-servers
185+
//
186+
// I tried digging up something similar and this one seems to be based on
187+
// the "First Five Minutes on a Server":
188+
// https://blog.codelitt.com/my-first-10-minutes-on-a-server-primer-for-securing-ubuntu/
189+
//
190+
// I wanted to find something more community-maintained or more of a "standard"
191+
// knowledge-base, but both OWASP and the Cloud Security Alliance provide more
192+
// general and/or less hands-on writings.
179193
I can definitely recommend the eye-opening experience of installing
180194
fail2ban and watching its logfiles to see just how quickly it picks up on
181195
random drive-by attempts to brute force your SSH login. The internet is a
@@ -1112,13 +1126,18 @@ and lots, lots more to learn besides.
11121126
Here are some resources I used for inspiration:
11131127

11141128

1115-
* http://12factor.net/[The 12-factor App] by the Heroku team
1129+
* https://12factor.net/[The 12-factor App] by the Heroku team
11161130

11171131
* http://hynek.me/talks/python-deployments[Solid Python Deployments for Everybody] by Hynek Schlawack
1132+
// CSANAD: the author suggests another, slightly more up-to date (from 2018)
1133+
// talk now: https://hynek.me/talks/deploy-friendly/
11181134

11191135
* The deployment chapter of
11201136
https://www.feldroy.com/books/two-scoops-of-django-3-x[Two Scoops of Django]
11211137
by Dan Greenfeld and Audrey Roy
1138+
// CSANAD: this is 404 now. The book no longer seems to have a separate page
1139+
// instead, they list all their books at
1140+
// https://www.feldroy.com/two-scoops-press
11221141

11231142

11241143

server-quickstart.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Ultra-brief instructions for how to get a Linux server
22

33
These instructions are meant as companion to the
4-
[deployment chapter of my book](http://www.obeythetestinggoat.com/book/chapter_09_docker.html).
4+
[deployment chapter of my book](https://www.obeythetestinggoat.com/book/chapter_11_ansible.html).
55
They're almost telegraphic in style, but I hope they're better than nothing!
66

77

@@ -23,7 +23,7 @@ ssh-keygen
2323

2424
**NOTE** *If you're on Windows, you need to be using Git-Bash for `ssh-keygen`
2525
and `ssh` to work. There's more info in the
26-
[installation instructions chapter](http://www.obeythetestinggoat.com/book/pre-requisite-installations.html)*
26+
[installation instructions chapter](https://www.obeythetestinggoat.com/book/pre-requisite-installations.html)*
2727

2828
Just accept all the defaults if you really want to just get started in a hurry,
2929
and no passphrase.
@@ -39,8 +39,8 @@ Make a note of your "public key"
3939
cat ~/.ssh/id_rsa.pub
4040
```
4141

42-
More info on public key authentication [here](https://www.linode.com/docs/networking/ssh/use-public-key-authentication-with-ssh/)
43-
and [here](https://www.digitalocean.com/community/tutorials/how-to-use-ssh-keys-with-digitalocean-droplets)
42+
More info on public key authentication [here](https://www.linode.com/docs/guides/use-public-key-authentication-with-ssh/)
43+
and [here](https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/)
4444

4545

4646
## Start a Droplet

0 commit comments

Comments
 (0)