Skip to main content
8
results
Andrew Fletcher
An approach to generating a backup server is using a shell script.  A script can define directories to backup, and pass those directories as arguments to the tar utility, which creates an archive file. The archive file can then be moved or copied to another location.   Example Shell Script #!/bin/bash # # Backup script # # NAME: daily-backup.sh # PATH: /mnt/e/bin # DESC: Backup scripts, documents and configuration files to .tar # # What to backup # backup_files="/home...
Andrew Fletcher
Working on a decoupled React / Drupal 9 site. Aim: Adjust the output of curated...
Andrew Fletcher
How to make React calls on a Drupal 9 backend site using the search...
Andrew Fletcher
This code is from Drupal 9 back-end for a React front-end via REST API. Working...
Andrew Fletcher
I had been running a few Centos 6 servers just past their EOL (30th November...
Andrew Fletcher
I need to set the default php-version of a subscription to php7.3.  The current server php version is PHP 7.1.33 (cli) (built: Oct 25 2019 11:33:58) ( NTS ). Using a shell program (I used Terminal) from the home directory I ran: export PATH=/opt/plesk/php/7.3/bin:$PATH; centos 6 use service httpd restartcentos 7 use sudo systemctl restart httpd.serviceHowever, through shell when I ran php -v the version remained at 7.1.33. Incase the restart wasn't enough I rebooted the server...
Andrew Fletcher
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI...
Andrew Fletcher
To add ejabberd and run MYSQL to the server I needed to update the server...