You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
aney.co.uk/blog/guide-to-server-hosting.html

114 lines
4.5 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Learn to host a public/private server with a bunch of great services">
<meta name="keywords" content="Blog, server, hosting, website, guide, admin, homelab, self-host">
<meta name="author" content="Nathan (Aney) Steel">
<meta name="theme-color" content="white">
<meta name="theme-color" content="black">
<link rel="stylesheet" type="text/css" href="/main.css">
<link rel="icon" type="image/png" href="/images/favicon.svg">
<title>Aney's guide to server hosting</title>
</head>
<body>
<header>
<h1>Aney' guide to server hosting</h1>
<hr/>
<nav>
<a href="/">home</a>
<a href="/equipment.html">equipment</a>
<a href="/projects.html">projects</a>
<a href="/blog/">blog</a>
<a href="/sitemap.html">misc</a>
<a href="/support.html">support</a>
</nav>
<hr/>
</header>
<main>
<section>
<p class="intro">If you want to start getting into server hosting, system administration, or just want to get a basic minecraft/web server up for you and your friends, then welcome. We all start somewhere, and I would love if I could get your foot in the door.</p>
<p>This is a WIP, so I'll be adding to this guide whenever I get time, and will update it's readibility once it's 'complete'.</p>
<h2>Basic Server setup</h2>
<ul>
<li>TODO:Get a server</li>
<li><a href="/blog/debian-server-setup.html">Basic Debian Server setup (with some security)</a></li>
<li>TODO:Get a domain name</li>
<li><a href="/blog/add-domain-to-server.html">Connect your server and domain name</a></li>
</ul>
<p>Now you officially own, and have setup a server. Currently all you can do is SSH into it though, so let's get some services on there</p>
<h2>Nginx Webserver</h2>
<p>A great first service for any server is a website, even if it's just a little page to let people know you own the server/domain name</p>
<ul>
<li>TODO:Install nginx</li>
<li>TODO:Setup your first website</li>
<li>TODO:Add an SSL certificate w/Certbot</li>
<li>TODO:Nginx web hardening</li>
<li>TODO:Add PHP to your webserver (optional)</li>
</ul>
<h2>MariaDB Database</h2>
<p>A database is a great tool to store, access, and filter data. Typically used alongside a website, or other services, but can be useful standalone if you know what you're doing</p>
<ul>
<li>TODO:Install mariaDB</li>
<li>TODO:SQL cheatsheet</li>
<li>TODO:Adminer install</li>
<li>TODO:Backup databases (optional)</li>
</ul>
<h2>Backup your server!</h2>
<p>Backups are super useful. If something breaks, or gets accidentally deleted you can always use a backup to get back it back</p>
<ul>
<li>TODO:Setup rsync</li>
<li>TODO:Setup rdiff-backup</li>
<li>TODO:Setup backup cronjob(s)</li>
</ul>
<h2>Run virtual machines</h2>
<p>Virtual machines allow you to use your server as multiple servers at once, with different operating systems, services, files, etc.</p>
<ul>
<li>TODO:Setup Qemu/KVM</li>
<li>TODO:Setup a bridged adapter</li>
<li>TODO:Setup a virtual machine</li>
<li>TODO:Virsh cheatsheet</li>
</ul>
<h2>Proxy services to port 80/433</h2>
<p>Many services you install will be accessible via the web, but will use a different ports. Proxying these allows access (and security) without the need to append a port to the server address</p>
<h2>Additional services/potential guides</h2>
<p>Unless there is an anchor, these are all "TODO", and may just be omitted from this guide</p>
<ul>
<li>Install debain on home server</li>
<li>Self hosting and port forwarding</li>
<li>Password protect webpages</li>
<li>git</li>
<li>samba</li>
<li>Open Media Vault</li>
<li>minecraft</li>
<li>terraria</li>
<li>umami</li>
<li>uptime kuma</li>
<li>torrentbox</li>
<li>jellyfin</li>
<li>VPN</li>
<li>mailserver</li>
<li>cockpit for noob-friendly server management</li>
</ul>
</section>
</main>
<footer>
<hr/>
<p>Written by <a href="http://www.aney.co.uk" target="_blank" rel="noopener">@aney</a> with <a href="https://danluu.com/web-bloat/" target="_blank" rel="noopener">web bloat</a> in mind | <a href="https://github.com/Aney/website" target="_blank" rel="noopener">Source Code</a></p>
</footer>
</body>
</html>