Skip to content

Instantly share code, notes, and snippets.

View gonzaloplaza's full-sized avatar
🏠
Working from home

Gonzalo Plaza gonzaloplaza

🏠
Working from home
View GitHub Profile
@gonzaloplaza
gonzaloplaza / nordvpn_ubuntu.md
Created December 2, 2024 20:44
Install & Connect NordVPN - Ubuntu Server

How to install NordVPN Ubuntu/Debian servers (Without GUI)

  1. Donwload and install gpg key:
curl https://repo.nordvpn.com/gpg/nordvpn_public.asc > nordvpn-keyring.asc
sudo gpg --output=/etc/apt/trusted.gpg.d/nordvpn-keyring.gpg --dearmor nordvpn-keyring.asc
rm nordvpn-keyring.asc
@gonzaloplaza
gonzaloplaza / aws_ec2_ubuntu_userdata_docker.sh
Last active February 3, 2025 10:01
Script to auto install Docker (last version) into AWS EC2/Ubuntu instance at launch time: User Data
#!/bin/bash
# Install docker
apt-get update
apt-get install -y cloud-utils apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository \
"deb [arch=amd64] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) \
stable"
apt-get update
@gonzaloplaza
gonzaloplaza / minikube_ubuntu_installation.md
Last active February 17, 2022 06:14
Minikube installation on Ubuntu 16.04 LTS

Minikube Installation on Ubuntu 16.04 LTS

Overview:

  1. Install hypervisor (Virtualbox)
  2. Get and install Kubectl (repositories)
  3. Get and install Minikube last version
  4. Start and Test Minikube local cluster and expose demo service

Install VirtualBox hypervisor

@gonzaloplaza
gonzaloplaza / aws_ec2_nginx_jenkins_installation.md
Last active October 14, 2022 05:35
Jenkins Installation under NGINX - Ubuntu 16.04 on AWS EC2 t2.micro (custom subdomain)

Jenkins Installation through NGINX proxy - Ubuntu 16.04 on AWS EC2 (custom tld subdomain)

The following guide includes all steps needed to install a Jenkins Server on AWS EC2 (Ubuntu 16.04 LTS), using NGINX as proxy with custom tld

  1. Set up EC2 instance
  • Selected type: t2.micro (1GB) (for this example, you can choose any type)
  • AMI: Ubuntu 16.04 LTD 64bits (AWS AMI repository)
  • 20GB SSD storage
  • Security Group: Opened (inbound) for web ports: 80, 443 and 22

Keybase proof

I hereby claim:

  • I am gonzaloplaza on github.
  • I am gonzaloplaza (https://keybase.io/gonzaloplaza) on keybase.
  • I have a public key whose fingerprint is 0694 A58A B74D 23BE E80E D16D ED80 4497 7A60 8C65

To claim this, I am signing this object: