Install Bugzilla on Linux 03
Continue [Section 6~15] 6. Install a Mail Transfer Agent [root@centos DBD-Oracle-1.24]# rpm -qa|grep sendmail sendmail-8.13.1-3.3.el4 Sendmail is the original Unix MTA,and it has been installed. 7. Installing Bugzilla on mod_perl You have two options for running Bugzilla under Apache - mod_cgi (the default) and mod_pe
Install Bugzilla on Linux 02
Continue [Section 5] 5. Install Perl modules 5.1 Execute the bugzilla checksetup.pl You can run the checksetup.pl program as many times as you like until you’ve verified all the required perl modules are installed. # cd /var/www/html/bugzilla-3.2.5[@more@]# ./checksetup.pl --check-modules * This is Bugzilla 3.2.5 on perl 5.8.5 * Running on Linux 2.6.9-78.EL #1 Thu Jul 24 23:46:01 EDT 2008 Checking
Install Bugzilla on Linux 01
最近在做Bugzilla一些增强应用,Bugzilla是perl语言编写的,就想着先装一套Bugzilla的运行环境起来,这个安装起来还真费工夫,特别是里面的perl module的一些依赖关系,让人挺崩溃的,于是记录整个过程如下:Overview: 1. Install Perl (5.8.1 or above) 2. Install a Database Engine 3. Install a Webserver 4. Install Bugzilla 5. Install Perl modules 6. Install a Mail Transfer Agent (Sendmail 8.7 or above, or an MTA that is Sendmail-compatible with at least this version) 7. Configure all o
[ASP.NET State service] error
When you login the system ,it will show error as below: Unable to make the session state request to the session state server. Please ensure that the ASP.NET State service is started and that the client and server ports are the same. If the server is on a remote machine, please ensure that it accepts remote requests by checking the value of HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesaspnet_stateParametersAllowRemoteConnection. If the server is on the local machine, and if the be
Linux下perldoc乱码延伸至LANG,LC_ALL,locale探讨
在Linux下用perldoc命令查看的时候出现乱码 # perldoc Test::Builder 如果出现这种问题,还会出现在其他的Linux命令,如man,info 而我的Linux操作系统是英文的,设置的locale: LANG= en_US.UTF-8 出现这种情况,应该是编码格式的问题,可以再profile文件中设置: $ vi .bash_profile alias man='LANG=C man' C代表英文环境 ASCII 编码格式[@more@]Locale: Locale是根据计算机用户所使用的语言,所在国家或者地区,以及当地的文化传统所定义的一个软件运行时的语言环境。 这个用户环境可以按照所涉及到的文化
MS Word自动生成目录与索引
想自动生成目录,打文件时应设置题目格式。 一、输入题目时这样操作 1、打开WORD文档输入标题时,点菜单字体栏左侧样式窗口,选“题目1”,并选好字体和字号;如果想在目录中显示二级题目,输入二级题目时应选择“题目2”。 2、输入正文时,则应在样式窗口选择“正文”。 3、文章已经写完,可以补做上述操作。做上述操作后,标题左侧回游
Get detailed table(many other objects) structure with dbms_metadata
如果要快速了解一个表的每个字段的基本信息,可以通过 SQL> desc table_name 但是要获取详细的建表以及相关存储信息的话,可以使用dbms_metadata package,如下 SQL> set long 99999 SQL> set linesize 1000 SQL> set pagesize 160 SQL> select dbms_metadata.get_ddl('TABLE','LEGAL_ENTITY') from dual; 除了table之外,还可以用于Index,FK,PK,Tablespace,user等对象,例如:SQL> SELE
Windows下批量删除N天前的文件
现在要将一台远程windows机器的备份文件每天定时copy到本地windows 2003机器,并且删除过期的文件,然后放到任务计划中自动执行。CMD批处理脚本如下:REM Start copy all bak files from remote machine,REM Then,remove the files beyond 3 days.copy /Y //192.168.0.75/g$/DB_backup/CVSHelper/*.bak . forfiles /m *.bak /d -3 /c "cmd /c del @file /f" REM End [@more@]Reference:http://hi.baidu.com/runwa/blog/item/ac50db1f4ddaebffe1fe0bd8.html
Difference of Revoke System Privileges and Object Privileges
system privelege : grant ... with admim option revoke ... Not cascade object privilege : grant ... with grant optin revoke ... cascade[@more@]Revoking System Privileges There are no cascading effects when a system privilege is revoked, regardless of whether it was given the ADMIN OPTION. Read through the following steps that illustrate this. Scenario 1. The DBA grants the CREATE TABLE system privilege to Jeff with the ADMIN OPT
For v$ views you need to grant privilege to each v_$ directly
最近在看Thomas Kyte的<Expert Oracle.Database.Architecture.9i.and.10g>,在定制环境的时候,运行以下脚本,出现问题: scott@SHENZHEN> grant select any table to scott; scott@SHENZHEN> create or replace view stats as select 'STAT...' || a.name name, b.value from v$statname a, v$mystat b where a.statistic# = b.statistic# union all select 'LATCH.' || name, gets from v$latchlatch union all 9 select 'STAT...Elapsed Time', hsecs from v$timer;
EXP error EXP-00003 EXP-00091 EXP-00015
今天在用9.2.0.1客户端exp导出9.2.0.7的schema的时候,在log中发现有以下错误,在网上查了一下,刚好有人也碰到过这个问题,应该是oracle的一个小bug.EXP-00003: no storage definition found for segment(13, 3945)Cause:The error is caused by a database bug as explained in the following note:Note 3291851.8 Bug 3291851 - EXP-3 exporting LOB from 9205 or higher DB with <9205 export >Table being exported is in Oracle9i 9.2.0.5.0 or any higher source database.Table itself or Large Object (LOB) in table has
Exp/Imp & Load Data
为了帮助开发团队,在每次版本发布之前做回归测试,需要重新创建一个schema,该schema的数据库结构基于已有schema MMO,但是新的schema业务数据需要重新导入,这些业务数据已经有一批insert sql 脚本,在导入过程需要考虑外键约束。Baseline schema : MMONew schema : MR在winxp通过cmd命令操作Oracle客户端sqlplus,步骤如下:[@more@]1_EXPORT_MMO_NODATA.BATrem --start--set admin_account=MMO/PASSWORD@MSset DMPFILENAME=MMO_NODATAset NLS_LANG=AMERICAN_AMERICA.AL32UTF8exp %admin_account% file=%DMPFILENAME%.DMP LOG=EXP_%DMP
博客寄语 开张大吉
一直都想着在博客里,记录一些工作和生活的点滴,走过留痕,权当一个记事本,也方便日后查阅。 从今天开始,在ITPUB上记录技术Tips或者总结,以此祝贺开张大吉! [@more@]