Skip to content

Instantly share code, notes, and snippets.

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

Eze devopseze

🏠
Working from home
  • Wheelsup Experience LLC
  • Westminster, Maryland
View GitHub Profile
@devopseze
devopseze / Update remote repo
Created May 4, 2020 03:24 — forked from mandiwise/Update remote repo
Transfer repo from Bitbucket to Github
// Reference: http://www.blackdogfoundry.com/blog/moving-repository-from-bitbucket-to-github/
// See also: http://www.paulund.co.uk/change-url-of-git-repository
$ cd $HOME/Code/repo-directory
$ git remote rename origin bitbucket
$ git remote add origin https://github.com/mandiwise/awesome-new-repo.git
$ git push origin master
$ git remote rm bitbucket
@devopseze
devopseze / download-java8.sh
Created January 15, 2020 05:59 — forked from hgomez/download-java8.sh
wget to download Java 8
wget --continue --no-check-certificate -O jdk-8-linux-x64.tar.gz --header Cookie: oraclelicense=a http://download.oracle.com/otn-pub/java/jdk/8-b132/jdk-8-linux-x64.tar.gz
@devopseze
devopseze / artifactory.sh
Last active October 16, 2018 11:33 — forked from fuxingloh/artifactory.sh
Install Artifactory on AWS AMI and register as service to auto start and then starts it. Test on lightsail. Register as startup script.
#!/bin/bash
# Upgrade to Java-8
sudo yum install java-1.8.0
sudo yum remove java-1.7.0-openjdk
# Installing Artifactory
wget https://bintray.com/jfrog/artifactory-rpms/rpm -O bintray-jfrog-artifactory-rpms.repo
sudo mv bintray-jfrog-artifactory-rpms.repo /etc/yum.repos.d/
sudo yum install jfrog-artifactory-oss
@devopseze
devopseze / vagrant-cheat-sheet.md
Created August 23, 2018 02:09 — forked from wpscholar/vagrant-cheat-sheet.md
Vagrant Cheat Sheet

Typing vagrant from the command line will display a list of all available commands.

Be sure that you are in the same directory as the Vagrantfile when running these commands!

Creating a VM

  • vagrant init -- Initialize Vagrant with a Vagrantfile and ./.vagrant directory, using no specified base image. Before you can do vagrant up, you'll need to specify a base image in the Vagrantfile.
  • vagrant init <boxpath> -- Initialize Vagrant with a specific box. To find a box, go to the public Vagrant box catalog. When you find one you like, just replace it's name with boxpath. For example, vagrant init ubuntu/trusty64.

Starting a VM

  • vagrant up -- starts vagrant environment (also provisions only on the FIRST vagrant up)