QNAP
From Indie IT Wiki
Time Machine for Apple
Amazon S3 App QNAP Forum
https://forum.qnap.com/viewforum.php?f=327
Firmware Changelog
Firmware Download
HOWTO: Mount Encrypted Volume
https://www.linux-howto.info/mount-qnap-encrypted-volume/
HOWTO: List Installed Applications
Admin > App Center > Search 'optware' > Install OptwareIPKG
ipkg update ipkg list
Thanks - http://wiki.qnap.com/wiki/Using_IPKG
HOWTO: Install Nano Editor
ipkg install nano
HOWTO: Make Nano Editor Default
nano ~/.bashrc export EDITOR='/opt/bin/nano' export VISUAL='/opt/bin/nano' source ~/.bashrc
HOWTO: Change Default Crontab Editor
export VISUAL='/usr/bin/nano' nano /root/.bashrc export EDITOR='/opt/bin/nano' export VISUAL='/opt/bin/nano' source /root/.bashrc crontab -e
HOWTO: Edit Crontab Entries
nano /etc/config/crontab crontab /etc/config/crontab /etc/init.d/crond.sh restart
Thanks - http://wiki.qnap.com/wiki/Add_items_to_crontab
/mnt/HDA_ROOT/.config/crontab
HOWTO: Create Persistant Scripts That Survive System Reboot
The QNAP wipes most system folders on a reboot, so custom scripts have to be put in a persistant state folder, such as /opt...
cd /opt/bin/ mkdir root touch script.sh chmod +x script.sh nano script.sh
HOWTO: Install Amazon S3 Command Line Utility
https://github.com/s3tools/s3cmd/blob/master/INSTALL
ssh admin@ipofqnap cd /tmp/ wget -O s3cmd-1.5.2.tar.gz "http://downloads.sourceforge.net/project/s3tools/s3cmd/1.5.2/s3cmd-1.5.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fs3tools%2Ffiles%2Fs3cmd%2F1.5.2%2F&ts=1425895902&use_mirror=switch" tar zxvf s3cmd-1.5.2.tar.gz cd s3cmd-1.5.2/ python setup.py install /share/CACHEDEV1_DATA/.qpkg/Python/bin/s3cmd --version /share/CACHEDEV1_DATA/.qpkg/Python/bin/s3cmd --configure (use Default Region: EU) /share/CACHEDEV1_DATA/.qpkg/Python/bin/s3cmd ls /share/CACHEDEV1_DATA/.qpkg/Python/bin/s3cmd ls s3://bucketname/ echo "test" >/tmp/test /share/CACHEDEV1_DATA/.qpkg/Python/bin/s3cmd sync --dry-run /tmp/test s3://bucketname/
Thanks - http://stackoverflow.com/questions/26443769/setup-amazon-s3-backup-on-qnap-using-s3cmd
Thanks - http://s3tools.org/s3cmd-sync
How to reconnect at starup MacOS
http://osxdaily.com/2012/05/04/automatically-connect-to-network-drive-mac-os-x/