Last active
September 5, 2020 11:24
-
-
Save OHua/c558bf9c8884d5d60ef3a6f8a46212ed to your computer and use it in GitHub Desktop.
Ubuntu 20.04 Setup Flow
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
**Ubuntu | |
sudo apt update && sudo apt upgrade | |
sudo apt-get install ibus-chewing | |
**General tools install | |
sudo apt-get install git | |
sudo apt-get install emacs | |
sudo apt-get install build-essential zlib1g-dev libssl-dev bzip2 libbz2-dev libreadline6-dev libsqlite3-dev | |
( https://github.com/pyenv/pyenv/wiki/Common-build-problems ) | |
( https://www.cnblogs.com/kevingrace/p/10130801.html ) | |
sudo apt-get install libffi-dev | |
( https://stackoverflow.com/questions/27022373/python3-importerror-no-module-named-ctypes-when-using-value-from-module-mul ) | |
** .bashrc | |
export PS1='($(pyenv version-name)) '$PS1 | |
**Python | |
git clone pyenv_from_github | |
git clone pyenv_virtualenv_from_github | |
pyenv install --list | |
pyenv install miniconda3-3.8.3 | |
conda install jupyter | |
( https://juejin.im/post/6844903778198487054 ) | |
conda env list | |
conda -V | |
** Miniconda on Mac | |
https://repo.anaconda.com/miniconda/ | |
( use old version of miniconda, maybe 3.8.3, would save rest of your life ) | |
https://stackoverflow.com/questions/58044214/installing-anaconda-with-pyenv-unable-to-configure-virtual-environment | |
conda config --add create_default_packages Pandas | |
conda create --name note | |
**DB | |
sudo apt install mysql-client-core-8.0 | |
sudo apt-get install redis-server | |
**Node | |
https://github.com/nvm-sh/nvm#installing-and-updating | |
nvm ls-remote | |
**Github | |
ssh-keygen | |
cat ~/.ssh/id_rsa.pub | |
**Wine for Line | |
( https://wiki.winehq.org/Ubuntu ) | |
( https://royalprogrammer.wordpress.com/2018/07/07/ubuntu-line/ ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
FastApi https://juejin.im/post/6844904051327369224