tech Setting Up Ghost on QNAP NAS I had previously been running my side project websites and projects on a Windows Home Server HP Microserver. It served e very well for years but was not having a bit of trouble keeping up with HD videos and was getting a bit noisy.
Using forever as a service in Windows UPDATE: This didn't work at all. When my server restarted it would end up spawning millions of node processes all trying to start up and killing my machine. Don't use this method. Have just set nssm to launch the node process directly. So I
Starting Node as a service with NSSM Ok don't try and use forever as a service with NSSM, NSSM is already looking for failures and restarting the application so this combined with forever doing the same thing ends up with you having millions of node processes and none of them working.
Upgrading your version of Nodejs on Windows 10 bash Upgrading is the same as installing you just curl the latest version and apt-get install. For example to upgrade to version 7 you would run: curl -sL https://deb.nodesource.com/setup_7.x | sudo -E bash - apt-get install -y nodejs For the
Equivalent bash commands coming from Windows Some Equivalents WindowsLinux dirls -l c:cd /c (your actual c drive cd /mnt/c) clsclear Useful commandsvi - View contents of a file, to exit :q! The vi command in Bash for Windows runs vim which is a crazy but powerful editor and
Keeping your windows bash up-to-date tl;dr sudo apt-get update && sudo apt-get dist-upgrade && sudo apt-get autoremove The above runs three commands apt-get update, apt-get dist-upgrade and apt-get autoremove apt-get update This updates the list of packages and versions for apt-get apt-get dist-upgrade This is what
Using the new Windows bash as your integrated terminal in Visual Studio Code (VSC) tl;dr Add this to your user or workspace settings: "terminal.integrated.shell.windows": "C:/Windows/sysnative/bash.exe", I really like VSC for javascript development. One of the great features is the integrated terminal. Now if you are still
Installing basic Node.js dev env on Windows 10 bash tl;dr here's a quick script to install git, node and npm. Run it at your own risk etc, explanation is below # Get root up in here sudo su # Update and begin installing some utility tools apt-get -y update #install git apt-get install git