1.sh jdk-1_5_0_13-dlj-linux-i586.bin --unpack
to create .rpm
2.rpm -i jdk-1_5_0_11-linux-i586.rpm
In.rpm file
3. Set the environment variables:
echo 'export JAVA_HOME=/opt/jdk1.5.0_13' > /etc/profile.d/jdk.sh
echo 'export PATH=$JAVA_HOME/bin:$PATH' >> /etc/profile.d/jdk.sh
4. Source the file you just created:
source /etc/profile.d/jdk.sh
5. You can verify that the Java environment has been installed successfully installed by executing this command from the shell:
java -version
Friday, December 12, 2008
Saturday, December 6, 2008
Set JAVA_HOME in Linux,Windows
Linux/Unix (bash)
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/local/jdk-1.5.0.05
export PATH=${PATH}:${ANT_HOME}/bin
Windows and OS/2
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk-1.5.0.05
set PATH=%PATH%;%ANT_HOME%\bin
export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/local/jdk-1.5.0.05
export PATH=${PATH}:${ANT_HOME}/bin
Windows and OS/2
set ANT_HOME=c:\ant
set JAVA_HOME=c:\jdk-1.5.0.05
set PATH=%PATH%;%ANT_HOME%\bin
Sunday, November 30, 2008
ORACLE DATABASE- ENABLE/DISABLE ALL TRIGGERS
ENABLE:
begin
for i in (select table_name from user_triggers
) LOOP
execute immediate 'alter table '||i.table_name||' enable all triggers '||'';
end loop;
end;
DISABLE:
begin
for i in (select table_name from user_triggers
) LOOP
execute immediate 'alter table '||i.table_name||' disable all triggers '||'';
end loop;
end;
begin
for i in (select table_name from user_triggers
) LOOP
execute immediate 'alter table '||i.table_name||' enable all triggers '||'';
end loop;
end;
DISABLE:
begin
for i in (select table_name from user_triggers
) LOOP
execute immediate 'alter table '||i.table_name||' disable all triggers '||'';
end loop;
end;
Configuring Pidgin 2.5.2 for Google Apps
Google's instructions for configuring Pidgin with Google Talk have a broken link to instructions for using Google Apps with a corporate domain.
So here's how I configured Pidgin to work with a corporate Google Apps account:
1. Select "Add/Edit" from the Accounts menu, then press the "Add" button.
2. Fill in fields on the basic tab.
* Protocol: XMPP
* Screen name: johndoe
* Server: example.com (Your domain name here)
* Resource: Home
* Password: ********
* Local alias: John
3. Fill in fields on the advanced tab.
* [ ] Require SSL/TLS
* [ ] Force old (port 5223) SSL
* [ ] Allow plaintext over unencrypted streams
* Connect port: 5222
* Connect server: talk.google.com
* File transfer proxies : proxy.jabber.org
* Proxy type: Use Global Proxy Settings
4. Press "Save".
Posted by David Noble at 1:42 PM
Tags: im
source:http://collaboration.dnoble.org/2007/05/configuring-pidgin-for-google-apps.html
So here's how I configured Pidgin to work with a corporate Google Apps account:
1. Select "Add/Edit" from the Accounts menu, then press the "Add" button.
2. Fill in fields on the basic tab.
* Protocol: XMPP
* Screen name: johndoe
* Server: example.com (Your domain name here)
* Resource: Home
* Password: ********
* Local alias: John
3. Fill in fields on the advanced tab.
* [ ] Require SSL/TLS
* [ ] Force old (port 5223) SSL
* [ ] Allow plaintext over unencrypted streams
* Connect port: 5222
* Connect server: talk.google.com
* File transfer proxies : proxy.jabber.org
* Proxy type: Use Global Proxy Settings
4. Press "Save".
Posted by David Noble at 1:42 PM
Tags: im
source:http://collaboration.dnoble.org/2007/05/configuring-pidgin-for-google-apps.html
Monday, November 24, 2008
Remove temp files in Fedora
Just by a single command in console.
yum clean all
yum clean all
Subscribe to:
Posts (Atom)