hillpig的个人博客分享 http://blog.sciencenet.cn/u/hillpig 畅想ing,思考ing,前行ing Email:bluevaley@gmail.com

博文

按标题搜索
关于赵炯《linux内核0.11完全注释》里不能用hexdump 目录的问题
2013-4-3 15:39
在RHEL6里若用: hexdump / hexdump: /: Is a directory 则无法直接对目录进行显示。 方法有二: 先确定/根目录的分区: df -lhT Filesystem Type Size Used Avail Use% Mounted on /dev/sda3 ext4 29G 5.6G 22G 21% / 然后: ...
个人分类: linux|5386 次阅读|没有评论
Autoconf的一些链接
2013-2-26 14:54
http://en.wikipedia.org/wiki/Autoconf http://autotoolset.sourceforge.net/tutorial.html#SEC1 http://www.lrde.epita.fr/~adl/autotools.html http://www.seul.org/docs/autotut/ http://www.gnu.org/prep/standards/ http://www.linuxdoc.org/HOWTO/Software-Release-Practice-HOWTO/index.html http://www.lrde.epita ...
个人分类: linux|3027 次阅读|没有评论
postgresql中关于md5认证的使用
2013-2-16 01:09
DBA要做的事(假设作为root登录): 1.首先创建一个临时密码文件,用于执行initdb(注:假设数据库初始化超级管理员用户为postgres,数据库密码12345,该密码可能和os的登录密码不同): # PWFILE=$(mktemp) echo 12345 ${PWFILE} chown postgres:postgres ${PWFILE} chmod 0600 ${PWFILE} ...
个人分类: linux|7382 次阅读|没有评论
RHEL下关闭某个端口
2013-2-15 19:08
有时由于某种原因,5432被占用,这时如果想关闭这个端口怎么做呢? 1.首先用如下命令查看端口占用情况: # netstat -ano 2.然后查看占用5432端口的程序pid: # lsof -i:5432 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME postgres 7035 postgres 3u IPv ...
个人分类: linux|4525 次阅读|没有评论
如何在RHEL中为应用增加一个菜单项
2013-2-14 01:58
在为一个应用程序制作RPM安装包时,有时候会想在系统的菜单项里增加一个菜单项,那如何做呢? 首先,列出需要学习的材料: Desktop Menu Specificationl, http://standards.freedesktop.org/menu-spec/menu-spec-1.0.html Desktop Entry Specification, http://standards.freedesktop.org/desktop-entry-spec/desktop- ...
个人分类: linux|3912 次阅读|没有评论
RHEL 6.3 U盘启动
热度 1 2012-12-4 18:47
今天有空折腾机器,光驱罢工,心想那就做个RHEL 6.3的启动U盘吧,网上查资料讲6.3的少,故记录一下。 首先从这里(http://bebout.mobi/rhel/)下载两个文件: rhel-server-6.3-i386-boot.iso rhel-server-6.3-i386-dvd.iso 下面描述一下步骤: 用UltraISO(下载地址:http://www.upan.cc/tools/others/2009/ ...
个人分类: linux|6830 次阅读|2 个评论 热度 1
我使用的linux 常见命令
2011-4-22 15:43
1.查看硬盘型号 # hdparm -i /dev/sda 结果如下: /dev/sda: Model=HITACHI, FwRev=SB4IC7UP, SerialNo=SB2441GJJBJZJE... 2.查看硬盘大小 在Red Hat Enterprise Linux 6下: # dmesg|grep sd 结果如下: sd 0:0:0:0: 312581808 512-byte logical blocks: (160 GB/149 GiB)... 3.增加lib搜索路径 最近发 ...
个人分类: linux|3599 次阅读|没有评论

本页有 3 篇博文因作者的隐私设置或未通过审核而隐藏

Archiver|手机版|科学网 ( 京ICP备07017567号-12 )

GMT+8, 2024-4-25 08:23

Powered by ScienceNet.cn

Copyright © 2007- 中国科学报社

返回顶部