PHP Deployment with Dropbox
Deploying files over sFTP or scp is boring and takes a lot of time. Using git with commit-hooks to initiate the deployment process is comfortable, but there is a solution that's even faster: Deploy your server(s) with a Dropbox! Here we go, first create a new Dropbox account : Then install the Dropbox client on your Desktop (if you haven't done yet): Delete the example content in your local Dropbox folder: Next install the Dropbox client on your server. Dropbox packages for Linux can be found here . I'm using a 32bit version with my Ubuntu Server VM. Execute the following commands on the shell (as root): chown www-data:www-data /var/www su - www-data -c bash wget -qO - "https://www.dropbox.com/download?plat=lnx.x86" | tar xzf - # or: wget -qO - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf - .dropbox-dist/dropboxd > This client is not linked to any account... > Please visit https://www.dropbox.com/cli_link?host_id=d4b6c6b6bac2b ...