`
michelecindy
  • 浏览: 169695 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论
文章列表
#创建一个管理节点 ./manageprofiles.sh -create \ -templatePath /opt/IBM/WebSphere/AppServer/profileTemplates/cell/dmgr \ -nodeProfilePath /opt/IBM/WebSphere/AppServer/profiles/Dmgr01 \ -profileName Dmgr01 \ -cellName testCell01 \ -nodeName testCell01Manager01 \ -appServerNodeName testCell01Node01 \ -enableAd ...
1)      重启后永久性生效: 开启: chkconfig iptables on 关闭: chkconfig iptables off 2)      即时生效,重启后失效: 开启: service iptables start 关闭: service iptables stop 需要说明的是对于Linux下的其它服务都可以用以上命令执行开启和关闭操作。 在开启了防火墙时,做如下设置,开启相关端口, 修改/etc/sysconfig/iptables 文件,添加以下内容: -A RH-Firewall-1-INPUT -m state --state NEW -m tcp ...
#静默卸载 .uninstall -silent #删除安装目录 cd /opt/IBM rm -rf * #删除残余文件 rm -rf vpd.properties

解压.gz文件

解压.gz文件 gzip -d C88STML.tar.gz 解压.tar文件到指定目录 指定的目录必须先建立好 tar xvf C88STML.tar -C /tmp/C88STML
#创建一个dmgr ./manageprofiles.sh \ -create \ -profileName dmgr01 \ -profilePath /usr/WAS7/AppServer/profiles/dmgr01 \ -templatePath /usr/WAS7/AppServer/profileTemplates/management \ -nodeName S6YZMWNode01 \ -hostName S6YZMW #创建一个node ./manageprofiles.sh \ -create \ -profileName AppSrv7 \ -profilePath ...
1.解冻WAS。。 gzip -dc ??.tar.gz | tar -xvf - 2.编辑WAS自带的responsefile.nd.txt文件。 #主要有以下几个设定。 -OPT silentInstallLicenseAcceptance="true" # 是否安装license -OPT allowNonRootSilentInstall="true" # 是否不以ROOT用户安装 -OPT disableOSPrereqChecking="true" ...
今天试着装WAS对/tmp进行了一些权限修改操作 然后重启后出现 usr/libexec/gconfi-sanity-check-2 的退出状态为256 查了半天自己了后发现解决办法很简单 chmod 777 /tmp
#!/bin/ksh ENVDIR=/tmp/info/Daily ENVFILE1=$ENVDIR/ALL.IBMIHS.info.day ENVFILE2=$ENVDIR/ALL.IBMIHS_82.info.day ENVFILE3=$ENVDIR/ALL.IBMIHS_83.info.day INIFILE=/tmp/date.ini ALL=0 cat $INIFILE | awk -F\- '{print $2 " " $3}' | while read month1 date1 do cat $ENVFILE1 $ENVFILE2 $ENV ...
drop user law_sg cascade; --先要删除该表空间的用户 drop tablespace law including CONTENTS and datafiles; --然后才能删除表空间和文件
import java.util.Random; public class Practice_02 { public static void main(String[] args){ Random r = new Random(); int[] cob = new int[25]; for(int i=0;i<25;i++){ int b = r.nextInt(); int a = Math.abs(b%100); cob[i] = a; for(int h=0;h<i;h++){ if(cob[h ...

模拟扔硬币100次

    博客分类:
  • Java
import java.util.Random; public class Practice_07 { public static void main(String[] args){ Random r = new Random(); int b; int a; int k; for(int i=0;i<=100;i++){ b = r.nextInt(); a = Math.abs(b%100); k = a%2; System.out.println(a+" "+i); if(k == ...
Windows 不能在 本地计算机 启动 OracleDBConsoleorcl。有关更多信息,查阅系统事件日志。如果这是非 Microsoft 服务,请与服务厂商联系,并参考特定服务错误代码 2。 在c:\windows\system32\drivers\etc 文件夹中找到HOST文件,在最后加入     192.168.?.?(你自己目前IP) localhost
HelloWorld.java import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class HelloWorld extends HttpServlet { public void doGet(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { response.se ...
package ceshi; import java.util.ArrayList; import java.util.List; public class test { public static void main(String[] args){ String aa = "abcdAbBCD"; String cc = aa.toLowerCase(); char[] bb = aa.toCharArray(); char[] dd = cc.toCharArray(); ...
package ceshi; import java.sql.*; import java.util.*; public class JDBCceshi { public static void main(String[] args){ getConnection(); } private static void getConnection(){ String driverName="com.mysql.jdbc.Driver"; String userName="mysql"; String p ...
Global site tag (gtag.js) - Google Analytics