Created
November 28, 2017 11:00
-
-
Save toshimasa-nanaki/10b52fe46d043c8e1e47dfeea290d4ae to your computer and use it in GitHub Desktop.
Vagrant init.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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