Tag: web applications
How To Setup Subdomains & LetsEncrypt On NGINX
How to Host Multiple Sites Using NGINX Using domain name: yourdomain.com yourdomain.com $ sudo letsencrypt certonly -a webroot –webroot-path=/var/www/yourdomain.com/html -d…
Enabling Nginx mod_rewrite
https://www.digitalocean.com/community/questions/enabling-nginx-mod_rewrite https://www.nginx.com/resources/wiki/start/topics/recipes/wordpress/ open the file below replacing ‘default’ if necessary with the sites server block: $ sudo nano /etc/nginx/sites-available/default Replace:…
How To Create A Vagrant Base Box
https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one https://www.vagrantup.com/docs/virtualbox/boxes.html This tutorial will create a base box using Ubuntu 16.04 1. First, initialize vagrant, ssh into the box…
How To Provision A LEMP Stack In Vagrant
snippets of code taken from: https://github.com/danielwrobert/vagrant-LEMP/blob/master/provision/setup.sh https://github.com/panique/vagrant-lamp-bootstrap This will install Ubuntu 16.04, NGINX, MariaDB, PHP7-FPM and Git 1. Initialize Vagrant…
How To Backup Nextcloud
https://docs.nextcloud.com/server/stable/admin_manual/maintenance/backup.html https://help.nextcloud.com/t/backup-nextcloud-with-seperate-data-folder-and-the-database/5841/2 good info on rsync: http://webgnuru.com/linux/rsync_incremental.php more info on mysql backups: https://www.liquidweb.com/kb/how-to-back-up-mysql-databases-from-the-command-line/ Restoring Nextcloud from backup: https://kenfavors.com/code/how-to-restore-a-nextcloud-backup/ To backup…
How To Use Nextcloud Sync To Update Website File Content
This will allow you to backup, sync and update local files that you want to be instantly available on a…