SMALL
카카오 미러서버 - apt
sudo sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/mirror.kakao.com/g' /etc/apt/sources.list
sudo apt update
sudo apt upgrade -y
카카오 미러서버 - pip
mkdir ~/.pip
echo "[global]
index-url=http://ftp.daumkakao.com/pypi/simple
trusted-host=ftp.daumkakao.com" >> ~/.pip/pip.conf
pip3 install --upgrade pip
zsh 및 oh-my-zsh 설치
sudo apt install -y zsh curl git
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
chsh -s /usr/bin/zsh
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ~/.zsh/zsh-syntax-highlighting
echo "source ~/.zsh/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.zsh/zsh-autosuggestions
echo "source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc
source ~/.zshrc
apt upgrade 중 not available 뜰때
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock*
sudo dpkg --configure -a
sudo apt update
BIG
'ETC > Ubuntu' 카테고리의 다른 글
[VSCode] VSC에서 원격 리눅스 머신에 접속하기 - Remote-SSH (0) | 2019.11.04 |
---|---|
[Ubuntu] apt update [Some index files ...] 오류 해결방법 (0) | 2019.11.03 |