上一页 1 ··· 31 32 33 34 35
摘要: 1,Android SDK无法更新或repo文件无法下载:解决方法:(如果hosts文件只读,则用sudo打开)$ gedit /etc/hosts 在打开的 /etc/hosts 在文件的末尾添加下面一句:74.125.237.1 dl-ssl.google.com2,在使用repo sync下载cm源码时提示以下错误:error: Failed connect to android.googlesource.com:443;Connection refused while accessinghttps://android.googlesource.com/a/platform/fram.. 阅读全文
posted @ 2013-08-07 13:01 行云有影 阅读(890) 评论(0) 推荐(0) 编辑
摘要: 本文适用于:$ sudo ... 出现sudo: 没有找到有效的 sudoers 资源,退出; /etc/sudoers 可被任何人写1、使用U盘制作的ubuntu启动盘进入试用ubuntu,修改原ubuntu的etc/sudoers的权限在主文件夹下随便新建一个文件夹,如mn$ sudo mount /dev/sdaX /home/ubuntu/mn //挂载原ubuntu的根目录(sdaX 即为根目录所在块,X不定)到mn文件夹$ sudo chmod 440 /home/ubuntu/mn/etc/sudoers3、重启进入ubuntu,此时可以获取root,但仍有问题如下:@jl-Le 阅读全文
posted @ 2013-08-07 12:58 行云有影 阅读(4376) 评论(0) 推荐(0) 编辑
摘要: 本文适用:装有win+ubuntu的双系统(ubuntu是硬盘安装的)由于重写mbr导致开机直接进入windows,丢失ubuntu启动项1、使用ubuntu的u盘启动盘进入,终端运行:查看分区大小:sudo fdisk -l$ sudo mount /dev/sdaX /mnt//如果boot单独分区,sdaX为即为boot对应块//如果没有给boot分区,sdaX为根分区对应块2、Easybcd->添加新条目->Linux->Grub2->自动加载..别忘了修改选择启动项等待时间 3、确认ubuntu的根目录在哪,以及是否给boot单独分区如根目录在/dev/sda 阅读全文
posted @ 2013-08-07 12:54 行云有影 阅读(1030) 评论(0) 推荐(0) 编辑
摘要: 1、下载jdk登录oracle的网站去下载对应版本JDK7 http://www.oracle.com/technetwork/java/javase/downloads/index.html查看ubuntu版本:ctrl+alt+t调出ubuntu的终端。输入一下命令:$ getconf LONG_BIT //查看操作系统位数$ lsb_release -a //顺便看看操作系统信息 安装包类型: rmp原本是RedHatLinux发行版专门用来管理Linux各项套件的程序,由于它遵循GPL规则且功能强大方便,因而广受欢迎。逐渐受到其他发行版的采用。RP... 阅读全文
posted @ 2013-08-07 12:46 行云有影 阅读(1239) 评论(0) 推荐(0) 编辑
摘要: 1,http://get.adobe.com/cn/flashplayer/下载tar.gz类型文件2,解压tar.gz,将解压的usr的文件夹下的内容复制到/usr文件下(在所在目录运行)$ tar zxvf install_flash_player_11_linux.x86_64.tar.gz$ sudo cp libflashplayer.so /usr/lib/mozilla/plugins$ sudo cp -r usr/* /usr 阅读全文
posted @ 2013-08-07 12:39 行云有影 阅读(291) 评论(0) 推荐(0) 编辑
摘要: 适用硬盘安装ubuntu后或ubuntu更新后进不了windows修改命令:sudo gedit /boot/grub/grub.cfg内容改为:### BEGIN /etc/grub.d/30_os-prober ###menuentry 'Windows 8 (loader) (on /dev/sda1)' --class windows--class os $menuentry_id_option 'osprober-chain-2C582E83582E4C40'{ insmodldm insmodntfs setroot=(hd0,1) search-- 阅读全文
posted @ 2013-08-07 12:37 行云有影 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 1,配置文件内容:title Install Ubunturoot (hd0,0)kernel (hd0,0)/vmlinuz.efi boot=casperiso-scan/filename=/ubuntu-12.10-desktop-i386.iso ro quiet splashlocale=zh_CN.UTF-8initrd (hd0,0)/initrd.lz2,把准备好的iso用压缩软件或者虚拟光驱打开,找到casper文件夹,复制initrd.lz和vmlinuz.efi到C盘,然后在把iso也拷贝到C盘。3,重启,先要按Ctrl+Alt+T 打开终端,输入代码:sudo umo. 阅读全文
posted @ 2013-08-07 11:56 行云有影 阅读(941) 评论(0) 推荐(0) 编辑
上一页 1 ··· 31 32 33 34 35