[DOCKER] Ubuntu18.04 Development environment creation memo

how to use

cd ~
chmod +x setup.sh
./setup.sh

setup.sh

setup.sh


sudo apt update
sudo apt -y upgrade
sudo apt -y install vim
sudo apt -y install git
sudo apt -y install guake
sudo apt -y install curl
sudo apt-get -y install xsel

# pyenv 
sudo apt -y install build-essential libffi-dev libssl-dev zlib1g-dev liblzma-dev libbz2-dev libreadline-dev libsqlite3-dev
git clone https://github.com/pyenv/pyenv.git ~/.pyenv
echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc
echo 'export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(pyenv init -)"' >> ~/.bashrc
source ~/.bashrc
pyenv install 3.7.6
pyenv global 3.7.6

# nodebrew
curl -L git.io/nodebrew | perl - setup
echo 'export PATH=$HOME/.nodebrew/current/bin:$PATH' >> ~/.bashrc
source ~/.bashrc
nodebrew install-binary stable
nodebrew use stable
npm -g install @angular/cli
sudo sysctl fs.inotify.max_user_watches=524288
sudo sysctl -p

# docker
sudo apt install docker.io
sudo groupadd docker
sudo gpasswd -a $USER docker
sudo systemctl restart docker

# docker-compose
sudo curl -L "https://github.com/docker/compose/releases/download/1.25.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

# ssh keygen
ssh-keygen -t rsa
cat .ssh/id_rsa.pub | xsel --clipboard --input

# english directory
LANG=C xdg-user-dirs-gtk-update

# sudo reboot -h now

Recommended Posts

Ubuntu18.04 Development environment creation memo
Ubuntu Desktop 20.04 development environment construction memo
[Memo] Django development environment
Django development environment construction memo
[MEMO] [Development environment construction] Python
[MEMO] [Development environment construction] wine
Development environment load measurement memo
Prepare Python development environment on Ubuntu
[MEMO] [Development environment construction] Jupyter Notebook
Vim + Python development environment setting memo
Emacs Python development environment construction memo
linux (ubuntu) memo
Mac OS X development environment construction memo
Until Django application creation by terminal (development environment)
Build a Kubernetes environment for development on Ubuntu
My python environment memo
poetry introduction memo (ubuntu18.04)
ConoHa environment construction memo
Python development environment construction
About Python development environment
python2.7 development environment construction
Development environment in Python
Anaconda environment construction memo
Install Ubuntu 20.04 with GUI and prepare the development environment
python memo (for myself): About the development environment virtualenv
[Ubuntu 18.04] Tensorflow 2.0.0-GPU environment construction
Development environment suitable for ArcPy
Build an Ubuntu python development environment on Google Cloud Platform
[Memo] Construction of cygwin environment
Build python3 environment with ubuntu 16.04
ubuntu 20.04 + geth environment ether remittance
Anaconda3 × Pycharm environment construction memo
Organize your Python development environment
Django environment development on Windows 10
[ev3dev × Python] Build ev3dev development environment
[For organizing] Python development environment
Ubuntu14.04 + GPU + TensorFlow environment construction
[Python] virtualenv creation procedure memo
django project development environment construction
[Day 1] Prepare Django's development environment
Until building a Python development environment using pyenv on Ubuntu 20.04
[Google App Engine] Flow from development environment construction to application creation
Python environment construction memo on Windows 10
Building a Python environment on Ubuntu
Modify Ubuntu tofu to Japanese environment
Web application development memo in python
Integrated Development Environment (IDE) vs. Virtual environment
Prepare your first Python development environment
Star Cluster environment construction work memo
GitHub x Python development preparation memo
Environment construction memo of pyenv + conda
Python development environment options for May 2020
Python colorama Color memo (Cmder environment)
Python development environment construction on macOS
Emacs settings for Python development environment
From Ubuntu 20.04 introduction to environment construction
Install Python development environment on Windows 10
Checking the NAOqi Python development environment
Development environment construction (2020 version, WSL2 + VcXsrv)
Build Python 3.8 + Pipenv environment on Ubuntu 18.04
Prepare Python development environment with Atom