Ubuntu 12.04 reinstallation note hard disk allocation: m behind drive C is mounted on/boot, 1g swap behind drive F, and 3G behind drive 1/www.2cto.com. create a U disk boot disk to install UltraISO, open the iso to be installed, click Start-write hard disk image-select a U disk (there is a drop-down menu choose USB-HDD +)-format-write. Some USB flash drives cannot be started. If you try another one, click OK 2. Do not select "Uninstall existing ubuntu and reinstall" for installation. Otherwise, it may cause startup exceptions. Do not select "download updates during installation ", slow death ...... 3. Configure www.2cto.com after installation 1. to configure the software source, first search for the fastest server in the Ubuntu Software Center-edit-software source as an out-of-school server and then search for it in/etc/apt/sources. starting with list add: # Your xidian includeb http://ftp.xdlinux.info/ubuntu/ precise main multiverse restricted universedeb http://ftp.xdlinux.info/ubuntu/ precise-backports main multiverse restricted universedeb http://ftp.xdlinux.info/ubuntu/ precise-propomain sed multiverse restricted u Secure http://ftp.xdlinux.info/ubuntu/ precise-security main multiverse restricted secure http://ftp.xdlinux.info/ubuntu/ precise-updates main multiverse restricted secure-src http://ftp.xdlinux.info/ubuntu/ precise-backports main multiverse restricted secure-src http://ftp.xdlinux.info/ubuntu/ pr Ecise-proposed main multiverse restricted universedeb-src http://ftp.xdlinux.info/ubuntu/ precise-security main multiverse restricted universedeb-src http://ftp.xdlinux.info/ubuntu/ precise-updates main multiverse restricted universe Note: precise is the code 12.04, make changes to different versions: quantal (12.10) precise (12.04) oneiric (11.10) natty (11.04) maverick (10.10) lucid (10.04) use sudo apt-get update to synchronize the local package database. Use sudo apt-get upgrade to upgrade all installed software packages. 2. For other installation configurations, set the root password sudo passwd root to modify the alias settings: In ~ /. Add bashrc to the system settings such as alias ag = 'sudo apt-get':/etc/profile and/etc/bashrc. personal values :~ /. Bash_profile ,~ /. Bashrc import the original vimrc to install mplayer2, w32codecs, smplayer2w32codecs cannot be directly installed (http://www.deb-multimedia.org/) need in/etc/apt/sources. list add deb http://www.deb-multimedia.org squeeze main non-free or deb ftp://ftp.deb-multimedia.org squeeze main non-free or deb http://www.deb-multimedia.org stable main non-free or deb ftp://ftp.deb-multimedia.org stable main non-free then apt-get install w32codecs MPlayer2 PPA source installation, open the terminal, Run sudo add-apt-repository ppa: motumedia/mplayer-dailysudo apt-get updatesudo apt-get install mplayer2. If you do not want to use this new version, you want to return the old version, run the following command: the new version of sudo apt-get install mplayer will be removed and the old version will be installed. Install SMPlayer2 PPA source, open the terminal, enter the command: sudo add-apt-repository ppa: smplayer2/dailysudo apt-get updatesudo apt-get install smplayer2 install git: apt-get instal git-core