Hard Link vs Soft link

Hard Link: Unix files consist of two parts: the data part and the filename part. More than one filename can reference the same inode number; these files are called to be hard linked together. Here two hard link files file-hard-a.txt and file-hard-b.txt reference same inode number. Example: [root@sunx4150 tmp]# touch file-hard-a.txt [root@sunx4150 tmp]# ln file-hard-a.txt …

Hard Link vs Soft link Read More »

How To Encrypt your passwords in Oracle Application Server

Add the following entry to data-sources.xml <data-sourceclass=”com.evermind.sql.DriverManagerDataSource”name=”jdbc/Oracle”location=”jdbc/OracleCoreDS”xa-location=”jdbc/xa/OracleXADS”ejb-location=”jdbc/OracleDS”connection-driver=”oracle.jdbc.driver.OracleDriver”username=”scott”password=”->PwdForScott” url=”jdbc:oracle:thin:@incq245ac.idc.oracle.com:1521:V10UTF8″inactivity-timeout=”30″/> Then add the following entry to jazn-data.xml <user><name>PwdForScott</name><display-name>PwdForScott</display-name><description>Scott’s password</description><credentials>!tiger</credentials></user> Restart the OC4J and checked the jazn-data.xml You will the following With password Encrypted. <user><name>PwdForScott</name><display-name>PwdForScott</display-name><guid>82D9DA218DD411DBBF9ADBCC94167DAD</guid><description>Scott’s password</description><credentials>{903}Say314L4or3AWmsUFg/Glf2L/6GFrqqi</credentials></user> Original post blogged on b2evolution.

Solaris: Configuration for Jumpstart Software

Server Configuration for Solaris Jumpstart Software Server: – Powercard Path: – /data1/jumpstart The Solaris 9 Operating System offers an automatic installation process, Solaris JumpStart software. The Solaris JumpStart procedure enables you to install the Solaris OS automatically and configure it differently, depending on the characteristics of client systems. These identifying characteristics are used to select …

Solaris: Configuration for Jumpstart Software Read More »

Oracle: Usefull Commands

1.EXPORT: exp system@test owner=test123 file=d:oracleuser.dmp log=d:oracleuserdump.log rows=y statistics=none feedback=100 indexes=y consistent=y compress=n; (for individual tables=table1,table2,…..) 2.IMPORT: imp system@test fromuser=test123 touser=test123 file=d:oracleuser.dmp log=d:oracleuser11.log ignore=y rows=y indexes=y feedback=100; 3.ADDIND DATAFILE INTO A TABLE SPACE: alter tablespace {tablespace name}add datafile ‘PATH’ size 200m; 4.TO CHECK THE USERS IN A PARTICULAR SCHEMA: select username,default_tablespace from dba_users; 5.TO CREATE TABLESAPCE: …

Oracle: Usefull Commands Read More »

How To: Hide title bar or URL usingJavascript

Here’s the test page, testframe.html:<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″><title>Test page</title><script language=”JavaScript”><!–function openWindowNew( windowURL, windowName) {        var windowFeatures=’width=518,height=500,toolbar=0,location=0,scrollBars’  return window.open( windowURL, windowName, windowFeatures ) ;}//—></script></head><body> <a href=”#” onClick=”newWindow = openWindowNew(‘frameset.html?’+escape(‘http://www.myserver.com’), ‘Mywindowname’); newWindow.focus(); return false”>Here’s the link to myserver</a>></html> Here’s the frame page, frameset.html:<html><head><meta http-equiv=”Content-Type” content=”text/html; charset=windows-1252″><title>frame page</title></head><body><frameset onLoad=”top.content.location=location.search.substring(1)” rows=”100%”><frame name=”content” src=”about:blank”></frameset></body></html> Original post blogged on …

How To: Hide title bar or URL usingJavascript Read More »

Cognos: ReportNet Installation Procedure

Pre Installation Requirements The following Software’s must be installed and running before installing and configuring Cognos ReportNet Database (Oracle/DB2/SQL Server) for Content Store Web Server (IIS/Apache) Note: This document will focus on Oracle Database and Internet Information Services (IIS) Web Server only. Oracle For creation of Content store, the database must support Unicode Character set. …

Cognos: ReportNet Installation Procedure Read More »

Scroll to Top