some minor changes to css + preliminary ordering of articles

This commit is contained in:
lidia pereira 2019-08-14 16:28:03 +02:00
parent 9acad95041
commit 99da64c963
8 changed files with 60 additions and 30 deletions

View File

@ -1,9 +1,11 @@
Title: Considerations for server hardware
Date: 2019-7-10
Tags: hardware, sbc,
Slug: choosing-a-homebrew-server
url: choosing-a-homebrew-server
save_as: choosing-a-homebrew-server.html
Summary: What makes a suitable homebrew server and where to get it?
Category: fundamentals
slug: 002
[TOC]

View File

@ -1,10 +1,12 @@
Title: Introduction
Date: 2019-06-17
Slug: fundamentals-intro
url: fundamentals-intro
save_as: fundamentals-intro.html
Description: why you want to get in to homeserving
Summary: Introduction to homebrewserver.club fundamentals
Status: published
Category: fundamentals
slug: 001
This series is a starting point for people looking to host their own on-line services from home. A good place to start is by reading the [homebrewserver.club principles]({filename}manifesto.md) on to understand why we make the choices we do. Then have a look at the [hardware guide](hwguide) or [setting up a server behind your home router.]({filename}portforwarding.md)

View File

@ -1,9 +1,11 @@
Date: 2019-06-17
Title: The homebrewserver.club principles
Slug: fundamentals-manifesto
url: fundamentals-manifesto
save_as: fundamentals-manifesto.html
Summary: The homebrewserver.club principles
Status: published
Category: fundamentals
slug: 006
## THE HOMEBREWSERVER.CLUB:

View File

@ -1,9 +1,11 @@
Title: Networked Backups over VPN
Date: 2018-7-25
Tags: NAS, diy, vpn
Slug: network-backups-over-vpn
url: network-backups-over-vpn
save_as: network-backups-over-vpn.html
Summary: How to set up a spare olimex board as a networked backup disk
Category: fundamentals
slug: 007
#Introduction

View File

@ -1,12 +1,13 @@
Title: Port Forwarding configuration for your home router
Date: 2019-01-14
Tags: port forwarding, router, introduction, lan, wan
Slug: fundamentals-port-forwarding
url: fundamentals-port-forwarding
save_as: fundamentals-port-forwarding.html
Summary: How to make your homebrew server reachable over the internet using your home router.
Author: hbsc & friends
Image: images/port_forwarding.svg
Status: published
slug: 005
# UNDER CONSTRUCTION

View File

@ -1,12 +1,14 @@
Title: Demystifying SSH
Date: 2019-06-17
Tags: ssh
Slug: demystifying-ssh
url: demystifying-ssh
save_as: demystifying-ssh.html
Description: Setting up and understanding remote terminal connections to your server using SSH for fun and not-for-profit
Summary: Setting up and understanding remote terminal connections to your server using SSH for fun and not-for-profit
Author: decentral1se
Status: published
Category: fundamentals
slug: 003
## Introduction

View File

@ -1,15 +1,15 @@
Title: Setting up a web server
Date: 2019-01-14
Date: 2019-08-14
Category: fundamentals
Tags: server, router, introduction, lan, wan
Slug: fundamentals-webserver-website
url: fundamentals-webserver-website
save_as: fundamentals-webserver-website
Summary: Installing a web server on your homebrew server
Author: hbsc & friends
Status: published
slug: 004
TODO:
* add good dns registry reference
* certificate renewal certbot
[TOC]
##Introduction
@ -17,11 +17,11 @@ Ever wanted to host your own website from the comfort of your own house? Ever wo
Besides helping you with the installation, this guide will help you getting the right certificates, configuring your server and publishing your homebrew served website.
## Some background knowledge.
## Some background knowledge
So first off, what is the web, what is a web site and what is a web server?
First off: what is the web, what is a web site and what is a web server?
The web is the single most known part of the internet. Because of that, it often happens that 'the web' and 'the internet' become conflated. Therefor it often becomes a bit hazy to state what the difference is between the internet and the web. Generally speaking 'the web' is only the part of the internet that we interact with with a web browser. More technically speaking, the web is the part of the internet that runs on port 80 and port 443 and that uses the HTTP and HTTPS protocols.
The web is the single most known part of the internet. Because of that, it often happens that 'the web' and 'the internet' become conflated. Therefore, it often becomes a bit hazy to state what the difference is between the internet and the web. Generally speaking 'the web' is only the part of the internet that we interact with with a web browser. More technically speaking, the web is the part of the internet that runs on port 80 and port 443 and that uses the HTTP and HTTPS protocols.
Websites are text documents that are formatted through HTML, CSS and JS. These three technologies tell the webbrowser what the structure of the page is, how it should be laid out and what kind of interactions are possible. Websites are transmitted using Hyper Text Transfer Protocol, which is why we usually type them like so `http://homebrewserver.club`.
@ -34,7 +34,7 @@ So in essence the web is a network of webservers which runs on top of the intern
- A spare computer.
- A basic understanding of the command line.
- An [ssh server and client](demystifying-ssh.html) installed
- A registered domain name
- A [registered domain name](https://www.pcworld.com/article/241722/how-to-register-your-own-domain-name.html)
- Have an available power socket next to your router.
- An ethernet cable to connect your server to the router.
@ -265,11 +265,28 @@ If the required ssl_module is not listed, run:
$ sudo a2enmod ssl
```
### Certificate renewal
Your certificates expire after a period of time. You can, however, automate renewal by adding a [cron job](https://www.ostechnix.com/a-beginners-guide-to-cron-jobs/) that schedules when the specific renewal command should be run.
Start by running:
```bash
sudo crontab -e
```
Add the following:
```bash
5 55 0 * 5 /usr/bin/certbot renew
```
This means the certificates will be renewed every week on Friday at 05:55. You can of course edit these times according to your preferences!
Save your changes and exit the editor.
Time to restart Apache and load all of these changes!
## index.html
At this point, when typing https://mydomain.org into your browser, you're greeted with a page that looks a little something like this:
At this point, when typing https://mydomain.org into your browser, you should be greeted with a page that looks a little something like this:
![Default apache on debian index.html page](http://assets.digitalocean.com/how-to-install-lamp-debian-9/small_apache_default_debian9.png)

View File

@ -294,6 +294,10 @@ blockquote {
margin-bottom:0px;
}
.category-intro {
width:85%;
}
.divider {
font-size:12px;
width:100%;
@ -317,8 +321,6 @@ blockquote {
}
.footnote{
font-size:14px;
margin:auto;