diff options
author | Einer von Vielen <tomwie@users.sourceforge.net> | 2018-01-03 17:02:03 +0100 |
---|---|---|
committer | Einer von Vielen <tomwie@users.sourceforge.net> | 2018-01-03 17:02:03 +0100 |
commit | f7ad5bbaad3053196f4e4254c2e6bf9c01ebadea (patch) | |
tree | 698bc5d1986a5983ebffd73a6b0f7cd2ae832227 | |
parent | 2a8c4bfbaee459c1adf57b1cd3bc52289888378f (diff) | |
download | volse-hubzilla-f7ad5bbaad3053196f4e4254c2e6bf9c01ebadea.tar.gz volse-hubzilla-f7ad5bbaad3053196f4e4254c2e6bf9c01ebadea.tar.bz2 volse-hubzilla-f7ad5bbaad3053196f4e4254c2e6bf9c01ebadea.zip |
Changed some install instruction for homeinstall
-rw-r--r-- | .homeinstall/README.md | 39 |
1 files changed, 25 insertions, 14 deletions
diff --git a/.homeinstall/README.md b/.homeinstall/README.md index 96ce3b6d4..6500cab6d 100644 --- a/.homeinstall/README.md +++ b/.homeinstall/README.md @@ -28,8 +28,8 @@ Hardware Software -+ Fresh installation of Debian 9 (Stretch) on your mini-pc -+ Router with open ports 80 and 443 for your Debian ++ Fresh installation of Debian 9 (Stretch) ++ Router with open ports 80 and 443 for your Hub ## The basic steps (quick overview) @@ -39,10 +39,12 @@ Software - mkdir -p /var/www - cd /var/www - git clone https://github.com/redmatrix/hubzilla.git html - - cp .homeinstall/hubzilla-config.txt.template .homeinstall/hubzilla-config.txt - - nano .homeinstall/hubzilla-config.txt + - cd /html/.homeinstall + - cp hubzilla-config.txt.template hubzilla-config.txt + - nano hubzilla-config.txt - Read the comments carefully - Enter your values: db pass, domain, values for dyn DNS + - Make sure your your external drive (for backups) is mounted - hubzilla-setup.sh as root - ... wait, wait, wait until the script is finised - reboot @@ -56,16 +58,19 @@ Software ### Recommended: USB Drive for Backups -The installation will create a daily backup. - -If the backup process does not find an external device than the backup goes to -the internal disk. +The installation will create a daily backup written to an external drive. The USB drive must be compatible with the filesystems - ext4 (if you do not want to encrypt the USB) - LUKS + ext4 (if you want to encrypt the USB) +The backup includes + +- Hubzilla DB +- Hubzilla installation /var/www/html +- Certificates for letsencrypt + ## Preparations Software ### Install Debian Linux on the Mini-PC @@ -107,12 +112,9 @@ You can use subdomains as well my.cooldomain.org -There are two way to get a domain - -- buy a domain, or -- register a free subdomain +There are two way to get a domain... -### Method 1: Buy an own Domain +### Method 1: Buy a Domain ...for example buy at selfHOST.de @@ -120,7 +122,7 @@ The cost are around 10,- € once and 1,50 € per month (2017). ### Method 2 Register a (free) Subdomain -...for example register at freeDNS +...for example register at freedns.afraid.org Follow the instructions in .homeinstall/hubzilla-config.txt. @@ -162,6 +164,8 @@ Change the file "hubzilla-config.txt". Read the instructions there carefully and nano hubzilla-config.txt +Make sure your external drive (for backups) is plugged in and can be mounted as configured in "hubzilla-config.txt". Otherwise the daily backups will not work. + Run the script ./hubzilla-setup.sh @@ -185,6 +189,13 @@ Leave db type "MySQL" untouched. Follow the instructions in the next pages. +After the daily script was executed at 05:30 (am) + +- look at var/www/html/hubzilla-daily.log +- check your backup on the external drive +- optionally view the daily log under yourdomain.org/admin/logs/ + - set the logfile to var/www/html/hubzilla-daily.log + ## Note for the Rasperry The script was tested with an Raspberry 3 under Raspian (Debian 9.3, 2017-11-29-raspbian-stretch.img). |