In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
This file contains hidden or 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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: app | |
spec: | |
selector: | |
matchLabels: | |
app: app | |
tier: frontend | |
replicas: 1 |
This file contains hidden or 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
#Vim settings | |
echo "set nocompatible | |
filetype plugin indent on | |
:highlight ExtraWhitespace ctermbg=red guibg=red | |
:match ExtraWhitespace /\s\+$/ | |
set tabstop=4 | |
set softtabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set number |
This file contains hidden or 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/bash | |
apt-get -y install unixodbc-dev libpq-dev | |
/usr/bin/anaconda/envs/py35/bin/pip install --upgrade pip | |
/usr/bin/anaconda/bin/pip install --upgrade pip | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - | |
curl https://packages.microsoft.com/config/ubuntu/16.04/prod.list > /etc/apt/sources.list.d/mssql-release.list | |
apt-get update | |
ACCEPT_EULA=Y apt-get install msodbcsql=13.1.9.2-1 | |
ACCEPT_EULA=Y apt-get install mssql-tools | |
/usr/bin/anaconda/bin/pip install cryptography==1.9 |
This file contains hidden or 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/bash | |
pip install virtualenv | |
virtualenv /.rkenv | |
/.rkenv/bin/pip install --upgrade pip | |
/.rkenv/bin/pip install -i http://pypi.rubikloudcorp.com/pypi/ --trusted-host pypi.rubikloudcorp.com Oddish[azure]==4.1.4 | |
/.rkenv/bin/pip install luigi==2.6.1 | |
/.rkenv/bin/pip install virtualenv==15.1.0 | |
/.rkenv/bin/pip install magneton==1.1.0 | |
/.rkenv/bin/pip install pandas==0.18.1 | |
/.rkenv/bin/pip install requests==2.18.4 |
This file contains hidden or 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/bash | |
apt-get install -y unixodbc-dev libpq-dev | |
/usr/bin/anaconda/envs/py35/bin/pip install --upgrade pip | |
/usr/bin/anaconda/bin/pip install --upgrade pip | |
/usr/bin/anaconda/envs/py35/bin/pip install pandas==0.18/1 | |
/usr/bin/anaconda/bin/pip install pandas==0.18.1 | |
/usr/bin/anaconda/envs/py35/bin/pip install requests==2.18.4 | |
/usr/bin/anaconda/bin/pip install requests==2.18.4 | |
/usr/bin/anaconda/bin/conda update libgcc | |
curl https://packages.microsoft.com/keys/microsoft.asc | apt-key add - |
This file contains hidden or 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/bash | |
apt-get install -y unixodbc-dev libpq-dev | |
/usr/bin/anaconda/envs/py35/bin/pip install --upgrade pip | |
/usr/bin/anaconda/bin/pip install --upgrade pip | |
/usr/bin/anaconda/envs/py35/bin/pip install -i http://pypi.rubikloudcorp.com/pypi/ --trusted-host pypi.rubikloudcorp.com Oddish[azure]==4.1.4 | |
/usr/bin/anaconda/bin/pip install -i http://pypi.rubikloudcorp.com/pypi/ --trusted-host pypi.rubikloudcorp.com Oddish[azure]==4.1.4 | |
/usr/bin/anaconda/envs/py35/bin/pip install luigi==2.6.1 | |
/usr/bin/anaconda/bin/pip install luigi==2.6.1 | |
/usr/bin/anaconda/envs/py35/bin/pip install magneton==1.1.0 | |
/usr/bin/anaconda/bin/pip install magneton==1.1.0 |
This file contains hidden or 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
ssh root@machine 'restorecon -R -v /root/.ssh' |