安装脚本1、1_preusers.sh#!/bin/bash#Purpose:Create 3 groups named 'oinstall','dba','oper', plus 1 users named 'oracle'.#Also setting the Environment#variab...
分类:
数据库 时间:
2014-07-03 10:50:44
阅读次数:
268
变量的赋值 变量的访问 变量的输入 4.1 变量的赋值 在Shell编程中,所有的变量名都由字符串组成,并且不需要对变量进行声明。要赋值给一个变量,其格式如下: 变量名=值 注意: 等号(=)前后没有空格 例如: x=6 a="How are you " 表示把6赋值给变量x,字符串"How a.....
分类:
其他好文 时间:
2014-07-01 19:02:58
阅读次数:
323
一、Cross Frame Script (跨框架脚本) 攻击什么是Cross Frame Script?很简单,做个实验就知道了。把下面的这段HTML代码另存为一个html文件,然后用ie浏览器打开。IE Cross Frame Scripting Restriction Bypass Examp...
分类:
其他好文 时间:
2014-07-01 17:10:16
阅读次数:
308
原文:SQL扫描并执行文件夹里的sql脚本场景:项目数据库操作全部使用存储过程实现。每天都会有很多存储过程更新/增加,人工对测试环境中存储过程更新,会有一定概率出现遗漏,也麻烦!所以,需要一个工具将文件夹中所有存 储过程执行一次。实现:首先想到的是用c#,很简单,而且功能强大。 但是,我想尝试一下使...
分类:
数据库 时间:
2014-07-01 16:55:22
阅读次数:
226
# Sets the target folders and the final framework product.
FMK_NAME=HovnVoipEngine
FMK_VERSION=1.0
# Install dir will be the final output to the framework.
# The following line creat...
分类:
移动开发 时间:
2014-07-01 15:36:58
阅读次数:
265
在PowerDesigner中的设计SQL Server 数据表时,要求通过vbScript脚本实现下面的功能:主键:pk_TableName外键:fk_TableName_ForeignKeyColumnList当字段作为主键,而且类型为smallint,int,bigint,那么要设置Ident...
分类:
数据库 时间:
2014-07-01 14:14:51
阅读次数:
264
1.写一个shell脚本test.sh,重新启动tomcat[java]view plaincopy#!/bin/sh./etc/profilepid=`psaux|greptomcat|grep-vgrep|grep-vretomcat|awk'{print$2}'`echo$pidif[-n"$...
分类:
系统相关 时间:
2014-07-01 12:08:38
阅读次数:
304
最近工作需要,用Cython写了*.pyx扩展,并将其编译成C文件,最后转换为so扩展,供python引用使用 distutils 编译,建立一个setup.py的脚本from distutils.core import setupfrom distutils.extension import Ex...
分类:
编程语言 时间:
2014-07-01 11:56:14
阅读次数:
250
安装反垃圾邮件功能1.exchange管理员身份登录,打开exchangemanagementshell2.进入脚本文件夹“C:\ProgramFiles\Microsoft\ExchangeServer\V14\Scripts”,执行.\instatll-antispamagent.ps1”命令安装反垃圾组件3.重启Microsoftexchangetransport4.重新打开exchange管理控制台..
分类:
其他好文 时间:
2014-07-01 10:03:05
阅读次数:
371
这个脚本支持10.7.x到10.9.x的Boot Camp.
Boot Camp.app应该在它默认的目录中,也就是/Applicaitons/Utilities/里面。
复制到一个文本文件,变更属性为可以运行,然后sudo运行之。...