灌溉梦想,记录脚步

怎样使用kickstart创建逻辑卷管理(LVM)分区

解决方法:
在ks.cfg文件的’Disk Partition Information’下添加以下选项,使用kickstart创建逻辑卷管理(LVM)分区:

#Disk partitioning information
part pv.
volgroup logvol –vgname= –size= –name=
注意: 上面提到的选项是有先后顺序的。物理卷将先被创建,然后是卷组和逻辑卷。

一个例子: 创建两个物理分区分别给Boot和Swap分区,剩余的空间作LVM。
继续阅读 »

Weblogic注册为服务

如何把新建的域的服务器注册为windows服务
①把C:\bea\wlserver_10.3\server\bin\installSvc.cmd复制到需要注册windows服务的域下。例如新建一个base_domain域。则复制到C:\bea\user_projects\domains\base_domain下。

②在installSVC.cmd中注释掉【::call “%WL_HOME%\common\bin\commEnv.cmd”】添加【call “%DOMAIN_HOME%\bin\setDomainEnv.cmd”】,设置环境变量的调用改为域中的脚本。

③添加域home目录,添加以下变量
■set DOMAIN_HOME=C:\bea\user_projects\domains\base_domain
■set USERDOMAIN_HOME=%DOMAIN_HOME%
■set DOMAIN_NAME=base_domain 名字即为建立的域名

④运行installSvc.cmd服务即可建立,
服务名:-svcname:”beasvc_%DOMAIN_NAME%_%SERVER_NAME%”
运行sc start 服务名 ,运行weblogic console验证是否成功。

Windows 7 快捷键

From Desktop

Windows Key + Tab : Aero [press Tab to cycle between Windows]

Windows Key + E : Windows Explorer is launched.

Windows Key + R : Run Command is launched.

Windows Key + F : Search (which is there in previous Windows versions too)

Windows Key + X : Mobility Center

Windows Key + L : Lock Computer (It is there from the earlier versions as well)

Windows Key + U : Launches Ease of Access
继续阅读 »

EMCA常用命令

创建一个EM资料库
emca -repos create
重建一个EM资料库
emca -repos recreate
删除一个EM资料库
emca -repos drop
配置数据库的 Database Control
emca -config dbcontrol db
删除数据库的 Database Control配置
emca -deconfig dbcontrol db
重新配置db control的端口,默认端口在1158
emca -reconfig ports
emca -reconfig ports -dbcontrol_http_port 1160
emca -reconfig ports -agent_port 3940
继续阅读 »