<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4143617033884196890</id><updated>2024-11-19T21:30:37.065+01:00</updated><category term="CentOS 6"/><category term="Repository"/><category term="How-To"/><category term="Oracle"/><category term="SQL"/><category term="Enterprise Linux"/><category term="Red Hat"/><category term="Plugins"/><category term="Tweaks"/><category term="11g"/><category term="ATrpms"/><category term="DBA tasks"/><category term="Database"/><category term="EPEL"/><category term="Media player"/><category term="SQL*PLUS"/><category term="Ubuntu"/><category term="XE"/><category term="Adobe"/><category term="Aginity"/><category term="Apex"/><category term="Codecs"/><category term="Drivers"/><category term="Flash"/><category term="Gedit"/><category term="JDK"/><category term="Java"/><category term="Linux"/><category term="Mplayer"/><category term="Netezza"/><category term="PureData"/><category term="SAN"/><category term="nzsql"/><title type='text'>Oracle Noob</title><subtitle type='html'>My collection of tips, tricks, scripts and installation guides related to CentOS 6, Linux, Oracle databases, PL/SQL, Bash, RMAN and DATAGUARD on my way to become a OCA and OCP.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://oracle-noob.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-877713931842606838</id><published>2014-06-15T20:30:00.000+02:00</published><updated>2014-06-15T20:41:43.794+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="How-To"/><category scheme="http://www.blogger.com/atom/ns#" term="Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><category scheme="http://www.blogger.com/atom/ns#" term="SAN"/><title type='text'>Scan and Add SAN disks in Linux (Redhat &amp; Centos) without reboot</title><content type='html'>This small guide will try to explain how to scan and add SAN disks to a Centos / Redhat server.

To detect new disks that been added (zoned) to the server run the following commands.
&lt;pre class=&quot;prettyprint&quot;&gt;
for i in `seq 0 10`; do echo 1 &gt; /sys/class/scsi_device/device$i/scan; done
for i in `seq 0 10`; do echo &quot;- - -&quot; &gt; /sys/class/scsi_host/host$i/scan; done
&lt;/pre&gt;
The commands will loop thru all scsi_devices and activate a rescan.
Note: if scsi_host does not exists, use fc_host instead.
&lt;/br&gt;
&lt;/br&gt;

If you have the sg3_utils package installed you can run this instead:
&lt;pre class=&quot;prettyprint&quot;&gt;
/usr/bin/rescan-scsi-bus.sh -l
&lt;/pre&gt;
But then LUN0 must be the first mapped logical unit for it to work.
&lt;/br&gt;
&lt;/br&gt;

To see the newly scanned disks run:
&lt;pre class=&quot;prettyprint&quot;&gt;
lsscsi 
&lt;/pre&gt;
or  
&lt;pre class=&quot;prettyprint&quot;&gt;
fdisk -l 
&lt;/pre&gt;
&lt;/br&gt;
&lt;/br&gt;

If you are using multipath i also recommend you to run this to force a devmap reload:
&lt;pre class=&quot;prettyprint&quot;&gt;
multipath -r
&lt;/pre&gt;
&lt;/br&gt;
&lt;/br&gt;

Check that the new disks shows up with:
&lt;pre class=&quot;prettyprint&quot;&gt;
multipath -l
&lt;/pre&gt;
&lt;/br&gt;
&lt;/br&gt;

Now we can proceed with creating a LVM volume on those disks.
</content><link rel='replies' type='application/atom+xml' href='http://oracle-noob.blogspot.com/feeds/877713931842606838/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oracle-noob.blogspot.com/2014/06/scan-and-add-san-disks-in-linux-redhat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/877713931842606838'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/877713931842606838'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2014/06/scan-and-add-san-disks-in-linux-redhat.html' title='Scan and Add SAN disks in Linux (Redhat &amp; Centos) without reboot'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-5274137908283752137</id><published>2014-06-15T19:43:00.000+02:00</published><updated>2014-11-12T15:38:42.065+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Aginity"/><category scheme="http://www.blogger.com/atom/ns#" term="Netezza"/><category scheme="http://www.blogger.com/atom/ns#" term="nzsql"/><category scheme="http://www.blogger.com/atom/ns#" term="PureData"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>Show locks in a Netezza Database</title><content type='html'>This SQL statement when run in Aginity or nzsql will show you all sessions that cause locks in a database.

&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;select sessionid, 
       clientip,
       username, 
       relname as table_name, 
       requesttime as lock_request_time,
       granttime as lock_acquired_time, 
       command as sql, 
       lockstate  
from _t_pg_locks 
where relid in ( select relid from _t_pg_locks where lockstate=&#39;WAIT&#39;) 
order by requesttime, granttime
&lt;/pre&gt;
To kill a session / transaction you can simply right click it under current sessions in Netezza Administrator. </content><link rel='replies' type='application/atom+xml' href='http://oracle-noob.blogspot.com/feeds/5274137908283752137/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oracle-noob.blogspot.com/2014/06/show-locks-in-netezza-database.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/5274137908283752137'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/5274137908283752137'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2014/06/show-locks-in-netezza-database.html' title='Show locks in a Netezza Database'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-7934934547962966318</id><published>2014-05-26T22:55:00.000+02:00</published><updated>2014-06-15T19:31:14.976+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11g"/><category scheme="http://www.blogger.com/atom/ns#" term="Apex"/><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="DBA tasks"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL*PLUS"/><category scheme="http://www.blogger.com/atom/ns#" term="XE"/><title type='text'>Unlock APEX admin user (when apxchpwd.sql doesn&#39;t work)</title><content type='html'>First we need to find the Apex admin accounts user_id. We do that with the following statement. &lt;/br&gt; 
You might have two. Mine was the second one
&lt;pre class=&quot;prettyprint&quot;&gt;
select user_id from APEX_040200.WWV_FLOW_FND_USER where user_name = &#39;ADMIN&#39; order by last_update_date desc;
&lt;/pre&gt;
&lt;/br&gt;

Set a new password for the Apex Admin with the user_id we selected.
&lt;pre class=&quot;prettyprint&quot;&gt;
update APEX_040200.WWV_FLOW_FND_USER
set web_password = &#39;password&#39;
where user_name = &#39;ADMIN&#39;
and user_id = 56502607595642;
commit;
&lt;/pre&gt;
&lt;/br&gt;

Then we unlock the Admin account with this statement.
&lt;pre class=&quot;prettyprint&quot;&gt;
alter session set current_schema = APEX_040200;
begin
wwv_flow_security.g_security_group_id := 10;
wwv_flow_fnd_user_api.UNLOCK_ACCOUNT(&#39;ADMIN&#39;);
commit;
end;
&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://oracle-noob.blogspot.com/feeds/7934934547962966318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://oracle-noob.blogspot.com/2014/05/unlock-apex-admin-user.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/7934934547962966318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/7934934547962966318'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2014/05/unlock-apex-admin-user.html' title='Unlock APEX admin user (when apxchpwd.sql doesn&#39;t work)'/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/blank.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-3734538090637725247</id><published>2014-01-11T22:53:00.000+01:00</published><updated>2014-06-15T20:33:22.530+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="How-To"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Tweaks"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Install Oracle Data Modeler 4.0 on Ubuntu 14.04</title><content type='html'>This little HOW-TO will explain how to install Oracle&#39;s Data Modeler 4.0 on Ubuntu 14.04&lt;br /&gt;
First download the Oracle Data Modeler 4 rpm from Oracle&#39;s website http://www.oracle.com&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install alien to be able to convert .rpm packages to .deb&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;sudo apt-get install alien&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Convert and install the Data Modeler 4 .rpm&lt;/b&gt;&lt;br /&gt;
This way you will be able to link the program on the launcher&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;sudo alien --scripts datamodeler-4.0.*.rpm 
sudo dpkg -i datamodeler_4.0.*.deb &lt;/pre&gt;
&lt;b&gt;&lt;br /&gt;Fix an install bug and the startscript for Data Modeler so it won&#39;t crash on startup&lt;/b&gt;&lt;br /&gt;
Edit /usr/local/bin/datamodeler and add:&lt;br /&gt;
&lt;i&gt;unset -v GNOME_DESKTOP_SESSION_ID&lt;/i&gt; to the first line in the start script.&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
sudo touch /opt/datamodeler/datamodeler/types/defaultdomains.xml
sudo chown username.username /opt/datamodeler/datamodeler/types/defaultdomains.xml
sudo vi /usr/local/bin/datamodeler
&lt;/pre&gt;
Done! Now you can find and start it in unity!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/3734538090637725247'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/3734538090637725247'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2014/01/install-oracle-data-modeler-40-on.html' title='Install Oracle Data Modeler 4.0 on Ubuntu 14.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-4359756525524290425</id><published>2014-01-11T22:25:00.000+01:00</published><updated>2014-06-15T20:33:55.752+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="How-To"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="Tweaks"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Install Oracle SQL Developer 4.0  on Ubuntu 14.04</title><content type='html'>This little HOW-TO will explain how to install Oracle&#39;s SQL Developer 4.0 on Ubuntu 14.04&lt;br /&gt;
First download the Oracle SQL developer 4 rpm from Oracle&#39;s website http://www.oracle.com&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install alien to be able to convert .rpm packages to .deb&lt;/b&gt;&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;sudo apt-get install alien&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;Convert and install the SQL developer 4 .rpm&lt;/b&gt;&lt;br /&gt;
This way you will be able to link the program on the launcher&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;sudo alien --scripts sqldeveloper-4.0.*.noarch.rpm 
sudo dpkg -i sqldeveloper_4.0.*.deb &lt;/pre&gt;
&lt;b&gt;&lt;br /&gt;Fix the startscript for SQL developer so it won&#39;t crash on startup&lt;/b&gt;&lt;br /&gt;
Edit /usr/local/bin/sqldeveloper and add:&lt;br /&gt;
&lt;i&gt;unset -v GNOME_DESKTOP_SESSION_ID&lt;/i&gt; to the first line in the start script.&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;sudo vi /usr/local/bin/sqldeveloper
&lt;/pre&gt;
Done! Now you can find and start it in unity!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/4359756525524290425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/4359756525524290425'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2014/01/install-oracle-sql-developer-40-in.html' title='Install Oracle SQL Developer 4.0  on Ubuntu 14.04'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-3147435200905158027</id><published>2011-10-16T16:18:00.000+02:00</published><updated>2014-04-16T00:58:18.439+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><title type='text'>Enable RPMforge repository</title><content type='html'>These few commands will help you add the &lt;a href=&quot;http://apt.sw.be//&quot;&gt;RPMforge&lt;/a&gt; repository on your system.&lt;br /&gt;
They have alot of good and useful rpms that are often needed.&lt;br /&gt;
&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
yum update
&lt;/pre&gt;
Done!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/3147435200905158027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/3147435200905158027'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/enable-rpmforge-repository.html' title='Enable RPMforge repository'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-5254386169951145682</id><published>2011-10-16T14:20:00.001+02:00</published><updated>2014-04-16T00:54:00.631+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="How-To"/><category scheme="http://www.blogger.com/atom/ns#" term="Tweaks"/><title type='text'>Install the Microsoft Core fonts</title><content type='html'>This HOW-TO will show you how to install the Microsoft Core Fonts.
&lt;br/&gt;
These steps will download build and install an rpm with the mscorefonts.
&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;
su - root
cd ~
yum install chkfontpath rpm-build cabextract
mkdir rpmbuild
cd rpmbuild
wget http://corefonts.sourceforge.net/msttcorefonts-2.0-1.spec
rpmbuild -bb msttcorefonts-2.0-1.spec 
rpm -ivh RPMS/noarch/msttcorefonts-2.0-1.noarch.rpm
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/5254386169951145682'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/5254386169951145682'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-microsoft-core-fonts.html' title='Install the Microsoft Core fonts'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-6663246878980175935</id><published>2011-10-15T18:16:00.000+02:00</published><updated>2014-04-17T21:10:52.657+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="DBA tasks"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>List current active users, sessions  and programs in Oracle 11g</title><content type='html'>&lt;b&gt;List current users, sessions  and programs &lt;/b&gt;&lt;br/&gt;
(not background processes)
&lt;pre class=&quot;prettyprint&quot;&gt;
SELECT username, sid, serial#, program
FROM v$session
WHERE username is NOT NULL
ORDER BY logon_time;
&lt;/pre&gt;

Remove there WHERE clause if you want to include all background processes like pmon.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/6663246878980175935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/6663246878980175935'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/list-current-active-users-sessions-and.html' title='List current active users, sessions  and programs in Oracle 11g'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-1811278160246163096</id><published>2011-10-15T14:45:00.001+02:00</published><updated>2014-04-16T00:55:21.686+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="EPEL"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><title type='text'>Install the EPEL repository on CentOS 6, Oracle Linux and RHEL 6</title><content type='html'>This little HOW-TO shows you how to enable the fedora EPEL repository on the 64 bit version of CentOS 6, Oracle Linux 6 and  Red Hat Enterprise Linux 6 (x86_64)&lt;br /&gt;
It contains a lot of useful packages and software that you wont have access to otherwise&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Add the EPEL repository from the fedora project&lt;/b&gt;&lt;br /&gt;
Open a terminal and become root&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm

&lt;/pre&gt;Thats it!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/1811278160246163096'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/1811278160246163096'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-epel-repository-on-centos-6.html' title='Install the EPEL repository on CentOS 6, Oracle Linux and RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-561668644249270739</id><published>2011-10-15T14:33:00.000+02:00</published><updated>2014-04-16T00:56:08.220+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATrpms"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Codecs"/><category scheme="http://www.blogger.com/atom/ns#" term="Media player"/><category scheme="http://www.blogger.com/atom/ns#" term="Mplayer"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><title type='text'>How to enable Media playback on CentOS, Oracle Linux and RHEL 6</title><content type='html'>This HOW-TO will go thru the process of enabling multimedia like DivX, WMV and other codecs
&lt;br /&gt;
(or MPlayer and its codecs) on CentOS 6 and other Enterprise Linux versions (like Oracle and Red Hat)
&lt;br /&gt;
&lt;br /&gt;
First make sure you have the ATrpms and RPMforge repositories enabled.&lt;br /&gt;
If you like Media player in gnome (based on totem and gstreamer) Then just install the 2 packages below. Otherwise see the Mplayer install.
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install plugins for gnome default media player&lt;/b&gt;
&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;yum install gstreamer-ffmpeg gstreamer-plugins-ugly gstreamer-plugins-bad libmms
&lt;/pre&gt;
Thats it! Now you can play almost everything. &lt;br /&gt;
If you feel that its not enough, then install MPlayer too.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install Mplayer&lt;/b&gt;
&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
yum install ffmpeg libdvdcss libdvdread libdvdnav lsdvd mplayer gnome-mplayer

# Then download the lastest complete codec pack. (This was the latest at the time)
cd ~
wget http://www.mplayerhq.hu/MPlayer/releases/codecs/all-20110131.tar.bz2
tar -jxvf all-20110131.tar.bz2
cd all-20110131

# Create the codecs directory and copy the plugins there.
mkdir /usr/lib/codecs
cp * /usr/lib/codecs
&lt;/pre&gt;
&lt;br /&gt;
Now you should have GNOME-Mplayer under Sound &amp;amp; Video in the start menu.&lt;br /&gt;
Enjoy!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/561668644249270739'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/561668644249270739'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/how-to-enable-media-playback-on-centos.html' title='How to enable Media playback on CentOS, Oracle Linux and RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-6053294024781028268</id><published>2011-10-15T13:33:00.005+02:00</published><updated>2014-04-16T00:57:42.801+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="ATrpms"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Media player"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><title type='text'>How to add the ATrpms repository on CentOS 6, Oracle Linux 6 and RHEL 6</title><content type='html'>&lt;a href=&quot;http://atrpms.net/&quot;&gt;ATrpms&lt;/a&gt; have few but very good rpms&lt;br /&gt;
I use them to enable media playback on my desktop systems.&lt;br /&gt;
&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;# Become root
su - root

# Import the GPG key for ATrpms
rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms

# Open an editor
vi /etc/yum.repos.d/atrpms-stable.repo

# Paste this into the atrpms-stable.repo file    
[atrpms-stable]
name=RHEL 6 - atrpms-stable - $releasever - $basearch 
baseurl=http://dl.atrpms.net/el6-$basearch/atrpms/stable/
gpgcheck=1
enabled=1
priority=3
exclude=*release

# Update YUM
yum update
&lt;/pre&gt;Done!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/6053294024781028268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/6053294024781028268'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/how-to-add-atrpms-repository.html' title='How to add the ATrpms repository on CentOS 6, Oracle Linux 6 and RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-5490952652943367319</id><published>2011-10-15T13:12:00.000+02:00</published><updated>2011-10-15T18:23:23.888+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Gedit"/><category scheme="http://www.blogger.com/atom/ns#" term="Plugins"/><title type='text'>Install Symbol Browser plugin for Gedit on Centos 6</title><content type='html'>HOW-TO install the &lt;a href=&quot;http://www.micahcarrick.com/gedit-symbol-browser-plugin.html&quot;&gt;Symbol Browser plugin&lt;/a&gt; for Gedit 2.28.4 (default for Centos 6)&lt;br /&gt;
You might need to install some more dependencies depending of your type of CentOS install.&lt;br /&gt;
(./configre will report what you are missing)&lt;br /&gt;
&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;# FIX DEPENDENCIES 
    su - root
    yum install enchant-aspell enchant-develiso-codes-devel    
    exit

# DOWNLOAD AND EXTRACT SOURCES
    cd ~
    wget http://ftp.acc.umu.se/pub/gnome/sources/gedit/2.28/gedit-2.28.4.tar.gz
    tar -xzf gedit-2.28.4.tar.gz
    cd gedit-2.28.4
    cd plugins
    wget http://sourceforge.net/projects/symbol-browser/files/symbol-browser/gedit-symbol-browser-plugin/gedit-symbol-browser-plugin-0.1.tar.gz
    tar -xzf gedit-symbol-browser-plugin-0.1.tar.gz

# EDIT MAKE AND CONFIGURE FILES
    sed -i &#39;s/SUBDIRS =/SUBDIRS = \t\\\n\tsymbolbrowser\t/g&#39; Makefile.am
    sed -i &#39;s/DIST_SUBDIRS =/DIST_SUBDIRS =\t\\\n\tsymbolbrowser\t/g&#39; Makefile.am
    cd ..
    sed -i &#39;s/AC_CONFIG_FILES(\[/AC_CONFIG_FILES(\[\nplugins\/symbolbrowser\/Makefile/g&#39; configure.ac

# BUILD THE PLUGIN
    autoconf
    automake
    ./configure
    cd plugins/symbolbrowser
    make

# COPY TO HOME FOLDER 
    cp symbolbrowser.gedit-plugin .libs/libsymbolbrowser.so ~/.gnome2/gedit/plugins/
    cp -r symbols ~/.gnome2/gedit/
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/5490952652943367319'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/5490952652943367319'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-symbol-browser-plugin-for-gedit.html' title='Install Symbol Browser plugin for Gedit on Centos 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-8273586024022189321</id><published>2011-10-12T21:56:00.003+02:00</published><updated>2014-04-17T21:12:33.332+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="11g"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Database"/><category scheme="http://www.blogger.com/atom/ns#" term="How-To"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="XE"/><title type='text'>Install Oracle 11gR2 XE on Centos 6, Oracle Linux 6, RHEL 6</title><content type='html'>This little HOW-TO shows you how download and install the 64 bit version of Oracle 11gR2 XE APEX &lt;br/&gt;
on CentOS 6, Oracle Linux 6 and Red Hat Enterprise Linux 6 (x86_64)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Download Oracle 11gR2 XE from &lt;a href=&quot;http://download.oracle.com/otn/linux/oracle11g/xe/oracle-xe-11.2.0-1.0.x86_64.rpm.zip&quot;&gt;www.oracle.com&lt;/a&gt; &lt;/b&gt;&lt;br /&gt;
Open a terminal and become root, then go to the folder you downloaded the file to.&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
unzip oracle-xe-11.2.0-1.0.x86_64.rpm.zip
cd Disk1
rpm -Uvh oracle-xe-11.2.0-1.0.x86_64.rpm
/etc/init.d/oracle-xe configure
&lt;/pre&gt;Thats it!&lt;br /&gt;
&lt;br /&gt;
You can now stop and start the database with: &lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;/etc/init.d/oracle-xe stop
/etc/init.d/oracle-xe start
&lt;/pre&gt;You might also want to add the oracle binaries in your $PATH so you can access sqlplus, rman and other commands.&lt;br /&gt;
Open a terminal and become root. Then cut n&#39; paste the script below into:&lt;br /&gt;
/etc/profile.d/oracle.sh&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
vi /etc/profile.d/oracle.sh
&lt;/pre&gt;Enter this script:&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;if ! echo ${PATH} | /bin/grep -q /u01/app/oracle/product/11.2.0/xe/bin ; then
PATH=/u01/app/oracle/product/11.2.0/xe/bin:${PATH}
fi
&lt;/pre&gt;Save it, then close the terminal and open a new one for the change to take effect.&lt;br /&gt;
To access the webgui and/or apex:&lt;br /&gt;
Go go &lt;a href=&quot;http://localhost:8080&quot;&gt;http://localhost:8080&lt;/a&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/8273586024022189321'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/8273586024022189321'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-oracle-11gr2-xe-on-centos-6.html' title='Install Oracle 11gR2 XE on Centos 6, Oracle Linux 6, RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-7287609962242376308</id><published>2011-10-12T21:05:00.007+02:00</published><updated>2011-10-15T18:26:02.989+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="EPEL"/><category scheme="http://www.blogger.com/atom/ns#" term="Oracle"/><category scheme="http://www.blogger.com/atom/ns#" term="Plugins"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><category scheme="http://www.blogger.com/atom/ns#" term="SQL*PLUS"/><title type='text'>How to get command-line history in SQL*PLUS with rlwrap</title><content type='html'>sql*plus does not have a command-line history function under Linux and Unix.&lt;br /&gt;
rlwrap is a readline wrapper for shell commands which uses input from the controlling terminal.&lt;br /&gt;
It adds a persistent input history for each command and supports user-defined completion.&lt;br /&gt;
&lt;br /&gt;
You can install it via yum if you have enabled the EPEL repository. &lt;br /&gt;
Or you can download the sources &lt;a href=&quot;http://utopia.knoware.nl/~hlub/uck/rlwrap/&quot;&gt;from here&lt;/a&gt; &lt;br /&gt;
Then open a terminal and go to the catalog you downloaded it to&lt;br /&gt;
&lt;br /&gt;
If you have the EPEL repository enabled&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;su - root
yum install rlwrap
&lt;/pre&gt;&lt;br /&gt;
Otherwise you do like this. Again in the folder you downloaded the file to.&lt;br /&gt;
Open a terminal&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;su - root
tar -zxvf rlwrap-0.37.tar.gz
./configure
make
make install
&lt;/pre&gt;&lt;br /&gt;
Now you can call sqlplus like this:&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;rlwrap sqlplus user/password@sid
&lt;/pre&gt;I also recommend creating an alias like this&lt;br /&gt;
&lt;pre class=&quot;brush:shell&quot;&gt;alias sqlp =”rlwrap sqlplus”
&lt;/pre&gt;Now you can start the wrapped sqlplus with sqlp and have command history with the ↑ and ↓ keys on your keyboard.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/7287609962242376308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/7287609962242376308'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/how-to-get-command-history-in-sqlplus.html' title='How to get command-line history in SQL*PLUS with rlwrap'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-3727832137442673743</id><published>2011-10-09T21:54:00.008+02:00</published><updated>2014-04-17T21:10:03.307+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="JDK"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><title type='text'>Install Oracle Java 6 JDK on CentOS 6 and RHEL 6</title><content type='html'>This little HOW-TO shows you how install Oracle&#39;s Java 6 JDK on the 64 bit version of CentOS 6 and Red Hat Enterprise Linux 6 (x86_64) and how to configure your system and browser to use this faster java.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install Java6 JDK&lt;/b&gt;&lt;br /&gt;
Download it from Oracle&#39;s website &lt;a href=&quot;http://www.oracle.com&quot;&gt;www.oracle.com&lt;/a&gt; and make it executable&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;wget http://download.oracle.com/otn-pub/java/jdk/6u27-b07/jdk-6u27-linux-x64-rpm.bin
chmod u+x jdk-6u27-linux-x64-rpm.bin
./jdk-6u27-linux-x64-rpm.bin
&lt;/pre&gt;&lt;br /&gt;
Make our system and browsers use our new java&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;/usr/sbin/alternatives --install /usr/bin/java java /usr/java/default/bin/java 20000 
/usr/sbin/alternatives --install /usr/lib/mozilla/plugins/libjavaplugin.so libjavaplugin.so /usr/java/default/jre/lib/i386/libnpjp2.so 20000
&lt;/pre&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/3727832137442673743'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/3727832137442673743'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-oracle-java-6-jdk-on-centos-6.html' title='Install Oracle Java 6 JDK on CentOS 6 and RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-799659182796867351</id><published>2011-10-09T21:28:00.005+02:00</published><updated>2014-04-16T00:56:55.674+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Adobe"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Flash"/><category scheme="http://www.blogger.com/atom/ns#" term="Plugins"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><title type='text'>Install Adobe flash plugin on CentOS 6 and RHEL 6</title><content type='html'>This little HOW-TO shows you how install the Adobe flash plugin on the 64 bit version of CentOS 6 and Red Hat Enterprise Linux 6 (x86_64)&lt;br /&gt;
by using Adobe&#39;s own YUM repository. This way you will get easy updates!&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Install Adobe FLASH plugin&lt;/b&gt;&lt;br /&gt;
Download the rpm from http://get.adobe.com/flashplayer/otherversions/ and select Linux 64bit and flashplayer 11 for other linux (YUM)&lt;br /&gt;
Go to download folder (for the user that downloaded the files)&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
cd /home/yourusername/Downloads
rpm -ivh adobe-release-x86_64-1.0-1.noarch.rpm
yum install flash-plugin
&lt;/pre&gt;&lt;br /&gt;
Restart your browser</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/799659182796867351'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/799659182796867351'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-adobe-flash-plugin-on-centos-6.html' title='Install Adobe flash plugin on CentOS 6 and RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-4143617033884196890.post-837183203936886683</id><published>2011-10-09T21:09:00.002+02:00</published><updated>2014-04-16T00:58:49.651+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CentOS 6"/><category scheme="http://www.blogger.com/atom/ns#" term="Drivers"/><category scheme="http://www.blogger.com/atom/ns#" term="Enterprise Linux"/><category scheme="http://www.blogger.com/atom/ns#" term="How-To"/><category scheme="http://www.blogger.com/atom/ns#" term="Red Hat"/><category scheme="http://www.blogger.com/atom/ns#" term="Repository"/><title type='text'>Install Nvidia drivers on CentOS 6 and RHEL 6</title><content type='html'>This little HOW-TO shows you how to disable nouveau and install the Nvidia drivers on the 64 bit version of CentOS 6 and Red Hat Enterprise Linux 6 (x86_64)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Add ELrepo repository and key&lt;/b&gt;&lt;br /&gt;
Open a terminal and become root&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
rpm --import http://elrepo.org/RPM-GPG-KEY-elrepo.org
rpm -Uvh http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
&lt;/pre&gt;&lt;br /&gt;
&lt;b&gt;Install NVIDIA drivers and blacklist nouveau&lt;/b&gt;&lt;br /&gt;
Edit /etc/grub.conf and add &lt;i&gt;nomodeset rdblacklist=nouveau&lt;/i&gt; at the end of the kernel line&lt;br /&gt;
&lt;pre class=&quot;prettyprint&quot;&gt;su - root
echo &quot;blacklist nouveau options nouveau modeset=0&quot; &gt; /etc/modprobe.d/blacklist-nouveau.conf
yum install kmod-nvidia
vi /etc/grub.conf
&lt;/pre&gt;Add &lt;i&gt;nomodeset rdblacklist=nouveau&lt;/i&gt; at the end of the kernel line &lt;br /&gt;
Restart your machine</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/837183203936886683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4143617033884196890/posts/default/837183203936886683'/><link rel='alternate' type='text/html' href='http://oracle-noob.blogspot.com/2011/10/install-nvidia-drivers-on-centos-6.html' title='Install Nvidia drivers on CentOS 6 and RHEL 6'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>