diff --git a/404.html b/404.html index 0a12ffa..79519a3 100644 --- a/404.html +++ b/404.html @@ -34,7 +34,7 @@

Use the navigation above, or below to head to somewhere a little more, functional

diff --git a/blog/index.html b/blog/index.html index 4800ca5..13bf889 100644 --- a/blog/index.html +++ b/blog/index.html @@ -29,43 +29,16 @@
+
+

You may be looking for my guides, or recipes.

+
-

Pinned

- -

2022

diff --git a/blog/add-domain-to-server.html b/guides/add-domain-to-server.html similarity index 100% rename from blog/add-domain-to-server.html rename to guides/add-domain-to-server.html diff --git a/blog/add-php-to-nginx.html b/guides/add-php-to-nginx.html similarity index 93% rename from blog/add-php-to-nginx.html rename to guides/add-php-to-nginx.html index 4131972..4621e00 100644 --- a/blog/add-php-to-nginx.html +++ b/guides/add-php-to-nginx.html @@ -61,8 +61,8 @@

Make nginx use index.php as homepage/root

Now we'll set nginx to load up index.php as the root of the website, if it exists. Open the site's config with an editor

vim /etc/nginx/sites-available/
-

Change the index line to rad as below. This will then tell the server to load index.php, and if it doesn't exists, load index.html in it's stead

-
index index.php index.html
+				

Change the index line to read as below. This will then tell the server to load index.php, and if it doesn't exists, load index.html in it's stead

+
index index.php index.html
diff --git a/blog/adminer-setup.html b/guides/adminer-setup.html similarity index 95% rename from blog/adminer-setup.html rename to guides/adminer-setup.html index f8c9b6a..87d57c6 100644 --- a/blog/adminer-setup.html +++ b/guides/adminer-setup.html @@ -34,8 +34,8 @@

Pre-Requirements

To run adminer, you'll need a webserver with php set up. Thankfully I'm a great guy, and have written about these topics before.

Download the latest release

diff --git a/blog/backup-mysql-mariadb.html b/guides/backup-mysql-mariadb.html similarity index 100% rename from blog/backup-mysql-mariadb.html rename to guides/backup-mysql-mariadb.html diff --git a/blog/backup-with-cron.html b/guides/backup-with-cron.html similarity index 96% rename from blog/backup-with-cron.html rename to guides/backup-with-cron.html index 5c06530..1a62c69 100644 --- a/blog/backup-with-cron.html +++ b/guides/backup-with-cron.html @@ -37,7 +37,7 @@

You can just call rsync, etc. in cron, but I recommend making a backup script (or a few) for each specific type of backup you want to make.

Create the file where-ever you want to keep them, for the sake of this, it'll be a scripts directory in your home directory

vim ~/scripts/backup_script.sh
-

And add whatever your backup scripts wants to do. If you've no idea, check out my rsync, and rdiff articles first.

+

And add whatever your backup scripts wants to do. If you've no idea, check out my rsync, and rdiff articles first.

rdiff-backup $DIRECTORY_TO_BACKUP $DIRECTORY_TO_BACKUP_TO
 rdiff-backup --force --remove-older-than 2W $DIRECTORY_TO_BACKUP_TO

The above example will backup a directory, and remove any changes from 2 weeks ago.

diff --git a/blog/backup-with-rdiff.html b/guides/backup-with-rdiff.html similarity index 100% rename from blog/backup-with-rdiff.html rename to guides/backup-with-rdiff.html diff --git a/blog/backup-with-rsync.html b/guides/backup-with-rsync.html similarity index 98% rename from blog/backup-with-rsync.html rename to guides/backup-with-rsync.html index f84267e..33dc387 100644 --- a/blog/backup-with-rsync.html +++ b/guides/backup-with-rsync.html @@ -70,7 +70,7 @@

Downsides

-

Rsync only keeps one copy of the data, and doesn't keep the changes that were made, making it impossible* to restore a file's contents from the day previous. If this is what you're after, look at rdiff-backup.

+

Rsync only keeps one copy of the data, and doesn't keep the changes that were made, making it impossible* to restore a file's contents from the day previous. If this is what you're after, look at rdiff-backup.

* Not impossible, as you can set rsync to do this, but it requires a bit of scripting, and isn't as easy as just running the program

diff --git a/blog/certbot-ssl.html b/guides/certbot-ssl.html similarity index 100% rename from blog/certbot-ssl.html rename to guides/certbot-ssl.html diff --git a/blog/get-a-domain-name.html b/guides/get-a-domain-name.html similarity index 100% rename from blog/get-a-domain-name.html rename to guides/get-a-domain-name.html diff --git a/blog/guide-to-server-hosting.html b/guides/guide-to-server-hosting.html similarity index 63% rename from blog/guide-to-server-hosting.html rename to guides/guide-to-server-hosting.html index 3436da8..be29066 100644 --- a/blog/guide-to-server-hosting.html +++ b/guides/guide-to-server-hosting.html @@ -36,40 +36,40 @@

Basic Server setup

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

Nginx Webserver

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

MariaDB Database

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

Backup your server!

Backups are super useful. If something breaks, or gets accidentally deleted you can always use a backup to get it back

@@ -77,24 +77,24 @@

Run virtual machines

Virtual machines allow you to use your server as multiple servers at once, with different operating systems, services, files, etc. If you're self-hosting this is a great way to separate concerns, having one system for each distinct task.

Additional services/potential guides

Unless there is an anchor, these are all "TODO", and may just be omitted from this list

Useful tidbits

Additional Services

Where are the pictures?

diff --git a/recipes/index.html b/recipes/index.html new file mode 100644 index 0000000..37e1293 --- /dev/null +++ b/recipes/index.html @@ -0,0 +1,41 @@ + + + + + + + + + + + + Aney's Recipes + + + +
+

Aney's Recipes

+
+ +
+
+ +
+
+
+
+ + + + + diff --git a/sitemap.html b/sitemap.html index 8cc2779..1fa9059 100644 --- a/sitemap.html +++ b/sitemap.html @@ -49,6 +49,8 @@
  • I've started a blog
  • +
  • guides
  • +
  • recipes