Skip to content
Permalink
Browse files
Add doc for centos (#165)
  • Loading branch information
milleruntime authored and keith-turner committed Jan 6, 2018
1 parent 02cf8dd commit 83d3014e124e96ec86749e61ddd2af86d0a57de8
Showing 2 changed files with 25 additions and 0 deletions.
@@ -25,6 +25,7 @@ The following instructions can help you setup these requirements in your
environment :

* [Ubuntu 16.04](/docs/ubuntu1604.md)
* [CentOS 7](/docs/centos7.md)

## Quickstart

@@ -0,0 +1,24 @@
CentOS 7 prep
-----------------

```bash
#install stuff
sudo yum install java-1.8.0-openjdk maven git openssh-server wget perl-Digest-SHA
sudo yum group install "Development Tools"
#setup passwordless ssh
ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa
ssh-keyscan -H localhost >> ~/.ssh/known_hosts
cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys
#add java home to your env by appending this line to ~/.bashrc
export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk
#optional: set OS limits - requires restart
cat <<EOF | sudo tee -a /etc/security/limits.conf > /dev/null
* hard nproc 65536
* soft nproc 65536
* hard nofile 65536
* soft nofile 65536
EOF
```

0 comments on commit 83d3014

Please sign in to comment.