# Digitalcarnage **digitalcarnage.co.uk** a [self-hosted](https://en.wikipedia.org/wiki/Self-hosting_(web_services) "https://en.wikipedia.org/wiki/Self-hosting_(web_services)"), homelab server based in the [United Kingdom.](https://en.wikipedia.org/wiki/United_Kingdom "https://en.wikipedia.org/wiki/United_Kingdom") # Start Here [![ynhSetup.jpg](https://digitalcarnage.co.uk/wiki/uploads/images/gallery/2024-11/scaled-1680-/rzBEOQ2q5raI5JfY-ynhsetup.jpg)](https://digitalcarnage.co.uk/wiki/uploads/images/gallery/2024-11/rzBEOQ2q5raI5JfY-ynhsetup.jpg "Current physical setup")The server software used is the freely available [Yunohost](https://yunohost.org "https://yunohost.org") server software, which uses Debian Linux. Several applications, some public and some private, are hosted on this server. See [this page](https://digitalcarnage.co.uk/wiki/books/digitalcarnage/page/server-applications "Server Applications") for the full list of applications currently installed. The hardware is a Dell small form factor ([SFF](https://en.wikipedia.org/wiki/Small_form_factor_(desktop_and_motherboard) "https://en.wikipedia.org/wiki/Small_form_factor_(desktop_and_motherboard)")) [7020 desktop PC](https://www.amazon.co.uk/Dell-OptiPlex-Desktop-Computer-Windows/dp/B09GPLGG7K "https://www.amazon.co.uk/Dell-OptiPlex-Desktop-Computer-Windows/dp/B09GPLGG7K") with an i7 4770 processor, 16 gigs of RAM and a 2TB hard drive. (An old-fashioned spinner!). There is a nightly mail and data [backup](https://digitalcarnage.co.uk/wiki/books/digitalcarnage/page/backups-and-howto "Backups and howto") and a full backup at the weekend. The backup is a simple cronjob that performs a backup to an external 1 gig solid-state drive. A second 1 gig drive is used as a second backup using [Restic](https://restic.net "https://restic.net"). There are several domains hosted on the server that are registered through [iWantmyname](http://iwantmyname.com "http://iwantmyname.com"). See the full list of domains here in [this](https://digitalcarnage.co.uk/wiki/books/digitalcarnage/page/domains-hosted "Domains Hosted") chapter. For details about installing yunohost and creating your own self-hosted server, you can just jump straight in [here](https://yunohost.org/en/install "https://yunohost.org/en/install") to get started. **Digitalcarnage Base System**
**OS** **Kernel** **Linux Name** **Yunohost Version**
Debian 12.10 6.1.0-32-amd64Bookworm12.0.16 (stable)
--- Digitalcarnage current server status can be [found here](https://monitors.pikapod.net/status/health "https://monitors.pikapod.net/status/health"). Server status uses the [Uptime Kuma](https://uptime.kuma.pet/ "https://uptime.kuma.pet/") monitoring tool hosted by [PikaPod](https://www.pikapods.com/ "https://www.pikapods.com/"). It’s always best to have your monitoring service not on your own server! The full setup includes a [Raspberry Pi 4](https://www.raspberrypi.com/products/raspberry-pi-4-model-b/), which is used for "*local*" external access by admins, and selected users only use [WireGuard](https://www.wireguard.com/) as a VPN to allow “local” access to the Yunohost server. [Real VNC Server](https://www.realvnc.com/en/connect/download/vnc/raspberrypi/) is also installed on the pi. [![Screenshot 2024-12-10 at 6.03.33 pm.png](https://digitalcarnage.co.uk/wiki/uploads/images/gallery/2024-12/scaled-1680-/QSEgyNuc9n5apelG-screenshot-2024-12-10-at-6-03-33-pm.png)](https://digitalcarnage.co.uk/wiki/uploads/images/gallery/2024-12/QSEgyNuc9n5apelG-screenshot-2024-12-10-at-6-03-33-pm.png) --- # Server Applications There are several user applications for use on this server, the public can use some of them, but for the most part, they are for private use. However, an account can be created on those apps by asking the admin to create one for you. **SELF-REGISTRATION IS DISABLED** on most apps for obvious reasons!
**Application Name** **Type of Application** **Link to Author** **Link on this server** **Notes**
**Bludit** Flat File CMS [Bludit](https://www.bludit.com/) **[Bludit](https://derekjones.net)**
**Bookstack** Document Wiki [Bookstack](https://www.bookstackapp.com/)[**Bookstack**](https://digitalcarnage.co.uk "Bookstack")This servers wiki
**FreshRSS** RSS news gatherer [FreshRSS](https://freshrss.org/index.html) [**FreshRSS**](https://digitalcarnage.co.uk/news/i/)
**Immich** Phone photo backup [Immich](https://immich.app/) [**Immich**](https://myownhost.co.uk/auth/login)
**InvoiceNinja** Invoicing[InvoiceNinja](https://invoiceninja.com/) [**InvoiceNinja**](https://accounts.derekjoneslighting.com/)
**Jellyfin** Media server [Jellyfin](https://jellyfin.org/) [**Jellyfin**](https://digitalcarnage.co.uk/media/web/index.html#!/home.html)
**LinkStack** Contact sharing [LinkStack](https://linkstack.org/) [**LinkStack**](https://links.digitalcarnage.co.uk/) Registration permitted
**My WebApp** Non YNH app installer [My WebApp](https://github.com/YunoHost-Apps/my_webapp_ynh) [**My WebApp**](https://derekjoneslighting.com/bio/) Used for DJ bio
**Navidrome** Another music server[Navidrome](https://www.navidrome.org/) [**Navidrome**](https://derekjones.net/music/app/#/login)
**Nextcloud** Collaboration platform[Nextcloud](https://nextcloud.com/) **Nextcloud** [Multiple instances installed](https://digitalcarnage.co.uk/wiki/books/digitalcarnage/page/multipule-instance-applications "Multipule Instance Applications")
**Piwigo** Photo management[Piwigo](https://piwigo.org/) [**Piwigo**](https://derekjones.net/photos/)
**PhpMyAdmin**MySQL Admin[phpMyAdmin](https://www.phpmyadmin.net)[**PhpAdmin**](https://digitalcarnage.co.uk/phpadmin/)Admin access only
**Roundcube** Web-based email [Roundcube](https://roundcube.net/) [**Roundcube**](https://digitalcarnage.co.uk/mail/)
**Shaarli** Bookmark manager [Shaarli](https://github.com/shaarli/Shaarli) [**Shaarli**](https://derekjones.net/bookmarks/login)
**Vaultwarden** Password Manager [Vaultwarden](https://www.vaultwarden.net/)**[Vaultwarden](https://digitalcarnage.co.uk/passwords/#/login)**
**Webmin** Server administration [Webmin](https://webmin.com/) **[Webmin](https://admin.digitalcarnage.co.uk)** Admin access only
**WordPress**Blog/Website publishing [WordPress](https://wordpress.com/)**WordPress**[Multiple instances installed](https://digitalcarnage.co.uk/wiki/books/digitalcarnage/page/multipule-instance-applications "Multipule Instance Applications")
**YOURLS** URL shortener[YOURLS](https://yourls.org/) [**YOURLS**](https://dejay.uk/shorty/) For public use
# Multipule Instance Applications [Nextcloud](https://nextcloud.com/) and [WordPress](https://wordpress.com/) have multiple instances installed on this server. **NEXTCLOUD** - **[Derek Jones](https://derekjones.net/cloud/login)** This is the personal Nextcloud instance for Derek Jones. - [**Derek Jones Lighting**](https://derekjoneslighting.com/cloud/login) This Nextcloud instance is for Derek Jones Lighting Design. It has a public viewable calendar. - [**Digitalcarnage**](https://digitalcarnage.co.uk/nextcloud/login) A Nextcloud instance for digitalcarnage. None of the above instances allow public registration however, if you are a user on this [Yunohost](https://yunohost.org) server then you will have your Nextcloud instance available to you for your private use. --- **WORDPRESS** - [**Derek Jones Lighting Design**](https://derekjoneslighting.com) Derek Jones Lighting Design Website. There is also a live [availability](https://derekjoneslighting.com/cloud/apps/calendar/p/W3eALaxcWZTen778/dayGridMonth/now) calendar provided by Nextcloud - [**Natalie Sevan**](https://nataliesevan.com) Personal website. - [**Old Vantours**](https://dejay.uk/oldvantours) Vabtours website recovered from a broken QNAP device. - [**Vantours**](https://vantours.co.uk) Vamtours website. - [**Voice Artistry**](https://voiceartistry.co.uk) Personal website. # Domains Hosted There are several domains hosted on this server all of which are registered through [iwantmyname](https://iwantmyname.com). There is one domain that is registered with [dynDNS](https://account.dyn.com/) courtesy of [yunohost](https://yunohost.org). When you install a yunohost server you receive one free domain. Click [here](https://yunohost.org/oc/domains) for more details about installing your free domain once you have installed a yunohost server. **DOMAINS (and sub-domains) HOSTED ON THIS SERVER** **Domains** - [digitalcarnage.co.uk](https://digitalcarnage.co.uk) - [derekjones.net](https://derekjones.net) - [derekjoneslighting.com](https://derekjoneslighting.com) - [vantours.co.uk](https://vantours.co.uk) - [voiceartistry.co.uk](https://voiceartistry.co.uk) - [dejay.uk](https://digitalcarnage.co.uk/yunohost/sso/?r=aHR0cHM6Ly9kZWpheS51ay8=) - [nataliesevan.com](https://nataliesevan.com) - [myownhost.co.uk](https://myownhost.co.uk) **Sub-domains** - [links.digitalcarnage.co.uk](https://links.digitalcarnage.co.uk/) - [accounts.derekjoneslighting.com](https://accounts.derekjoneslighting.com) **Yunohost/dynDNS domain** - [casper.nohost.me](http://casper.nohost.me) **Local Domains** - testing.local # Backups and howto This yunohost server is backed up onto two separate USB drives both of which are *on-premise*. Several attempts have been made to perform an *off-premise* backup using both [Borg](https://www.borgbackup.org/) and [Restic](https://restic.net/), but found to be more difficult than it’s worth! **Drive 1 (Drive label: YNHRECOVERY)** This backup uses the built-in Yunohost backup and recovery service. A simple cronjob is used detailing the time and what is to be backed up. **FULL BACK UP** - **Time**: Midnight every Wednesday and Sunday - **What**: EVERYTHING. This is a full backup. Everything is checked off in the Yunohost back service. **OTHER** - **Time:** 4 AM EVERY day. - **What**: User home folders and emails **Drive 2 (Drive label: DATARECOVERY)** This drive uses the Restic backup/recovery application, which is a third-party application. Again, a cronjob is used to detail the times and what items are to be backed up. - Time: 3 AM EVERY day - What: The following folders are incrementally backed up: - */etc* - */home* - */var/www* - */opt* - */var/lib/mysql* - */usr/share/yunohost* The difference between the two backups is that the Restic backup is incremental and the last three backups are kept. The Yunohost backup is **not** incremental; therefore, some administration must be done to prune the drive as it becomes full. **HOW TO USE THE RESTIC BACKUP SERVICE (BASICS)** Restic is a backup service that can be installed from the CLI or through the Yunohost application catalogue. On this server, it has been installed using the CLI. ***Where is the Restic app located?*** Type: ***which restic ***will show you where the app is located on your drive. ***Where is my Restic repository Located?*** The Restic repository can be found at *media/datarecovery/restic.* This is a symbolic link from the Restic directory on the main drive. The physical drive is a USB spinner labelled “**datarecovery**”. ***What is the latest installed Restic version?*** Type: ***restic version*** This will tell you the current version, which right now is *restic **0.17.3*** **Can I update Restic?** Type**: *restic self-update.* **If there is an update available it will be downloaded and installed. **Has the backup happened?** Type:*** r***estic check*** -r /media/datarecovery/restic*** **How do I change the backup schedule?***** ***Type:*** crontab -u root -e ***Nano will open and you can edit the time and contents of your backup. **Can I see the snapshots?** Type: ***restic -r /media/datarecovery/restic snapshots*** **Can I see the contents of the snapshots?** Type: ***restic ls (snapshotID here) --repo /media/datarecovery/restic*** **Can I mount the snapshot?** Type: ***restic -r /media/datarecovery/restic mount /mnt/restic*** **NOTE: For most of the above commands you will require the restic password that you set up when you created your repository etc.**