Git Product home page Git Product logo

ubuntu20_auto_ml_dl_environ's Introduction

Ubuntu-20.04 Auto ML&DL server ๐Ÿ’ช

tags: lab z-tech

Intro

This repo is for installing ML&DL enviroment for Ubuntu-20.04, with pytorch1.4.0 tensorflow2.2.0 keras, futhermore vim zshell usefull plugins are installed too.

How to run ๐Ÿ’ก

Full Install (ok to run)

  • bag tools
  • zsh
  • vim (ycm)
  • user skel copy
  • nvidia-driver & cuda
  • system python3.8 ml&dl enviroment (pytorch keras tensorflow)
  • anaconda python3.7 ml&dl enviroment (pytorch keras tensorflow)
# install git,make & clone repo
> sudo apt-get update && sudo apt-get install make git
> git clone https://github.com/wubinary/Ubuntu20_Auto_ML_DL_Environ.git
> cd Ubuntu20_Auto_ML_DL_Environ

# change shell
> make change_shell PASSWD=[passwd]
[reboot]

# install nvidia-driver
> cd Ubuntu20_Auto_ML_DL_Environ
> make nvidia_driver PASSWD=[passwd]
[reboot]

# check if nvidia-smi works well
> nvidia-smi

# install remains
> cd Ubuntu20_Auto_ML_DL_Environ
> make full PASSWD=[passwd]  

### finished, nice ball :) ###

Light Install (still some problem)

  • bag tools
  • zsh
  • vim (ycm)
  • user skel copy
  • nvidia-driver & cuda
  • system python3.8 ml&dl enviroment (pytorch keras tensorflow)
  • anaconda python3.7 ml&dl enviroment (pytorch keras tensorflow)
# install git,make & clone repo
> sudo apt-get update && sudo apt-get install make git
> git clone https://github.com/wubinary/Ubuntu20_Auto_ML_DL_Environ.git
> cd Ubuntu20_Auto_ML_DL_Environ

# install nvidia-driver
> make nvidia_driver PASSWD=[passwd]
[reboot]

# check if nvidia-smi works well
> nvidia-smi

# install remains
> make light PASSWD=[passwd]  

### finished, nice ball :) ###

Features ๐Ÿ˜ โญ ๐Ÿฅณ โญ ๐Ÿ˜

ZSH Plugins

VIM (YCM)

python3 & c/c++ prompt word

c/c++: [ESC] auto grammar test

Bag tools

- tools
    - tmux 
    - htop
    - curl
    - net-tools
    - docker.io
    - gcc/g++
    - apache2
    - openssh
- firewall
    - allow OpenSSH & Apache2
    - start ufw firewall

Nvidia & Cuda

  • nvidia-driver 440
  • cuda 10.2
  • system python3.8 & anaconda python3.7

System python3.8 packages installed

->See Installed packages

Anaconda python3.7 packages installed

->See Installed packages


Additional auto install scripts ๐Ÿฅฑ ๐ŸŽ‰

Disk quota


Problem shooting ๐Ÿ˜จ ๐Ÿ˜ญ

1. powerline font on windows 8.10 not support perfect

[download dejavu font] install DejaVuSans.ttf or DejaVuSansMono.ttf

2. powerline font on ubuntu18&20 not support perfect

Install the powerline font: https://github.com/powerline/fonts change font to "Ubuntu Mono derivative Powerline Regular"

3. install cuda: NO_PUBLICKEY F60F4B3D7FA2AF80

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-key F60F4B3D7FA2AF80

4. vim mode can't past clipboard

=> [shift] + right mouse click = paste

5. where is my python3

  1. system python3.8
  2. anaconda python3.7 if activated

6. where is my pip & pip3

  1. pip3 : system
  2. pip : anaconda

7. old version (before 2020/01/24) SSH connect so slow

bug: motd get ip-address to slow

sudo vim /etc/update-motd.d/myMotd comment line 22 (IP Address ...), which cause long time

ubuntu20_auto_ml_dl_environ's People

Contributors

dependabot[bot] avatar jjjune0304 avatar wubinary avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ntu-netdb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.