ubuntu18 nvidia cuda tensorflow2.1 driver install

Submitted by Lizhe on Fri, 06/05/2020 - 10:16

conda

wget https://mirrors.tuna.tsinghua.edu.cn/anaconda/miniconda/Miniconda3-4.7.10-Linux-x86_64.sh

chmod 777 Miniconda3-4.7.10-Linux-x86_64.sh 

./Miniconda3-4.7.10-Linux-x86_64.sh 

conda create -n tf21 python=3.7

 

driver

sudo ubuntu-drivers devices

sudo apt install nvidia-driver-430

 

conda activate tf21

conda install cudatoolkit=10.1

conda install cudnn=7.6

Install rancher HA on EKS

Submitted by Lizhe on Thu, 06/04/2020 - 08:38

 

helm install stable/nginx-ingress --name rancher-nginx --set rbac.create=true

 

helm install rancher-stable/rancher \
  --name rancher \
  --namespace cattle-system \
  --set hostname=abc.com \
  --set ingress.extraAnnotations."kubernetes\.io/ingress\.class"=nginx 

blueprism (4)Data Item

Submitted by Lizhe on Wed, 06/03/2020 - 03:21

Environment Variable

1. 这里的环境变量是可以提供给所有用户使用的,不要写密码之类的

2. 设置完成之后,如果要从select框中选择,需要先重启

20200603125640

 

在 process 中引用刚才设置的 环境变量

rancher iam role

Submitted by Lizhe on Mon, 05/11/2020 - 16:31

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": "ec2:Describe*",
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": "ec2:AttachVolume",
            "Resource": "*"
        },
        {
            "Effect": "Allow",
            "Action": "ec2:DetachVolume",
            "Resource": "*"
        },
        {
            "Effect": "Allow",

rasa install

Submitted by Lizhe on Mon, 04/27/2020 - 09:45

 

pip install --upgrade pip -i https://pypi.douban.com/simple

pip install tensorflow -i https://pypi.tuna.tsinghua.edu.cn/simple/

 

$ pip install rasa

$ rasa init

NumPy

Submitted by Lizhe on Sat, 01/04/2020 - 01:51

 

NumPy(Numerical Python) 是 Python 语言的一个扩展程序库,支持大量的维度数组与矩阵运算,此外也针对数组运算提供大量的数学函数库。

安装

pip3 install --user numpy scipy matplotlib ipython jupyter pandas sympy nose

20200104095957