From d2162b2f5716ca7f6b538d335ce80381c3d1d053 Mon Sep 17 00:00:00 2001 From: John R Hampton Date: Mon, 23 May 2022 13:54:22 -0500 Subject: [PATCH] Initial commit of Base project Invidual Dev Env Documentation --- Configs/Ubuntu Instance.txt | 8 ++++ Configs/Win Server 2012 R2.txt | 11 +++++ Documents/AWS Setup.txt | 8 ++++ Documents/AWS_Ubuntu SSH.txt | 19 ++++++++ Documents/AWS_WinServer2012.txt | 76 ++++++++++++++++++++++++++++++++ Documents/Azure Setup.txt | 5 +++ Documents/Local Coding Setup.txt | 57 ++++++++++++++++++++++++ Documents/Opensearch Setup.txt | 0 Documents/Ubuntu Linux.txt | 52 ++++++++++++++++++++++ 9 files changed, 236 insertions(+) create mode 100644 Configs/Ubuntu Instance.txt create mode 100644 Configs/Win Server 2012 R2.txt create mode 100644 Documents/AWS Setup.txt create mode 100644 Documents/AWS_Ubuntu SSH.txt create mode 100644 Documents/AWS_WinServer2012.txt create mode 100644 Documents/Azure Setup.txt create mode 100644 Documents/Local Coding Setup.txt create mode 100644 Documents/Opensearch Setup.txt create mode 100644 Documents/Ubuntu Linux.txt diff --git a/Configs/Ubuntu Instance.txt b/Configs/Ubuntu Instance.txt new file mode 100644 index 0000000..f37a92b --- /dev/null +++ b/Configs/Ubuntu Instance.txt @@ -0,0 +1,8 @@ +Name = "MyUbuntu" +OS = Ubuntu 22.04 LTS +InstanceType = "t2.micro" +Create NewKeyPair "AWS_Ubuntu.pem" +No Network Changes +Storage = "30 GiB" + +Launch Instances \ No newline at end of file diff --git a/Configs/Win Server 2012 R2.txt b/Configs/Win Server 2012 R2.txt new file mode 100644 index 0000000..11a60b3 --- /dev/null +++ b/Configs/Win Server 2012 R2.txt @@ -0,0 +1,11 @@ +Name = "MyWinServer" +OS = "Microsoft Windows Server 2012 R2 Base" +Instance Type = "t2.micro" + +Create NewKeyPair "AWS-WinServer2012.pem" + +Default Network Settings + +Storage = 30 GiB + +Launch Instance diff --git a/Documents/AWS Setup.txt b/Documents/AWS Setup.txt new file mode 100644 index 0000000..0ba5191 --- /dev/null +++ b/Documents/AWS Setup.txt @@ -0,0 +1,8 @@ +https://aws.amazon.com/ + +Setup root email account. +Confirm email +AWS Free Tier still needs Credit Card Entered +Confirm with SMS +Login to AWS + diff --git a/Documents/AWS_Ubuntu SSH.txt b/Documents/AWS_Ubuntu SSH.txt new file mode 100644 index 0000000..2a01a70 --- /dev/null +++ b/Documents/AWS_Ubuntu SSH.txt @@ -0,0 +1,19 @@ +# https://docs.microsoft.com/en-us/windows/wsl/install +wsl --install + +# Windows Store Install +# Install "Windows Terminal" + + + +#In "Ubuntu" Windows Terminal... +# Copy .pem files to ~/.ssh +# Change permissions on AWS created .pem files + +chmod 400 ~/.ssh/AWS_Ubuntu.pem +chmod 400 ~/.ssh/AWS-WinServer2012.pem + +# SSH command format +# ssh -i "[path to AWS_Ubuntu.pem]" ubuntu@[path to AWS public running instance DNS] + +ssh -i "~/.ssh/AWS_Ubuntu.pem" ubuntu@ec2-18-116-10-93.us-east-2.compute.amazonaws.com \ No newline at end of file diff --git a/Documents/AWS_WinServer2012.txt b/Documents/AWS_WinServer2012.txt new file mode 100644 index 0000000..7128e4f --- /dev/null +++ b/Documents/AWS_WinServer2012.txt @@ -0,0 +1,76 @@ +# For running WinServer Instance... +# Go to Connect. +# RDP client +# Decrypt password from AWS-WinServer.pem file +# Download Remote Desktop (RDP) file shortcut +# +# Log-In to WinServer2012 R2 Server via RDP + +# Change PC Hostname (ie. MyWin2012R2) +# Change Windows MyWin2012R2 Administrator Password + +# https://ninite.com/ Good source for quick installs on common apps + +# Get Ninite installer for... +# Chrome +# 7-Zip +# Zoom +# KeePass 2 +# VLC +# Java (AdoptOpenJDK) x64 Most current (11.0.15) +# .NET Desktop Runtime x64 6 +# Notepad++ +# WinSCP +# PuTTY +# Visual Studio Code +# Greenshot +# CutePDF +# TeamViewer 15 + +# Latest found \Files\Recommended Ninite.exe + +# To enable Microsoft Store... +# https://www.solvps.com/blog/?p=628 +# Enable feature "User Interfaces and Infrastructure/Desktop Experience" + + +# Install from Microsoft Store... +# Remote Terminal (SSH) +# Python + +# Install common pip modules for Python + pip install python-dotenv + pip install requests + +# Install Git for Windows +# https://gitforwindows.org/ + +# Recommeded VS Code Extensions +# +# Azure CLI Tools +# Bracket Pair Colorizer 2 +# #region folding for VS Code +# BASH Extension Pack +# Bash IDE +# Better Comments +# Colored Regions +# Git History +# Git Project Manager +# Jira and Bitbucket +# MagicPython +# Noctis (collection of VS Code themes) +# PowerShell +# Python Extension Pack +# Python Preview +# Rainbow CSV +# Region Marker +# Remote-SSH +# Remote-WSL +# REST Client +# SQL Server (mssql) +# SQL Bindiings +# Terminal (for VSCode) + + +# WinServer SSMAgent install +# https://docs.aws.amazon.com/systems-manager/latest/userguide/sysman-install-win.html diff --git a/Documents/Azure Setup.txt b/Documents/Azure Setup.txt new file mode 100644 index 0000000..45a0297 --- /dev/null +++ b/Documents/Azure Setup.txt @@ -0,0 +1,5 @@ +https://azure.microsoft.com/en-us/ + +I already had account, but looks like 12 month free access + +Need someone to document new free setup... diff --git a/Documents/Local Coding Setup.txt b/Documents/Local Coding Setup.txt new file mode 100644 index 0000000..abdffd1 --- /dev/null +++ b/Documents/Local Coding Setup.txt @@ -0,0 +1,57 @@ +# https://ninite.com/ Good source for quick installs on common apps + +# Get Ninite installer for... +# Chrome +# 7-Zip +# Zoom +# KeePass 2 +# VLC +# Java (AdoptOpenJDK) x64 Most current (11.0.15) +# .NET Desktop Runtime x64 6 +# Notepad++ +# WinSCP +# PuTTY +# Visual Studio Code +# Greenshot +# CutePDF +# TeamViewer 15 + +# Latest found \Files\Recommended Ninite.exe + +# Install from Microsoft Store... +# Windows Terminal +# Python 3.10 + +# Install common pip modules for Python + pip install python-dotenv + pip install requests + pip install beautifulsoup4 + +# Install Git for Windows +# https://gitforwindows.org/ + +# Recommeded VS Code Extensions +# +# Azure CLI Tools +# Bracket Pair Colorizer 2 +# #region folding for VS Code +# BASH Extension Pack +# Bash IDE +# Better Comments +# Colored Regions +# Git History +# Git Project Manager +# Jira and Bitbucket +# MagicPython +# Noctis (collection of VS Code themes) +# PowerShell +# Python Extension Pack +# Python Preview +# Rainbow CSV +# Region Marker +# Remote-SSH +# Remote-WSL +# REST Client +# SQL Server (mssql) +# SQL Bindiings +# Terminal (for VSCode) \ No newline at end of file diff --git a/Documents/Opensearch Setup.txt b/Documents/Opensearch Setup.txt new file mode 100644 index 0000000..e69de29 diff --git a/Documents/Ubuntu Linux.txt b/Documents/Ubuntu Linux.txt new file mode 100644 index 0000000..db1ebee --- /dev/null +++ b/Documents/Ubuntu Linux.txt @@ -0,0 +1,52 @@ +sudo apt dist-upgrade +sudo apt upgrade +sudo apt update + +# Code Editor +sudo apt install vim +# SSH to Linux apps +sudo apt install openssh-server openssh client + +# https://stackoverflow.com/questions/50100360/connecting-to-aws-ec2-instance-through-remote-desktop + +# ubuntu desktop +sudo apt install ubuntu-desktop + +# RDP to Linux app +sudo apt install xrdp +sudo systemctl status xrdp + +# example +# xrdp.service - xrdp daemon +# Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: enabled) +# Active: active (running) since Mon 2022-05-23 13:15:59 UTC; 2min 19s ago + +# By default Xrdp uses the /etc/ssl/private/ssl-cert-snakeoil.key file that is readable only by members of the “ssl-cert” group. +# Run the following command to add the xrdp user to the group : +sudo adduser xrdp ssl-cert +sudo systemctl restart xrdp + +# change default 'ubuntu' user password +sudo passwd ubuntu + +# In AWS Console, select Ubuntu running instance +# In Instance Security, select current Security groups +# Select "Edit inbound rules" +# "Add rule" +# RDP Source 0.0.0.0/0 + +# Open Remote Desktop Connection on windows machine +# Enter Computer: Public IPv4 DNS of Ubuntu ec2 and add username:your_user_name + +Save RDP Login Shortcut + +# Install Python 3.10 +sudo apt install software-properties-common -y +sudo add-apt-repository ppa:deadsnakes/ppa +sudo apt install python3.10 +sudo apt install python3-pip + +# Add Python modules +sudo pip install python-dotenv +sudo pip install requests +sudo pip install beautifulsoup4 \ No newline at end of file