折腾ubuntu12.04时碰到的一些问题以及解决方法记录
下面会记录一些折腾ubuntu12.0,4的问题以及解决办法,碰到问题就更新这个博客
1,更新源的操作
以更新为163的源为例,网上的源多的是,可以找适合自己的源
#网易 Ubuntudeb http://mirrors.163.com/ubuntu/ precise main universe restricted multiversedeb-src http://mirrors.163.com/ubuntu/ precise main universe restricted multiversedeb http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricteddeb-src http://mirrors.163.com/ubuntu/ precise-security universe main multiverse restricteddeb http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricteddeb http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricteddeb-src http://mirrors.163.com/ubuntu/ precise-proposed universe main multiverse restricteddeb http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricteddeb-src http://mirrors.163.com/ubuntu/ precise-backports universe main multiverse restricteddeb-src http://mirrors.163.com/ubuntu/ precise-updates universe main multiverse restricted
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo gedit /etc/apt/sources.list
sudo apt-get update
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B22AB97
sudo apt-get update即可
/opt/firefox
sudo ln -s /opt/firefox/firefox /usr/bin/firefox
[Desktop Entry]Version=15.0.1Name=FirefoxGenericName=FirefoxX-GNOME-FullName=FirefoxComment=FirefoxType=ApplicationCategories=InternetExec=/opt/firefox/firefoxTryExec=/opt/firefox/firefoxTerminal=falseStartupNotify=trueIcon=/opt/firefox/icons/mozicon128.png
sudo mv firefox.desktop /usr/share/applications这个里边