$ npm list -g --depth 0
~/.nvm/versions/node/v16.13.2/lib
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
# Make an LZ4 archive | |
lz4make () { | |
tar -c - "${1}" | lz4 - "${1}.tar.lz4" | |
} | |
# Extract an LZ4 archive | |
lz4extract () { | |
pv "${1}" | lz4 -dc - | tar -x | |
} |
The v1.0.0.0-g
application uses Berkley DB 6.2.38
but there is no version of this to download off Oracle so I had to
compile using 6.2.32
. You can see my build of this version by viewing this gist
With the current main
branch cloned I have attempted to build the app with the following:
#!/usr/bin/env bash | |
# | |
# Certbot Nginx Reload | |
# | |
# Let's Encrypt Certbot post hook command for Nginx which checks the updated | |
# configuration files and reloads the server if everything validates. | |
# | |
# Author : Justin Hartman <[email protected]> | |
# Version : 1.0.1 | |
# License : MIT <https://opensource.org/licenses/MIT> |
This series of documents will configure and setup a Nginx, MySQL, and PHP (LEMP) server on a pretty feature-rich VM running Debian. I used a VM with 8GB RAM and 4 CPU Cores so YMML with some of the settings below.
This will also install other useful packages and configurations like, Redis, Memcached, Node, NPM, Composer, and a fully automated SSL service using certbot for Let's Encrypt.
# Bash | |
alias ls='ls --color=always' | |
alias ll='ls -lh --color=always' | |
alias la='ls -lha --color=always' | |
alias ..='cd ..' | |
alias ...='cd ...' | |
alias ....='cd ....' | |
# Apt | |
alias apt-update='sudo apt update' | |
alias apt-upgrade='sudo apt update && sudo apt upgrade' |
This series of documents will configure and setup a Nginx, MySQL, and
PHP (LEMP) server on a basic Standard B1s (1 vcpus, 1 GiB memory)
Ubuntu
16.04 or 18.04 LTS Virtual Machine on Microsoft Azure.
This will also install other useful packages and configurations for SFTP and a fully automated SSL service using certbot for Let's Encrypt.
The B1s
is Azure's entry level Linux VM and only comes with 1 GiB memory so
This is a massive bug that happens almost every time I install a new server. It's because I use a non-standard US locale so I always get conflicts. This fixes this issue.
The warning message during the installation of Perl applications will appear as follows:
justin:~$ sudo apt install something