- 博客(14)
- 资源 (7)
- 收藏
- 关注
原创 oracle-java-installer安装失败时候的操作
sudo rm /var/lib/dpkg/locksudo rm /var/cache/apt/archives/locksudo dpkg --configure -asudo sudo purge oracle-java7-installer可能还会用到fuser:使用文件或者套节字来表示识别进程。我常用的他的两个功能:查看我需要的进程和我要杀死我查到的进程。
2016-03-23 18:58:03 934
原创 Bash脚本学习(1)
#!/bin/bash if [ $# != 1 ]; then echo -e "Usage:\n\t $0 " exitelse password=$1fiecho -e "For Ubuntu 14.04 64bit, auto install some tools.\n"echo ${password} | sudo -S apt-get update如上
2016-03-23 11:23:23 458
原创 Linux下实现软件的静默安装 debconf
1. 用debconf-show + 包名查出预配置项。2. 在脚本里,用debconf-set-selections设置然后安装。debconf-set-selections命令1.功能作用在debconf database中插入默认值2.位置/usr/bin/debconf-set-selections3.格式用法debconf-set-sele
2016-03-23 09:33:50 12368 1
原创 Ubuntu下ttf-mscorefonts-installer安装问题
Ubuntu系统中在安装ttf-mscorefonts-installer时(或者wine、ubuntu-restricted-extras等)会弹出如下窗口,导致安装过程阻塞。方法1:按Tab键,选中ok,然后按Enter键。方法2(如果使用脚本,这种就很方便):echo ttf-mscorefonts-installer msttcorefont
2016-03-22 18:44:44 4160
转载 将安装好的英文版的Ubuntu系统改为中文
首先预览一下修改之前的英语版的Ubuntu系统,之后我们就要开始修改了2依次点击并打开:“系统”---->“系统设置”---->“语言和支持”,打开语言格式设置对话框3打开的语言和文本设置对话框如下图所示,点击左下方的“添加删除语言”按钮,进入添加删除语言界面4添加删除语言界面,我们可以删除不要的语言,
2016-03-22 11:06:04 11507 1
转载 /var/lib/dpkg/lock - open(11: 资源临时不可用) 正在解析文件 '/var/lib/dpkg/updates/0012' 第 0 行附近:
无法获得锁 /var/lib/dpkg/lock - open (11: 资源临时不可用)解决:其实这是因为有另外一个程序在运行,导致锁不可用。原因可能是上次运行更新或安装没有正常完成。解决办法是杀死此进程sudo rm /var/cache/apt/archives/locksudo rm /var/lib/dpkg/locksudo dpkg --con
2016-03-19 11:37:04 2725
转载 ubuntu中apt-get安装与默认路径
一、apt-get 安装deb是debian linus的安装格式,跟red hat的rpm非常相似,最基本的安装命令是:dpkg -i file.deb或者直接双击此文件dpkg 是Debian Package的简写,是为Debian 专门开发的套件管理系统,方便软件的安装、更新及移除。所有源自Debian的Linux发行版都使用dpkg,例如Ubuntu、Knoppix 等。以
2016-03-18 17:20:54 434
原创 WPS PBC方法不安全,参见规范中的描述
The PBC method should only be used if no PIN-capable Registrar is available and the WLAN user is willing to accept the security risks associated with PBC.
2016-03-17 14:35:15 2332
转载 Ubuntu终端常用的快捷键
Ubuntu中的许多操作在终端(Terminal)中十分的快捷,记住一些快捷键的操作更得心应手。在Ubuntu中打开终端的快捷键是Ctrl+Alt+T。其他的一些常用的快捷键如下:快捷键功能Tab自动补全Ctrl+a光标移动到开始位置Ctrl+e光标移动到最末尾Ctrl+k删除此处至末尾的所有内容
2016-03-15 10:09:54 533
转载 SIOCSIFFLAGS: Operation not possible due to RF-kill
问题描述:SIOCSIFFLAGS: Operation not possible due to RF-kill 计算机系统:ubuntu12.04-LTS 在ubuntu环境下使用wifi的时候,可能会遇到这个问题:SIOCSIFFLAGS: Operation not possible due to RF-kill。有文章说这是ubunt
2016-03-14 13:52:28 5331
转载 ubuntu 右上角的”时间“不见了
方法一:首先我们用下面的命令来确认一下是否安装了日期时间指示器:sudo apt-get install indicator-datetime如果确认已经安装,那么我们需要重新配置它:sudo dpkg-reconfigure --frontend noninteractive tzdata然后重启Unity:sudo killall unity-panel-service
2016-03-11 16:26:27 1694
原创 Linux下各个errno的意思
#include #include #include int main(int argc, char ** argv){ int i = 0; for(i = 0; i { printf("errno.%02d is: %s\n", i, strerror(i)); } return 0;}
2016-03-08 11:21:23 4238
原创 TOTOLINK N500UA Wi-Fi feature
Band 1: Capabilities: 0x2f2 HT20/HT40 Static SM Power Save RX Greenfield RX HT20 SGI RX HT40 SGI TX STBC
2016-03-07 13:56:13 750
原创 Ubuntu LiveSuit V3.06不能烧写问题
LiveSuit是全志Allwinner很多平台的烧写工具,今天碰到一个问题,就是要烧image时,不会弹出“是否格式化数据分区?”窗口。折腾了一下午才搞定,归根到底是awusb此模块没有装载导致。首先,安装http://linux-sunxi.org/LiveSuit所说的安装LiveSuit。其步骤如下:Debian/Ubuntu Before you
2016-03-03 17:18:40 2829
selinux简明学习指南
2017-12-05
Configuring the SELinux Policy
2017-12-05
SELinux - an introduction
2017-12-05
openg读取3ds文件,含view3ds软件
2011-12-10
DICOMTOBMP
2010-10-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人