Merge pull request #1164 from einervonvielen/install_imagemagick
Install imagemagick. Instructions to avoid DNS check if it fails.
This commit is contained in:
commit
10ce6cc154
@ -39,7 +39,7 @@ Software
|
|||||||
- mkdir -p /var/www
|
- mkdir -p /var/www
|
||||||
- cd /var/www
|
- cd /var/www
|
||||||
- git clone https://github.com/redmatrix/hubzilla.git html
|
- git clone https://github.com/redmatrix/hubzilla.git html
|
||||||
- cd /html/.homeinstall
|
- cd html/.homeinstall
|
||||||
- cp hubzilla-config.txt.template hubzilla-config.txt
|
- cp hubzilla-config.txt.template hubzilla-config.txt
|
||||||
- nano hubzilla-config.txt
|
- nano hubzilla-config.txt
|
||||||
- Read the comments carefully
|
- Read the comments carefully
|
||||||
@ -50,6 +50,20 @@ Software
|
|||||||
- reboot
|
- reboot
|
||||||
+ Open your domain with a browser and step throught the initial configuration of hubzilla.
|
+ Open your domain with a browser and step throught the initial configuration of hubzilla.
|
||||||
|
|
||||||
|
## Troubleshooting
|
||||||
|
|
||||||
|
If the check of the mail address fails when you try to register the very first user in the browser. Do...
|
||||||
|
|
||||||
|
cd /var/www/html
|
||||||
|
util/config system.do_not_check_dns 1
|
||||||
|
|
||||||
|
## Optional - Set path to imagemagick
|
||||||
|
|
||||||
|
In Admin settings of hubzilla or via terminal
|
||||||
|
|
||||||
|
cd /var/www/html
|
||||||
|
util/config system.imagick_convert_path /usr/bin/convert
|
||||||
|
|
||||||
# Step-by-Step in Detail
|
# Step-by-Step in Detail
|
||||||
|
|
||||||
## Preparations Hardware
|
## Preparations Hardware
|
||||||
@ -120,7 +134,7 @@ There are two ways to get a domain...
|
|||||||
|
|
||||||
The cost are around 10,- € once and 1,50 € per month (2017).
|
The cost are around 10,- € once and 1,50 € per month (2017).
|
||||||
|
|
||||||
### Method 2 Register a (free) Subdomain
|
### Method 2: Register a free subdomain
|
||||||
|
|
||||||
...for example register at freedns.afraid.org
|
...for example register at freedns.afraid.org
|
||||||
|
|
||||||
@ -189,9 +203,16 @@ Leave db type "MySQL" untouched.
|
|||||||
|
|
||||||
Follow the instructions in the next pages.
|
Follow the instructions in the next pages.
|
||||||
|
|
||||||
|
Recommended: Set path to imagemagick
|
||||||
|
|
||||||
|
- in admin settings of hubzilla or
|
||||||
|
- via terminal
|
||||||
|
|
||||||
|
util/config system.imagick_convert_path /usr/bin/convert
|
||||||
|
|
||||||
After the daily script was executed at 05:30 (am)
|
After the daily script was executed at 05:30 (am)
|
||||||
|
|
||||||
- look at var/www/html/hubzilla-daily.log
|
- look at /var/www/html/hubzilla-daily.log
|
||||||
- check your backup on the external drive
|
- check your backup on the external drive
|
||||||
- optionally view the daily log under yourdomain.org/admin/logs/
|
- optionally view the daily log under yourdomain.org/admin/logs/
|
||||||
- set the logfile to var/www/html/hubzilla-daily.log
|
- set the logfile to var/www/html/hubzilla-daily.log
|
||||||
@ -213,4 +234,12 @@ to boot the Rapsi to the client console.
|
|||||||
|
|
||||||
DO NOT FORGET TO CHANGE THE DEFAULT PASSWORD FOR USER PI!
|
DO NOT FORGET TO CHANGE THE DEFAULT PASSWORD FOR USER PI!
|
||||||
|
|
||||||
|
On a Raspian Stretch (Debian 9) the validation of the mail address fails for the very first user.
|
||||||
|
This used to happen on some *bsd distros but there was some work to fix that a year ago (2017).
|
||||||
|
|
||||||
|
So if your system isn't registered in DNS or DNS isn't active do
|
||||||
|
|
||||||
|
cd /var/www/html
|
||||||
|
util/config system.do_not_check_dns 1
|
||||||
|
|
||||||
|
|
||||||
|
@ -136,6 +136,10 @@ function check_config {
|
|||||||
# backup is important and should be checked
|
# backup is important and should be checked
|
||||||
if [ -n "$backup_device_name" ]
|
if [ -n "$backup_device_name" ]
|
||||||
then
|
then
|
||||||
|
if [ ! -d "$backup_mount_point" ]
|
||||||
|
then
|
||||||
|
mkdir "$backup_mount_point"
|
||||||
|
fi
|
||||||
device_mounted=0
|
device_mounted=0
|
||||||
if fdisk -l | grep -i "$backup_device_name.*linux"
|
if fdisk -l | grep -i "$backup_device_name.*linux"
|
||||||
then
|
then
|
||||||
@ -143,10 +147,6 @@ function check_config {
|
|||||||
if [ -n "$backup_device_pass" ]
|
if [ -n "$backup_device_pass" ]
|
||||||
then
|
then
|
||||||
echo "$backup_device_pass" | cryptsetup luksOpen $backup_device_name cryptobackup
|
echo "$backup_device_pass" | cryptsetup luksOpen $backup_device_name cryptobackup
|
||||||
if [ ! -d /media/hubzilla_backup ]
|
|
||||||
then
|
|
||||||
mkdir /media/hubzilla_backup
|
|
||||||
fi
|
|
||||||
if mount /dev/mapper/cryptobackup /media/hubzilla_backup
|
if mount /dev/mapper/cryptobackup /media/hubzilla_backup
|
||||||
then
|
then
|
||||||
device_mounted=1
|
device_mounted=1
|
||||||
@ -246,6 +246,11 @@ function install_apache {
|
|||||||
nocheck_install "apache2 apache2-utils"
|
nocheck_install "apache2 apache2-utils"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function install_imagemagick {
|
||||||
|
print_info "installing imagemagick..."
|
||||||
|
nocheck_install "imagemagick"
|
||||||
|
}
|
||||||
|
|
||||||
function install_curl {
|
function install_curl {
|
||||||
print_info "installing curl..."
|
print_info "installing curl..."
|
||||||
nocheck_install "curl"
|
nocheck_install "curl"
|
||||||
@ -801,6 +806,7 @@ update_upgrade
|
|||||||
install_curl
|
install_curl
|
||||||
install_sendmail
|
install_sendmail
|
||||||
install_apache
|
install_apache
|
||||||
|
install_imagemagick
|
||||||
install_php
|
install_php
|
||||||
install_mysql
|
install_mysql
|
||||||
install_phpmyadmin
|
install_phpmyadmin
|
||||||
|
Reference in New Issue
Block a user