Skip to content

Commit

Permalink
feat(inint_ubuntu): add sources.list
Browse files Browse the repository at this point in the history
add sources.list

Signed-off-by: mritd <[email protected]>
  • Loading branch information
mritd committed Feb 12, 2019
1 parent a7beac5 commit 0391100
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init_ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
set -e

TZ='Asia/Shanghai'
SOURCES_LIST_URL='https://git.io/fhQKL'
OZ_DOWNLOAD_URL='https://github.com/robbyrussell/oh-my-zsh.git'
OZ_CONFIG_DOWNLOAD_URL='https://git.io/fh9U2'
OZ_SYNTAX_HIGHLIGHTING_DOWNLOAD_URL='https://github.com/zsh-users/zsh-syntax-highlighting.git'
Expand All @@ -23,10 +24,13 @@ fi


function sysupdate(){
mv /etc/apt/sources.list /etc/apt/sources.list.old
curl -sL ${SOURCES_LIST_URL} > /etc/apt/sources.list
apt update -y
apt upgrade -y
apt install wget curl vim zsh ctags git htop tzdata ipvsadm ipset \
stress sysstat -y
ssh-keyscan github.com >> ~/.ssh/known_hosts
}

function setlocale(){
Expand Down

0 comments on commit 0391100

Please sign in to comment.