template index.html changed to remove moaaar and add author data to artcile summary

This commit is contained in:
lidia pereira 2019-08-16 16:58:27 +02:00
parent 770eaa0a2b
commit a07e14676f
2 changed files with 14 additions and 8 deletions

View File

@ -5,7 +5,7 @@ Tags: server, router, introduction, lan, wan
url: fundamentals-webserver-website.html url: fundamentals-webserver-website.html
save_as: fundamentals-webserver-website.html save_as: fundamentals-webserver-website.html
Summary: Installing a web server on your homebrew server Summary: Installing a web server on your homebrew server
Author: hbsc & friends Author: misschienaasappel
Status: published Status: published
slug: 004 slug: 004
@ -13,7 +13,7 @@ slug: 004
##Introduction ##Introduction
Ever wanted to host your own website from the comfort of your own house? Ever wondered how to achieve this? Search no further! This guide will help you with the installation and configuration of web server software, which is what allows a computer to start handling HTTP requests and serve web content in response. Ever wanted to host your own website from the comfort of your house? Ever wondered how to achieve this? Search no further! This guide will help you with the installation and configuration of web server software, which is what allows a computer to start handling HTTP requests and serve web content in response.
Besides helping you with the installation, this guide will help you getting the right certificates, configuring your server and publishing your homebrew served website. Besides helping you with the installation, this guide will help you getting the right certificates, configuring your server and publishing your homebrew served website.
@ -21,7 +21,8 @@ Besides helping you with the installation, this guide will help you getting the
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. 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. 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 web browser 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`. Websites are text documents that are formatted through HTML, CSS and JS. These three technologies tell the web browser 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 +35,7 @@ So in essence the web is a network of webservers which runs on top of the intern
- A spare computer. - A spare computer.
- A basic understanding of the command line. - A basic understanding of the command line.
- An [ssh server and client](demystifying-ssh.html) installed - An [ssh server and client](demystifying-ssh.html) installed
- A [registered domain name](https://www.pcworld.com/article/241722/how-to-register-your-own-domain-name.html) - A [registered domain name](https://computer.howstuffworks.com/dns.htm)
- Have an available power socket next to your router. - Have an available power socket next to your router.
- An ethernet cable to connect your server to the router. - An ethernet cable to connect your server to the router.
@ -45,9 +46,9 @@ The instructions on this guide were run on a Debian Stretch distribution.
The Apache HTTP server is a free and open-source web server software and it has been around since 1995, being the most widely used server software in the world. Because of this, documentation is plentiful and the support community is very large, meaning that help is quite easy to get for any of your server issues. The Apache HTTP server is a free and open-source web server software and it has been around since 1995, being the most widely used server software in the world. Because of this, documentation is plentiful and the support community is very large, meaning that help is quite easy to get for any of your server issues.
For this reason, Apache has been selected for this guide. For this reason, Apache has been selected for this guide.
There are, of course, other web server software available, the most popular of which being Nginx. Nginx, which is also free and open-source software, arrived on the scene circa 2004, and it has also become a favourite for its resource efficiency. There are, of course, other web server software available, the most popular of which being Nginx. Nginx, which is also free and open-source software, arrived on the scene circa 2004, and it also became a favourite for its resource efficiency.
If you want to geek out further about the differences between Apache and Nginx, [this article](https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-considerations) gives you an overview. If you want to geek out further about the differences between Apache and Nginx, [this article](https://www.digitalocean.com/community/tutorials/apache-vs-nginx-practical-considerations) will give you an overview.
So, without further ado, open a terminal window and let's get started: So, without further ado, open a terminal window and let's get started:

View File

@ -12,11 +12,16 @@
</header> </header>
<div class="post-info"> <div class="post-info">
<time class="published" datetime="{{ article.date.isoformat() }}"> <sup>{{ article.locale_date }}</sup> </time> <time class="published" datetime="{{ article.date.isoformat() }}"> <sup>{{ article.locale_date }}</sup> </time>
<address class="vcard author">
By {% for author in article.authors %}
<a class="url fn" href="{{ SITEURL }}/{{ author.url }}">{{ author }}</a>
{% endfor %}
</address>
</div><!-- /.post-info --> </div><!-- /.post-info -->
<div class="entry-content"> <div class="entry-content">
{{ article.summary }}</div> {{ article.summary }}</div>
<!-- /.entry-content --> <!-- /.entry-content -->
<div id="moaaar"><a href="{{SITEURL}}/{{ article.url }}">moaaar</a></div> <!--<div id="moaaar"><a href="{{SITEURL}}/{{ article.url }}">moaaar</a></div> -->
</article></ul> </article></ul>
{% endfor %} {% endfor %}
</ol><!-- /#posts-list --> </ol><!-- /#posts-list -->