Skip to content

Instantly share code, notes, and snippets.

@franksmule
franksmule / permissions.sh
Created April 12, 2014 15:57
Prestashop Permissions Script
chmod 755 -R config
chmod 755 -R tools/smarty/compile
chmod 755 -R tools/smarty/cache
chmod 755 -R tools/smarty_v2/compile
chmod 755 -R tools/smarty_v2/cache
chmod 755 -R sitemap.xml
chmod 755 -R log
chmod 755 -R img
chmod 755 -R mails
chmod 755 -R modules
@slackero
slackero / UbuntuPleskVhosts
Last active June 28, 2017 22:16
Ubuntu 14.04 with Plesk 12: move /var/www/vhosts to another location
Use "sudo command" or as root user:
===================================
In this example /var/www/vhosts is moved to /data/www/vhosts on another partition. Change all steps as your needed for your location.
1) Stop services
~# /etc/init.d/psa stopall
OR
~# /etc/rc.d/init.d/psa stopall
@superbob
superbob / ddns_provider.conf
Last active January 27, 2024 00:57
Namecheap Synology DSM DDNS provider
#Insert this at the end of /etc.defaults/ddns_provider.conf
[Namecheap]
modulepath=/usr/syno/bin/ddns/namecheap.php
queryurl=https://dynamicdns.park-your-domain.com/update