-
-
Save seungwoonlee/c14623245f32b18112331be8795fa16a to your computer and use it in GitHub Desktop.
우분투의 apt 기본 미러를 다음 카카오로 변경
This file contains 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
#!/bin/sh | |
SL=/etc/apt/sources.list | |
cp ${SL} ${SL}.org | |
## | |
sed -e 's/\(us.\)\?archive.ubuntu.com/ftp.daumkakao.com/g' -e 's/security.ubuntu.com/ftp.daumkakao.com/g' < ${SL}.org > ${SL} | |
## check | |
apt update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment