> sudo apt-get update
> sudo apt-get upgrade
> sudo apt-get install git git-lfs
zsh & oh-my-zsh & powerlevel10k 설치
> sudo apt-get install zsh
> sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
> git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/themes/powerlevel10k
> sed -i 's/robbyrussell/powerlevel10k\/powerlevel10k/g' ~/.zshrc
변경사항 적용
> source ~/.zshrc
> sh -c "$(curl --fail --show-error --silent --location https://raw.githubusercontent.com/zdharma-continuum/zinit/HEAD/scripts/install.sh)"
> zinit light zsh-users/zsh-syntax-highlighting
> zinit light zsh-users/zsh-autosuggestions
neovim 설치
> sudo apt-get install neovim
.zshrc 파일 추가
alias vim="nvim"
alias vi="nvim"
alias vimdiff="nvim -d"
export EDITOR=/usr/bin/nvim
변경사항 적용
> source ~/.zshrc
spacevim 설치
> sudo apt-get install fontconfig xfonts-utils
> curl -sLf https://spacevim.org/install.sh | bash
fzf 설치
> sudo apt-get install fzf
.zshrc 파일 수정
plugins=(
...
fzf
)
fasd 설치
> sudo apt-get install fasd
.zshrc 파일 수정
plugins=(
...
fasd
)
tmux 설치
> sudo apt-get install tmux
asdf 설치
> git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.8.1
.zshrc 파일 수정
plugins=(
...
asdf
)
node.js 설치 (via asdf)
> asdf plugin add nodejs
> asdf install nodejs lts
> asdf global nodejs lts
> sudo apt-get install ca-certificates curl gnupg lsb-release
> curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
> echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
> sudo apt-get update
> sudo apt-get install docker-ce docker-ce-cli containerd.io
docker group에 user 추가
> sudo usermod -aG docker $USER
시스템 시작 시 docker 자동 시작
> sudo service docker status || sudo service docker start
portainer 설치
> docker volume create portainer_data
> docker run -d -p 8000:8000 -p 9443:9443 --name portainer --restart=always -v /var/run/docker.sock:/var/run/docker.sock -v portainer_data:/data cr.portainer.io/portainer/portainer-ce:latest
https://localhost:9443 로 접속해서 나머지 작업 진행