07 2016 档案

noone is not in the sudoers file ubuntu
摘要:Login as root or su to get root prompt type visudo an editor will open find a line says root ALL=(ALL) ALL add one with your username below that user 阅读全文

posted @ 2016-07-26 10:42 Alex0111 阅读(154) 评论(0) 推荐(0)

apt-get 0%
摘要:错误如下: www.2cto.com 使用apt-get命令安装软件时出现“0%[正在等待报头]“的提示且无法继续安装,一般出现此问题是因为安装过程中Ctrl+C强行中断或其它原因导致上一次安装没有正常完成导致的。如下方法可以解决: 1、终端下切换路径到/var/cache/apt/archives 阅读全文

posted @ 2016-07-20 15:15 Alex0111 阅读(305) 评论(0) 推荐(0)

无法获得锁 /var/lib/apt/lists/lock - open (11 资源临时不可用)
摘要:具体如下: 1、ps-aux 查出apt-get进程的PID,通常是一个四位数字。 2、用sudo kill PID代码 杀死进程 3、用sudo apt-get update,sudo apt-get dist-upgrade升级。 方法一: 执行一下 sudo dpkg --configure 阅读全文

posted @ 2016-07-20 15:02 Alex0111 阅读(771) 评论(0) 推荐(0)

Linux Shell中的特殊符号和含义简明总结(包含了绝大部份)
摘要:case语句适用于需要进行多重分支的应用情况。 case分支语句的格式如下: case $变量名 in 模式1) 命令序列1 ;; 模式2) 命令序列2 ;; *) 默认执行的命令序列 ;; esac Linux Shell中的特殊符号和含义简明总结(包含了绝大部份)_linux shell_脚本之 阅读全文

posted @ 2016-07-08 11:43 Alex0111 阅读(1150) 评论(0) 推荐(0)

导航