Skip to content

Instantly share code, notes, and snippets.

View EliEladElrom's full-sized avatar
😃

Eli Elad Elrom EliEladElrom

😃
View GitHub Profile
@EliEladElrom
EliEladElrom / Adobe Media Server and firewalls.md
Last active December 16, 2015 08:29
Adobe Media Server (AMS / FMS) and firewalls

Adobe Media Server (AMS / FMS) and firewalls

This documents is my personal notes on how to get issue resolved with Adobe Media Server (AMS) and firewalls. This document is going to be a work in progress.

Sometimes AMS is not working under firewalls. By default AMS is configured to use port 1935, however in cases where that port is closed server will be using port 80. These ports can be configured. It seems that in cases where you use software that uses port 80 and port 1935 is closed than AMS will fail silently. Below is my notes and ways to diagnose and solve issues with firewalls and ports. I figured I'll port it under gist - I am sure it will be useful to someone one day.

FMS server can be set easily by configuring EC2 instance of 5.0.1 or any other version you pick. The Amazon FMS server will create the AMS root home here: mnt/webroot

1st SSH the AMS server:

@EliEladElrom
EliEladElrom / gist:5407213
Last active December 16, 2015 08:39
Node.js common useful commands
@EliEladElrom
EliEladElrom / Install nodejs on EC2 Ubuntu Ubuntu Server 18.04 20.04 LTS.md
Last active April 2, 2023 13:58
Install nodejs on EC2 - Ubuntu Server 18.04 / 20.04 LTS

nodejs on EC2 Ubuntu Server 18.04 22.04 LTS

SSH instance

In a nutshell:

sudo apt-get update

sudo apt-get -y upgrade

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@EliEladElrom
EliEladElrom / Jenkins Github Ubunto installation.md
Last active December 17, 2015 02:28
Jenkins Ubunto installation & setting up github instructions

Setup on Ubunto 12.10 ami

SSH server

ssh -i dev.pem ubuntu@[IP ADDRESS]

sudo apt-get update

sudo apt-get -y upgrade

@EliEladElrom
EliEladElrom / NPM Bower quick reference.md
Last active December 17, 2015 06:09
NPM / Bower quick reference

NPM

Quick reference to publish to NPM:

vim package.json

{ "name": "roomsjs", "version": "0.0.21",

@EliEladElrom
EliEladElrom / update-mysql-database.md
Last active December 17, 2015 22:29
update-mysql-database.md

Login to server with database

SSH server you're copying from than:

scp -i ~/.ssh/id_dsa.pub /[file].sql [user]@[server]:/[folder]

Login to dest server

Login to server you're copying from, than drop database and update

@EliEladElrom
EliEladElrom / s3fs quick reference.md
Created May 31, 2013 15:38
s3fs quick reference
@EliEladElrom
EliEladElrom / gist:7ac48008f5272632c6fc
Last active August 29, 2015 14:08
Express, Node SSL certificate code snippets