Last active
December 12, 2015 09:49
-
-
Save fengluo/4754577 to your computer and use it in GitHub Desktop.
Revisions
-
fengluo revised this gist
Feb 11, 2013 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,7 @@ 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 -
fengluo revised this gist
Feb 11, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ echo "backup sources.list..." sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk echo "wget new sources and write into sources.list" echo "#ubuntu-12.04 source from init-ubuntu-12.04 /n " > /etc/apt/sources.list sudo curl -k https://gist.github.com/fengluo/4754497/raw/ff5e00b83c9f785f1d75e0f98ff822c7ccd50e61/ubuntu-source-12.04 -o /etc/apt/sources.list echo "update sources" sudo apt-get update -
fengluo revised this gist
Feb 11, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ echo "backup sources.list..." sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk echo "wget new sources and write into sources.list" echo "#ubuntu-12.04 source from init-ubuntu-12.04" > /etc/apt/sources.list sudo curl -k 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 -
fengluo revised this gist
Feb 11, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ echo "backup sources.list..." sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk echo "wget new sources and write into sources.list" echo "#ubuntu-12.04 source from init-ubuntu-12.04" > /etc/apt/sources.list sudo wget 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 -
fengluo revised this gist
Feb 11, 2013 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,11 @@ echo "backup sources.list..." sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk echo "wget new sources and write into sources.list" echo "#ubuntu-12.04 source from init-ubuntu-12.04" > /etc/apt/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 -
fengluo revised this gist
Feb 11, 2013 . 1 changed file with 4 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,7 +1,7 @@ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk echo "#ubuntu-12.04 source from init-ubuntu-12.04" > /etc/apt/sources.list sudo wget -c https://gist.github.com/fengluo/4754497/raw/ff5e00b83c9f785f1d75e0f98ff822c7ccd50e61/ubuntu-source-12.04 -O /etc/apt/sources.list sudo apt-get update sudo apt-get upgrade sudo apt-get install openssh-server curl -
fengluo created this gist
Feb 11, 2013 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ sudo cp /etc/apt/sources.list /etc/apt/sources.list.bk echo "#ubuntu-12.04 source from init-ubuntu-12.04" > /etc/apt/sources.list wget -c https://gist.github.com/fengluo/4754497/raw/ff5e00b83c9f785f1d75e0f98ff822c7ccd50e61/ubuntu-source-12.04 -O /etc/apt/sources.list apt-get update apt-get upgrade apt-get install openssh-server curl