寻觅生命中的那一片浅草......

每日存档 六月 12th, 2008

Create Logical Volume

是RHCE里面的内容,今天在rhel5上试过,修改了下
The Logical Volume Manager (LVM) enables you to set up one filesystem on
multiple partitions. For example, assume you’re adding more users and are running
out of room in your /home directory. You don’t have any unpartitioned space available
on your current hard disk.
With the LVM, all you need to do is add another hard disk, configure some
partitions, back up /home, and use the LVM tools to combine the new partition and
the one used by /home into a volume set. You may need to install the LVMrpm. Once it
is installed, the steps are fairly straightforward:

阅读全文»

运行bat文件时不弹出CMD窗口的方法

在网上找的,有错不要怪我,因为我不懂vbs

1、单次运行请用这个,修改auto.bat为你要运行的批处理文件的名字,并将以下内容保存为vbs格式,放到auto.bat文件所在目录,名字随便,例如run.vbs

Set shell = Wscript.createobject(“wscript.shell”)
a = shell.run (“auto.bat”,0)

2、循环运行请用这个,示例为每60秒运行一次,保存格式和所放置的目录同1所述

dim a
set a=CreateObject(“Wscript.Shell”)
Do
a.run “auto.bat”
Wscript.Sleep 60000
Loop

参考文章:

http://tieba.baidu.com/f?kz=298805494
http://hi.baidu.com/goodzhj/blog/item/2f52878baf8239d3fc1f1020.html

2008年六月
« 5月   7月 »
 1
2345678
9101112131415
16171819202122
23242526272829
30