Install (based around this) after adding the official repo via these instructions apt-get install nginx apt-get install php5-fpm apt-get install fcgiwrap # for cgi cp /usr/share/doc/fcgiwrap/exam...
running occ commands run as www-data eg. sudo -u www-data php /usr/share/nginx/nextcloud/occ db:add-missing-indices
Similar to excel function; create function dbo.fn_networkdays ( @Startdate date , @Enddate date , @BankHol int = 0 ) RETURNS INT AS BEGIN declare @days int = 0 while @enddate >= @startd...
netflix sub-genre codes
shell script for checking quorum drives on multiple windows nodes #!/bin/bash # check_quorum.sh # # K Sotiroff 23 Oct 2014 # # checks quorum drives no matter what node they sit on. # usage () { ...
1. point an email address at your server. eg; nagios@yourserver.com 2. add a pipe to /etc/aliases; eg; nagios: "| /usr/local/nagios/libexec/eventhandlers/emailhandler.php" 3. run newaliase...
kill mysql create a file with the following lines in it; UPDATE mysql.user SET Password=PASSWORD('') WHERE User='root'; FLUSH PRIVILEGES; start mysql passing in init file; mysqld_...
If the master server is running innobackupex, then get the prepared backup directory (must be prepared) and copy it across to the slave. The do this; Stop the slave; service mysql stop Move the ...
A new version of content is available.