How To Install Nodejs On Ubuntu 16.04

https://nodejs.org/en/download/package-manager/ The code below will install Nodejs 8 (LTS) $ sudo curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash – $ sudo apt-get install -y nodejs Alternatively, for Node.js 9: $ curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash – $ sudo apt-get install -y nodejs Optional: install build tools To compile and install native addons from […]

How To Install OpenProject On Ubuntu 16.04 With LEMP Stack

OpenProject is an open source project management solution that offers features such as issue tracking, document management, time and cost reporting, and code management. https://www.openproject.org/download-and-installation/ 1. The Easy Way These steps will install OpenProject on Ubuntu 16.04 with Nginx and MariaDB (or MySQL). Before getting started it is assumed that you have already installed a […]

Using Git To Deploy Code

https://mikeeverhart.net/2013/01/using-git-to-deploy-code/ Setting Up The Remote Server The following instructions apply to your remote (eg: Production/Staging) server(s). 1. Create a new directory for your git repository (preferably outside of your www directory – in our case /var/www/site.com/): $ sudo mkdir -p /var/www/site.com/git/project_name.git $ cd /var/www/site.com/git/project_name.git my example: $ sudo mkdir -p /var/www/site.com/staging.git $ cd /var/www/site.com/staging.git 2. […]

How To Restore A Nextcloud Backup

https://docs.nextcloud.com/server/stable/admin_manual/maintenance/restore.html Simply copy your configuration and data folder (or even your whole Nextcloud install and data folder) to your Nextcloud environment. You could use this command: 1. Copy the data directory: $ sudo rsync -Aax /media/ncbackup/nextcloud-data/ /var/www/data/ To copy the Nextcloud directory (this is optional, you can also just use a new downloaded version of […]

How To Install MongoDB On Ubuntu 16.04

https://www.digitalocean.com/community/tutorials/how-to-install-mongodb-on-ubuntu-16-04 1. Import they key for the official MongoDB repository $ sudo apt-key adv –keyserver hkp://keyserver.ubuntu.com:80 –recv EA312927 After successfully importing the key, you will see: gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1) 2. Issue the following command to create a list file for MongoDB $ echo “deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse” | […]