Skip to content

Instantly share code, notes, and snippets.

@henter
Last active December 20, 2015 01:19
Show Gist options
  • Save henter/6047701 to your computer and use it in GitHub Desktop.
Save henter/6047701 to your computer and use it in GitHub Desktop.
cleaning work..
#安装ppa-purge
sudo apt-get install ppa-purge
#移除源
ppa-purge ppa:zanfur/php5
# clean up os first
apt-get -y purge apache2_* bind9-* xinetd samba-* nscd-* portmap sendmail-* sasl2-bin
apt-get -y purge lynx memtester unixodbc python-* odbcinst-* tff-*
apt-get autoremove && apt-get clean
apt-get update
apt-get upgrade -y
apt-get autoremove -y
apt-get autoclean -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment