- 博客(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
2009-08-25
Prentice-Hall - Core C++ - A Software Engineering Approach (1280 pages).pdf
2008-09-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人