终于用上环境监控电话报警系统
一直以来如果机房停电的话只能需要公司其他部门的人打电话过来告诉我们,不过经常会出现他们忘记打电话的情况,来电后空调不能自动启动,造成机房温度过高,服务器关闭。[@more@]最近公司采用了一款ZHT-DW100系列的环境监控电话报警系统,可以实现的功能:机房超温/湿等,拨打电话(4个固话或移动电话)报警。市电停电拨打电话报警。温度变送器实时显示室内温度,报警值0-100℃自行设定,面板按键操作,方便快捷。报警内容自行录音。还采购了一款空调来电自动启动器配合使用,这样的话停电后设备会给我们打电话,并且来电后空调自动启动。
informix数据库页故障的处理方法
1,在做数据库全备的时候出现下列错误:16:28:45 Assert Warning: Archive detects that page 7:45157032 is corrupt.16:28:45 IBM Informix Dynamic Server Version 10.00.UC416:28:45 Who: Session(3535, informix@tonykorn, 15099, 0xbb97f724)Thread(4372, arcbackup1, baeaaa20, 4)File: rsarcbu.c Line: 295316:28:45 stack trace for pid 10517 written to /home/informix/tmp/af.14fcbebc16:28:45 See Also: /home/informix/tmp/af.14fcbebc16:28:45 Archive detects that page 7:45157032 is corrupt.16:28:45 Assert Warning: A
建设银行,我该怎么对你说
由于工作的原因,从来到深圳后就一直用建设银行的工资卡,由于人比较懒,从一开始就办理网上银行和电话银行,不过由于电话银行打电话要钱,转账的费用比网上银行的费用要稍微高一些,所以一直用网上银行的多一些。[@more@]今年起建设银行的网上银行全部取消文件证书,要大家都更换成Ukey,当时就不爽,因为换成Ukey后有要大家出40块钱,这个明显就是霸王条款呀,不过没有办法,谁让我们公司的工资一直要发到建行,还是要办建行的卡,为了方便一些查询和转账,还是需要办一个网上银行,当时去办了网上银行后后来,跟同事说起来这个事情,同事
[转帖]Linux系统攻略 用UUID在Fstab中挂载分区
来源:http://www.oklinux.cn/html/Basic/azpz/20071018/41266.htmlFstab 文件大家都很熟悉,Linux 在启动的时候通过 fstab 中的信息挂载各个分区,一个典型的分区条目就像这样: /dev/sdb5 /mnt/usb vfat utf8,umask=0 0 0[@more@] /dev/sda4 为需要挂载的分区,sda4 是 Linux 检测硬盘时按顺序给分区的命名,一般来讲,这个名称并不会变化,但是如果你有多块硬盘,硬盘在电脑中的顺序变化的时候,相同的名称可能代表着不同的硬盘分 区,如果你是从 USB 设备启动,与其他 USB 设备的插入顺序也会导致分区识别的困难。 这个时候 UUID 就派
[转帖]掌握udev
来源:http://mlsx.xplore.cn/read.php?666如果你使用Linux比较长时间了,那你就知道,在对待设备文件这块,Linux改变了几次策略。在Linux早期,设备文件仅仅是是一些带有适当的属性 集的普通文件,它由mknod命令创建,文件存放在/dev目录下。后来,采用了devfs,一个基于内核的动态设备文件系统,他首次出现在2.3.46 内核中。Mandrake,Gentoo等Linux分发版本采用了这种方式。devfs创建的设备文件是动态的。但是devfs有一些严重的限制,从 2.6.13版本后移走了。目前取代他的便是文本要提到的udev--一个用户空间程序。[@more@]目前很多的
informix一个奇特的不能通过dbaccess连接对方数据库原因
在平时的工作中,我们可以通过dbaccess访问另外的数据库,一般是通过通过两台服务器之间的信任,需要设置的地方有:[@more@]/etc/hosts和/home/informix/.rhosts文件就可以了,但是遇到这两个地方都设置了还是不能访问,为了保险期间,把/etc/hosts.equiv文件也设置了一下,还是不行,并且检查这些文件的格式都正确。检查不能通过dbaccess访问另外一个数据库的ip也正确,并且解析的mac地址也正确。 重启服务器和数据库问题还是存在,最后检查数据库配置文件,发现配置文件中MULTIPROCESSOR参数的值为1,而实际情况下只有一个cpu,改为
Logical Volume Manager(LVM) 笔记
creating logical volumes 1,create physical volumes pvcreate /dev/sda3 2,assign physical volumes to volume groups vgcreate vg0 /dev/sda3 3,create logical volumes from volume groups lvcreate -L 256M -n data vg0 mke2fs -j /dev/vg0 data[@more@]resizing logical volumesgrowing volumes lvextend: can grow logical volumesresize2fs: can grow EXT3 filesystems onlinevgextend:adds new physical volumes to an existing volume groupshrinking volumes filesystem must be reduced firstrequires a files
software RAID 笔记
1,software RAID Configuration Create and define RAID devices using mdadm mdadm -C /dev/md0 -a yes -l 1 -n 2 -x 1 /dev/sda1 /dev/sdb1 /dev/sdc1 -l: raid级别 -n: 硬盘数 -x: 热备份硬盘数 format each RAID device with a filesystem mke2fs -j /dev/md0 test the RAID devices mdadm allows you to check the status of your RAID devices mdadm --detail /dev/md0[@more@]2,software RAID testing and recoverysimulating disk failuresmdadm /dev/md0 -f /dev/sda1(模拟sda1硬盘坏 )recovering from a
quota 笔记
1,overview implemented within the kernel enabled on a per-filesystem basis individual policies for groups or users limit by the number of blicks or indoes implement both soft and hard limits initialization partition mount options:usrquota,grpquota initialize database:quotacheck[@more@]2,setting quotas for usersimplementation start or stop quotas:quotaon,quotaoffedit quotas directly:edquota usernamefrom a shell:setquota username 4096 5120 40 50 /foodefine prototypical use
mount iso文件的时候提示Could not find any loop device
问题现象:[root@tonykorn97 user]# mount -o loop RedHat.Enterprise.Linux.5.Update.1-XiSO.iso /home/user/disc1/mount: Could not find any loop device. Maybe this kernel does not know about the loop device? (If so, recompile or `modprobe loop'.)[root@tonykorn97 user]# modprobe loopFATAL: Module loop not found.[root@tonykorn97 user]#[@more@]操作系统:[root@tonykorn97 /]# cat /etc/issueRed Hat Enterprise Linux Server release 5.1 (Tikanga)Kernel r on an m[root@tonykorn97 /]# uname -aLinux tonykor
rh131笔记--unit6-filesystem managemen
一,managing partitions 分区工具 fdisk sfdisk parted 更新一下分区表,避免重启 partprobe[@more@]二,making filesystemsmkfs.ext3mke2fs三,filesystem labels[root@server1 ~]# e2label /dev/sda5 backup[root@server1 ~]# e2label /dev/sda5backup[root@server1 ~]# mount LABEL=backup /mntblkid can be used to see labels and filesystem type of all devices例如:[root@server1 ~]# blkid /dev/mapper/VolGroup00-LogVol01: UUID="f10e321b-6fd2-47e6-8dee-4f58e63b1780" SEC_TYPE="ext2" TYPE=
rh131笔记---unit5-user administration.txt
一,用户管理 useradd usermod userdel 二,组管理 groupadd groupmod groupdel[@more@]三,密码策略管理chage -l root密码策略保存在/etc/shadow文件中四, sudousers listed in /etc/sudoers execure comands with:an effective user id of 0group id of root's groupan administrator will be contacted if a user not listed in /etc/sudoers attempts to use sudo五,network users配置:system-config-authenticationNIS configurationmust install ypbind and portmap RPMSLDAP Configurationmust install nss-ldap and
rh131笔记---unit4-system services
一,network time protocl配置文件:/etc/ntp.conf配置工具:system-config-date[@more@]二,日志服务配置远程日志服务1,服务器端配置first,on the log server set up syslogd to accept remote messages,a, Edit /etc/sysconfig/syslog; SYSLOGD_OPTIONS="-r -m 0"b, 重启syslog服务2,客户端配置a, append in /etc/syslog.conf the following line user.* @192.168.0.254b, 重启syslog服务3, 测试logger -i -t yourname "This is a test"三,XOrg: The X11 Server1,配置在3运行级别下运行system-config-dis
rh131笔记---unit3-kernel services
需要了解的内容也就是一个udev[@more@]Optional sequence 2 : creating a file persistently under /dev/Scenario: you want to make sure the /dev/myusbdisk filename is available after a reboot and can be used to mount a usb device Deliverable : A system that provides /dev/myusbdisk automatically after a reboot.System setup system running in runlevel 5Instructions 1, modify the udev subsystem in such a way that /dev/myusbdisk gets automatically create at boot time.2, reboot the system Plug a sub key to
rh131笔记---unit2-package management
一,rpm package manager1,安装删除rpm -ivh kernel-version.arch.rpm 安装rpm -e kernel-oldversion 删除rpm -U 升级或安装rpm -F 只升级,如果软件包不存在,不安装。[@more@]2,查询rpm的查询命令rpm -qa list installed packagesrpm -qf filename shows owning packagerpm -qi nmap-3.70-1 显示包的信息rpm -ql nmap-3.70-1 显示这个包包含哪些文件如果系统中没有安装这个软件包,查询用如下命令:rpm -q
rh131笔记---unit1-system initialization
1,如果/dev/hda硬盘上的MBR损坏,重新安装grub/sbin/grub-install /dev/hda[@more@]2,grub.conf文件中可以创建MD5密码,创建方法:[root@ttonykorn97 ~]# grub-md5-crypt Password: Retype password: $1$3KBGX$MmawvUW6MdGW7EgW5isTK.[root@ttonykorn97 ~]# 3,显示运行级别与切换运行级别[root@ttonykorn97 ~]# runlevel N 5[root@ttonykorn97 ~]# init 3[root@ttonykorn97 ~]# runlevel 5 3[root@ttonykorn97 ~]# runlevel显示的第一个数字为上一次的运行级别,N表示没有。第二个数字表示当前的运行级别。init 后面跟数字切换到需要的
自动挂载u盘到根目录
想让u盘自动挂载到/目录下面的backup文件夹中,具体的操作步骤为:[@more@]1,修改/etc/auto.master 文件:增加下面一行:/- /etc/auto.direct具体例子为:[root@tonykorn97 /]# cat /etc/auto.master ## $Id: auto.master,v 1.4 2005/01/04 14:36:54 raven Exp $## Sample auto.master file# This is an automounter map and it has the following format# key [ -mount-options-separated-by-comma ] location# For details of the format look at autofs(5).#/misc /etc/auto.misc/net -hosts/- /etc/auto.direct## Inc
redhat5 raw 的管理
在以前的redhat版本中,系统通过/etc/sysconfig/rawdevices配置raw的控制文件,通过/etc/init.d/rawdevices来管理raw设备的启动和关闭。[@more@]在redhat5中,raw文件的位置已经改变成/bin/raw,系统里面已经不存在/etc/sysconfig/rawdevices和/etc/init.d/rawdevices文件了,可以通过如下方法来管理raw文件。1,建立/etc/sysconfig/rawdevices文件,然后从其他操作系统上拷贝/etc/init.d/rawdevices到本地机,修改/etc/init.d/rawdevices文件中raw命令的具体位置,然后就可以通过/etc/init.d/rawdevices来启动和关闭raw文件了。2,上面的方
从CRT到LCD
跟了我5年多的BENQ 77g显示器终于不能承受长时间的负荷,几天以前已经不能使用了。今天购买了一台飞利浦 190SW8的液晶显示器。从此也进入LCD时代。 [@more@]对于跟了我5年多的benq 77g,我还是很感谢的!总体感觉这个牌子的质量中等吧,购买后过来3年多的时间只修了一次,虽然大家都说比较好的显示器应该用的时间更长一些,不过我也基本上还算满足吧,因为用他的时间确实比较长,另外就是显示器的外观还可以吧。 不过这个新的显示器就让我稍微有一些郁闷了,因为显示器的建议分辨率是1440×900,而我的老电脑
安装Foxmarks Bookmark Synchronizer
If you use Firefox on more than one computer, you'll want Foxmarks. Install Foxmarks on each computer, and it will work silently in the background to keep your bookmarks synchronized. You can also log in to my.foxmarks.com to manage your bookmarks from any computer.firefox通过书签-获取书签附加软件快速安装[@more@]