Last active
June 3, 2019 05:13
-
-
Save wsuzume/fe63b557de0ae41ed54c28efda115158 to your computer and use it in GitHub Desktop.
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
// necessary tools to use pyenv | |
sudo yum install gcc gcc-c++ make git openssl-devel bzip2-devel zlib-devel readline-devel sqlite-devel | |
// Install pyenv | |
sudo git clone https://github.com/yyuu/pyenv.git /usr/bin/.pyenv | |
cd /usr/bin/.pyenv | |
sudo mkdir shims | |
sudo mkdir versions | |
// Set path of pyenv | |
vi ~/.bashrc | |
; 下記を追記 | |
export PYENV_ROOT="/usr/bin/.pyenv" | |
if [ -d "${PYENV_ROOT}" ]; then | |
export PATH=${PYENV_ROOT}/bin:$PATH | |
eval "$(pyenv init -)" | |
fi | |
; ここまで | |
// refresh | |
source ~/.bashrc | |
// Add extra channel | |
subscription-manager repos --enable=rhel-7-server-extras-rpms | |
// Install docker | |
yum install docker -y | |
sudo usermod -aG docker $USER | |
// Install nvidia-docker | |
sudo yum install nvidia-docker2 | |
sudo pkill -SIGHUP dockerd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment