Do your usual install on wordpress, and get it up and running. If you are not sure what that is, download the zip, upload the contents to your website, then point your browser at it to finish the configuration. Once you have filled out your database information, and sorted themes etc you can then move […]
We have some users who own servers who dont want to fork out for automated systems like Plesk or Virtualmin, but don’t really want to deal with adding domains and email addresses all the time (and sometimes get lost) I decided today after one such user emailed us to add another 3 domains and bunch […]
I love Backups! This one is for a daily dump of the database, rolling over every 10 days Put the following into a file in /etc/cron.daily/postgres-backup #!/bin/bash DIR=/backup/pgsql FTPUSR=yourusername FTPPASS=yourftppass FTPHOST=yourftphost LIST=$(su – postgres -c "/usr/bin/psql -lt" |/usr/bin/awk ‘{ print $1}’ |/bin/grep -vE ‘^-|:|^List|^Name|template[0|1]’) DATE=$(/bin/date ‘+%Y%m%d’); TENDAY=$(/bin/date -d’10 days ago’ ‘+%Y%m%d’); /bin/mkdir -p $DIR/$DATE/ […]