Last active
December 12, 2015 09:49
-
-
Save fengluo/4754577 to your computer and use it in GitHub Desktop.
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
echo "backup sources.list..." | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk | |
echo "wget new sources and write into sources.list" | |
sudo wget -c https://gist.github.com/fengluo/4754497/raw/ff5e00b83c9f785f1d75e0f98ff822c7ccd50e61/ubuntu-source-12.04 -O /etc/apt/sources.list | |
echo "update sources" | |
sudo apt-get update | |
sudo apt-get upgrade | |
echo "install packages..." | |
sudo apt-get install openssh-server curl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment