Coggle requires JavaScript to display documents.
sudo amazon-linux-extras install epel -y sudo yum install gcc jemalloc-devel openssl-devel tcl tcl-devel -y sudo wget http://download.redis.io/redis-stable.tar.gz sudo tar xvzf redis-stable.tar.gz
src/redis-cli -h cluster-endpoint -c -p port number
redis-cli -h name-of-promary-point....com -c -p 6379
const client = redis.createClient(6379, "xxxxxx.apne1.cache.amazonaws.com", {no_ready_check: true});
chmod 400 <key/pair name>.pem
ssh -i "<key/pair>.pem" ec2-user@xxxxxxxxxxxxx.compute.amazonaws.com
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
. ~/.nvm/nvm.sh
nvm install node
node -e "console.log('Running Node.js ' + process.version)"
sudo yum update -y
sudo yum install -y awslogs
[stylish_logs] datetime_format = %b %d %H:%M:%S file=/path/express.log buffer_duration = 5000 log_stream_name = {instance_id} initial_position = start_of_file log_group_name = stylish_logs
sudo systemctl start awslogsd
sudo systemctl stop awslogsd
sudo systemctl restart awslogsd
sudo systemctl enable awslogsd.service
cd /etc/nginx sudo vim nginx.conf
#ssl configuration www.xxx.com listen 443 ssl default_server; listen [::]443 ssl default_server; server_name xxx.com; ssl_certificate /path/certificate_merged.crt; ssl_certificate_key /path/private.key;
cat certificate.crt ca_bundle.crt > certificate_merged.crt