Skip to content

Instantly share code, notes, and snippets.

@toshimasa-nanaki
Created November 28, 2017 11:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toshimasa-nanaki/10b52fe46d043c8e1e47dfeea290d4ae to your computer and use it in GitHub Desktop.
Save toshimasa-nanaki/10b52fe46d043c8e1e47dfeea290d4ae to your computer and use it in GitHub Desktop.
Vagrant init.sh
#!/bin/sh
#パッケージを更新
sudo yum -y update
#wgetインストール
sudo yum -y install wget
#unzipインストール
sudo yum -y install unzip
#Vimインストール
sudo yum -y install vim-enhanced
#Javaインストール
sudo yum -y install java-1.8.0-openjdk-devel.x86_64
#Parayaインストール
sudo wget "https://search.maven.org/remotecontent?filepath=fish/payara/distributions/payara-ml/4.1.2.173/payara-ml-4.1.2.173.zip"
sudo mv remotecontent\?filepath\=fish%2Fpayara%2Fdistributions%2Fpayara-ml%2F4.1.2.173%2Fpayara-ml-4.1.2.173.zip payara-ml.zip
sudo unzip payara-ml.zip -d /opt
sudo /opt/payara41/bin/asadmin start-domain
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment