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 | |
# update repositories | |
curl -sL https://deb.nodesource.com/setup_8.x | bash - | |
apt-get update | |
# download the necessary prerequisite components for mineos | |
apt-get -y install -y nodejs git rdiff-backup screen build-essential openjdk-8-jre-headless | |
# download the most recent mineos web-ui files from github |
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 | |
# update repositories | |
#yum update | |
# download the necessary prerequisite components for mineos | |
curl -sL https://rpm.nodesource.com/setup_8.x | bash - | |
yum -y install screen git wget java-1.8.0-openjdk-headless.x86_64 openssl openssl-devel | |
yum -y groupinstall "Development tools" | |
yum -y install nodejs |
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
default['sshd']['sshd_config']['AuthenticationMethods'] = 'publickey,keyboard-interactive:pam' | |
default['sshd']['sshd_config']['ChallengeResponseAuthentication'] = 'yes' | |
default['sshd']['sshd_config']['PasswordAuthentication'] = 'no' |