SSH into Ubuntu-based instance
sudo apt-get update -y
sudo apt-get upgrade -y
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm i -g pm2
SSH into Ubuntu-based instance
sudo apt-get update -y
sudo apt-get upgrade -y
curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm i -g pm2
sudo apt update -y | |
sudo apt upgrade -y | |
sudo apt install vim wget jq -y | |
# set DNS | |
# sudo vim /etc/resolv.conf | |
# set static IP (requires reboot) | |
# sudo vim /etc/dhcpcd.conf | |
# if using Argon EON case |
sudo yum update -y | |
sudo yum upgrade -y | |
sudo yum-config-manager --enable epel | |
sudo yum install git vim -y | |
sudo yum install python3-pip -y | |
sudo yum install docker -y | |
sudo usermod -a -G docker ec2-user | |
id ec2-user | |
newgrp docker | |
pip3 install --user docker-compose |
node -e "const x=require(process.cwd()+'/package.json');console.log('npm i -D',Object.keys(x.devDependencies).join(' '));console.log('npm i -S',Object.keys(x.dependencies).join(' '));" |
'use strict'; | |
/** | |
* Web Mercator Math | |
* @class | |
* @description | |
* Web Mercator Math | |
* A class collection of mathematical equations for calculating Web Mercator tiles | |
* | |
* 0:0:0 |
Site
Nickname: [whatever]
Remote URL: http://ec2-[your-ip-address].compute-1.amazonaws.com
Local URL: optional
Remote Root: /home/ec2-user/
Local Root: /Volumes/Macintosh HD/Users/User/path/
Use Publishing: true
Automatically index all Site files: true
KEY
and CRT
from PFX
:
openssl pkcs12 -in [yourfile.pfx] -nocerts -out [keyfile-encrypted.key]
openssl pkcs12 -in [yourfile.pfx] -clcerts -nokeys -out [certificate.crt]
Encrypted KEY
to decrypted KEY
: openssl rsa -in [keyfile-encrypted.key] -out [keyfile-decrypted.key]
PEM from key: openssl rsa -in [keyfile-encrypted.key] -outform PEM -out [keyfile-encrypted-pem.key]