Updating aicache to latest versionAWS cloudYour AMI includes scipts providing automatic update / rollback of your aicache server binary files. To update your aiCache, first stop aicache (use killall or pkill) and then run: cd /usr/local/aicache
./update.sh
If there is newer version of aiCache server available it will automatically download it and replace binary files in folder stated above. If there is no newer version of aiCache than currently installed - script will inform about it and exit. After update process finished, start aiCache back. To rollback recent update use rollback script, after stopping aiCache server: cd /usr/local/aicache
./rollback.sh
Then start aiCache server. Dedicated serverDownload & untar latest aiCache tarball: cd /usr/src
wget http://aicache.com/aicache.tar
tar xf aicache.tar
Stop aiCache server and then copy binaries to destination folder: cd aicache
cp aicache /usr/local/aicache
cp aicache_https /usr/local/aicache
Start your aiCache server. Note: AWS version of aiCache holds only single binary file aicache (which includes HTTPS features), while tarball includes two separate binaries aicache and aicache_https
|