Skip to content

Instantly share code, notes, and snippets.

@henter
Last active December 25, 2015 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save henter/6964032 to your computer and use it in GitHub Desktop.
Save henter/6964032 to your computer and use it in GitHub Desktop.
用于还是处的ubuntu
#!/bin/bash
#替换源
sudo sed -i s/us.archive.ubuntu.com/mirrors.163.com/g /etc/apt/sources.list
sudo apt-get update -y
sudo apt-get install -y vim curl git-core
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment