TimeZone Setting
1 2 3 4 5 6 7 |
ls -l /etc/localtime cd /etc sudo rm -rf localtime sudo ln -s /usr/share/zoneinfo/Asia/Seoul localtime # time changed UTC -> KST date |
package update
1 2 3 4 5 |
sudo apt update sudo apt upgrade do-release-upgrade sudo apt autoclean sudo apt autoremove |
Util Install & Setting
1 2 3 4 5 |
# install Utils sudo apt install build-essential sudo apt install net-tools colordiff colortail mc subversion neofetch fortune-mod lolcat cowsay bat htop btop exa fd-find ripgrep colortail sudo ln -s $(whih fdfind) /usr/local/bin/fd |
.ssh login 처리
after edit ~/.ssh/authorized_keys from have to login client’s ~/.ssh/id_rsa.pub
sudoer 처리
after modify /etc/sudoers.d/init-user
zsh Install & Setting
1 2 3 4 5 6 7 8 9 |
sudo apt install zsh chsh -s /usr/bin/zsh # install ohmyzsh sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" # zsh plugin install git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting |
after copy .zshrc to ~
tmux Install & Setting
1 2 3 4 5 |
# install tmux sudo apt install tmux git clone https://github.com/gpakosz/.tmux.git ln -s ~/.tmux/.tmux.conf cp ~/.tmux/.tmux.conf.local ~ |
after edit .tmux.conf.local
nvim 설정
1 2 3 4 5 6 7 8 9 10 11 |
# install neovim sudo add-apt-repository ppa:neovim-ppa/stable sudo apt update sudo apt install neovim # install spacevim curl -sLf https://spacevim.org/install.sh | bash # install plug.vim sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' |
after copy init.vim to […]