自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(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简明学习指南

国内相关的资料不多,而且大多是一些简单的命令介绍,最详细的是harrytaurus2002 写的SELinux学习笔记,2012-02-14 版本有 444 页,够多的。本书肯定没有SELinux学习笔记的详尽,可理解为就是一个精简版。文章会分开好几部分,可通过SELinux TAG查询。

2017-12-05

Configuring the SELinux Policy

介绍SELinux的文档。This technical report describes how to configure the SELinux security policy for the example security server.

2017-12-05

SELinux - an introduction

This introduction was designed to help doing research work on SELinux. Otherwise it would take weeks to search and read the necessary documen-tation, if you haven't worked with SELinux before. This document is far from complete and only touches some subject areas of SELinux. It will try to explain the most important aspects needed to know when working the first time with SELinux. Although may sometimes being a bit superficial, it should still be correct.

2017-12-05

openg读取3ds文件,含view3ds软件

1、vc6.0 使用对话框 2、实现opengl读取3ds文件(先用view3ds从3ds文件中导出gl文件和h文件,然后添加到project中) 3、包含view3ds文件,使用方法等。

2011-12-10

vc读取word的内容

一个一个的字读取word,同时读取其中的字体、大小等等。 使用时,必须把打开的地址改下,看看代码就知道

2011-04-14

DICOMTOBMP

把dicom文件转为bmp图像 This file contains a summary of what you will find in each of the files that make up your DicomReset application. DicomReset.dsp This file (the project file) contains information at the project level and is used to build a single project or subproject. Other users can share the project (.dsp) file, but they should export the makefiles locally. DicomReset.h This is the main header file for the application. It includes other project specific headers (including Resource.h) and declares the CDicomResetApp application class. DicomReset.cpp This is the main application source file that contains the application class CDicomResetApp. DicomReset.rc This is a listing of all of the Microsoft Windows resources that the program uses. It includes the icons, bitmaps, and cursors that are stored in the RES subdirectory. This file can be directly edited in Microsoft Visual C++. DicomReset.clw This file contains information used by ClassWizard to edit existing classes or add new classes. ClassWizard also uses this file to store information needed to create and edit message maps and dialog data maps and to create prototype member functions. res\DicomReset.ico This is an icon file, which is used as the application's icon. This icon is included by the main resource file DicomReset.rc. res\DicomReset.rc2 This file contains resources that are not edited by Microsoft Visual C++. You should place all resources not editable by the resource editor in this file.

2010-10-25

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除