禁止ubuntu报错:
1:打开文件 apport
sudo nano /etc/default/apport
enabled=0
2:重启apport 服务
sudo service apport restart
boot iso file from usb grub2:
1:format your usb flash into ext4
2:insall the grub2 to your usb flash using grub-install command
3:edit grub.cfg file to add the iso file information
-
menuentry "Ubuntu 12.04.2 ISO" { set isofile="/home/<username>/Downloads/ubuntu-12.04.2-desktop-amd64.iso" # or set isofile="/<username>/Downloads/ubuntu-12.04.2-desktop-i386.iso" # if you use a single partition for your $HOME loopback loop (hd0,5)$isofile linux (loop)/casper/vmlinuz.efi boot=casper iso-scan/filename=$isofile noprompt noeject initrd (loop)/casper/initrd.lz }
https://help.ubuntu.com/community/Grub2/ISOBoot/Examples
3:安装 apache
sudo apt-get install apache2
4:mysql数据重新安装
sudo apt-get --purge remove mysql-server mysql-common mysql-client
sudo apt-get install mysql-server mysql-common mysql-client
mysqladmin -u root password your-new-password sudo /etc/init.d/mysql restart
mysql -u root -p
5:ubuntu中virtualbox 没有关,直接shutdown了ubuntu系统,第二天重新开启virtualbox时就提示core dump,virtualbox闪退,以为又要重装virtualbox了,想想应该是配置文件异常造成的,所以运行下面的命令解决
sudo dpkg-reconfigure virtualbox-4.3
6:
W: GPG签名验证错误: http://ppa.launchpad.net intrepid Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 5A9BF3BB9D1A0061
出现以上错误提示时,只要把后八位拷贝一下来,并在[终端]里输入以下命令并加上这八位数字回车即可!
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9D1A0061
此类问题均可如此解决!