自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(16)
  • 资源 (14)
  • 收藏
  • 关注

原创 Swap分区太小 无法休眠 解决方法

1. 现象:pm-hibernate无法休眠,出现 pm, not enough swap;2. 系统Fedora 16,内存3G,swap分区只有1G,想办法增加swap,重新创建swap分区比较麻烦,于是先增加swap文件试试:#dd if=/dev/zero of=/root/swap bs=512M count=8#chmod 777 /root/swap ;改变权限

2012-01-31 19:32:21 3089

原创 shell 变量 & 环境变量 (bash)

1. 在bash中,shell变量可以直接通过通过如下形式创建:$name=value2. shell变量不能被子进程(字shell) 继承,通过export,可以令shell变量成为环境变量(此时会出现在env的输出中),环境变量可以被子进程继承;3. shell中查看当前所有环境变量用命令 env或者printenv(不带参),查看包括环境变量在内的所有shell变量用 set (

2012-01-28 00:38:37 685

原创 Firefox 使用笔记

插件:zoomming: noSquint下载: DownThemAll代理:fireproxy标签浏览:Tab Mix PlusFlash:Shockwave关联电驴 (ed2k协议):http://kb.mozillazine.org/Register_protocol

2012-01-25 16:22:08 645

原创 linux initrd

1. 查看initrd (Fedora 16)使用mount命令(mount -t ramfs -o loop/boot/initrd-plymouth.img /media/TEMP)挂载不了;找到另外的方法,成功:cd /tmpcp /boot/initrd-plymouth.img initrd.gz  #从FC3开始initrd文件作为gzip压缩的CPIO文件存在gu

2012-01-23 22:57:39 1481

原创 VirtualBox 使用 笔记

1. 安装VirtualBox 4.0之后拆分成了两个包,主虚拟机是VirtualBox platform packages,扩展功能放到了VM VirtualBox Extension Pack中,按照VirtualBox Personal Use and Evaluation License (PUEL)发布。现在的版本是4.1.8,两个包版本需要一致。4.1.8虚拟机依赖qt4.4和

2012-01-18 15:38:47 635

原创 xrandr 笔记

发现还是xrandr好用,不管是ubuntu 10.10还是fedora 16的监视器设置的图形工具,总是无法得到想要的效果,做一下xrandr命令的笔记。1. 查看当前连接的显示器的名称xrandr [-q]笔记本自身的屏幕一般为:LVDS1VGA外接的:VGA12.  复制一个桌面到另外的显示器xrandr --output LVDS1 --same-as VG

2012-01-16 21:37:06 1193

转载 SysVinit to Systemd Cheatsheet Linux服务配置

1. fedora 15 开始使用systemd代替原来的sysv init了,对比下systemd下systemctl和原来的service,chkconfig。http://fedoraproject.org/wiki/SysVinit_to_Systemd_Cheatsheet还有一篇简单介绍systemd,和简单命令的使用的文章:http://fedoraproject.org/w

2012-01-14 00:29:23 1066

转载 Introduction to Cgroups, the Linux Control Group

http://linuxaria.com/article/introduction-to-cgroups-the-linux-conrol-group?lang=enCgroups is present in the official Linux kernel 2.6.24 (late 2007), still he’s not much know or used (at least for

2012-01-13 23:48:24 1169

转载 Managing Group Access

保存下这个网站:http://www.yolinux.com/Linux groups are a mechanism to manage a collection of computer system users.All Linux users have a user ID and a group ID and a unique numerical identification numb

2012-01-13 21:19:32 883

原创 tar 笔记

1. 打包某一个目录(包括子目录):tar cvf dir.tar dir/ 加上压缩选项z,f选项需要出现在选项的最后面,因为这个选项后面需要跟archive文件名:tar cvzf dir.tgz dir/

2012-01-11 18:06:42 390

转载 Configuring Fedora Linux Remote Access using SSH (openssh-server, openssh)

Secure Shell (SSH) is a TCP/IP service that provides a secure mechanism for remotely logging into one system over either a local network or the internet into another system. SSH also provides the abil

2012-01-11 01:12:10 857

转载 Basic Fedora Linux Firewall Configuration (system-config-firewall)

A firewall is a vital component in protecting a computersystem, or network of computers from external attack (typically from an internet connection). Any computer connected directly to an intern

2012-01-10 23:51:10 1479

原创 rpm 笔记

1. 查看已安装软件包安装了那些文件: rpm -ql xxx2. 查看rpm包将要安装哪些文件:rpm -qlp xxx.rpm3. 查找哪个包包含指定文件:rpm -qf xxx4. 查询已经安装的包rpm -qarpm -q xxx5. 查询已安装的软件包的信息rpm -qi xxx如:rpm -qi wireshark

2012-01-09 21:28:47 615

转载 How To: Configure Secure FTP Server (VSFTPD) (on FC16)

by Kulbir Sainiin Administration,Configuration,FTP,FTP Server, HowTo, Linux, Security, ServerThis post is totally dedicated to vsftpd configuration with uploads enabled. vsftpd stand

2012-01-09 16:02:26 1296 1

转载 How to Disable SELinux

How to Disable SELinuxYou've setup a new system, or installed something new on your Linuxsystem and its not working. You get the feeling that SELinux is thecause of the problem. This page was writte

2012-01-09 15:47:33 1556

原创 yum 源

三个 fedora 16的远程源:1. sohu源:[fedora]name=Fedora $releasever - $basearch - sohu.comfailovermethod=prioritybaseurl=http://mirrors.sohu.com/fedora/releases/$releasever/Everything/$basearch/os/

2012-01-08 21:12:55 1358

dynamic bayesian

Dynamic Bayesian Networks: Representation, Inference and Learning by Kevin Patrick Murphy

2009-08-25

C++之父Bjarne谈C++中的STL模板

C++之父Bjarne谈C++中的STL模板 有些历史和想法只有他知道,看看也好。

2008-10-22

C++之父Bjarne Stroustrup的专访记录

几年前的, 主要关于STL的。

2008-10-22

OLE COM ActiveX历史渊源及关系

从历史渊源上分析几个技术之间的关系, 这样能让人明白的更加系统。是我见过的分析的比较好的文章。

2008-10-22

WinCE内存管理报告

讲解的比较透彻, 明白许多内存方面的概念。

2008-10-22

Thinking in C++ Volume2

Thinking in C++ 第二版 第二卷

2008-09-25

Thinking in C++ volum 1

Thinking in C++ 英文版第一卷

2008-09-25

Prentice-Hall - Core C++ - A Software Engineering Approach (1280 pages).pdf

以C++的工程应用为主,适合有一定开发经验的人阅读。 机械工业出版社有这本书的翻译版《C++精髓:软件工程方法》,还不错。

2008-09-25

VC文件类型解释.docx

罗列了常见的VC文件类型的含义。 就简单介绍一下,就一页,不要下了后悔。

2008-09-25

几种文件操作编程方发.doc

主要介绍了C、C++和Windows API文件操作的方法。

2008-09-25

Linux系统管道和有名管道的通信机制.doc

Linux系统管道和有名管道的通信机制,简要介绍了IPC通信的一种方式。

2008-09-25

图像文件格式、结构.doc

图像文件格式、结构,几种常见的图像结构的介绍。

2008-09-25

十年MFC经历认识的Microsoft技术

十年MFC经历认识的Microsoft技术,体会别人的经验与技术,来自csdn。

2008-09-25

Linux系统调用列表.doc

常用Linux系统调用列表,附有简单的中文介绍。

2008-09-25

空空如也

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

TA关注的人

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