If you are using a QNAP NAS at home and also managing a lot of WordPress sites, one of the best things you sick on it is a copy of InfiniteWP . If you don’t know what InfiniteWP does, you should check it out.
Anyway after you follow these easy steps.
- Enable Web Server on your NAS
- Get your download link from InfiniteWP
- Install as per instructions
You will get to the stage where you need to setup a CRON Job so InfiniteWP can notify you of any future updates to your managed sites core files or plugins. To setup a CRON on your NAS you must…
- Edit /etc/config/crontab and add your custom entry.
- Run ‘crontab /etc/config/crontab’ to load the changes.
Your InfiniteWP Admin will ask you to add a command
php -q -d safe_mode=Off /share/MD0_DATA/Web/iwp/cron.php >/dev/null 2>&1 Instead you will add /mnt/ext/opt/apache/bin/php -q -d safe_mode=Off /share/MD0_DATA/Web/iwp/cron.php >/dev/null 2>&1
- Restart cron, i.e. ‘/etc/init.d/crond.sh restart’
This is because on the QNAP install PHP is not in its typical path.. I am sure there are smarter ways to achieve this but that’s how I did it. With a small purchase of some addons for infiniteWP you can now start using your home NAS to not only “one-click” update all your WordPress powered sites but you can start taking sheduled backups remotely to your own server – and even replicate from there to a new host if the shit hits the fan.
Three great companies products right here in one post.. get on board. QNAP, WordPress and InfiniteWP!