<?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: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-1001155449500890944</id><updated>2012-02-05T21:51:40.235-08:00</updated><category term='Recipe'/><category term='Computers'/><category term='Initial'/><title type='text'>Random Tidbits</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>22</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-3214657011818127689</id><published>2011-07-26T16:09:00.001-07:00</published><updated>2011-07-26T16:10:37.284-07:00</updated><title type='text'></title><content type='html'>&lt;a href="http://1.bp.blogspot.com/-o925XdlAwD8/Ti9JXz8sN4I/AAAAAAAAAu0/i0pFEX_XcT0/s1600/stock%2Btags.PNG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5633802332294363010" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 320px; CURSOR: hand; HEIGHT: 248px" alt="" src="http://1.bp.blogspot.com/-o925XdlAwD8/Ti9JXz8sN4I/AAAAAAAAAu0/i0pFEX_XcT0/s320/stock%2Btags.PNG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Getting Realtime quotes from yahoo using command line&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;Check out the tags that you need to send via command line and then parse the output.&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-3214657011818127689?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/3214657011818127689/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2011/07/getting-realtime-quotes-from-yahoo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3214657011818127689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3214657011818127689'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2011/07/getting-realtime-quotes-from-yahoo.html' title=''/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-o925XdlAwD8/Ti9JXz8sN4I/AAAAAAAAAu0/i0pFEX_XcT0/s72-c/stock%2Btags.PNG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-3845331863471365988</id><published>2011-07-06T14:22:00.001-07:00</published><updated>2011-07-06T14:22:53.194-07:00</updated><title type='text'></title><content type='html'>Lua is widely used as a scripting language by game programmers and is also supported by Apple iOS&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-3845331863471365988?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/3845331863471365988/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2011/07/lua-is-widely-used-as-scripting.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3845331863471365988'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3845331863471365988'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2011/07/lua-is-widely-used-as-scripting.html' title=''/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-3423004985516367203</id><published>2011-07-06T11:41:00.001-07:00</published><updated>2011-07-06T11:41:26.591-07:00</updated><title type='text'>Howto Manage an EC2 Instance using PuttySSH</title><content type='html'>&lt;table cellspacing="0" cellpadding="0" border="0" &gt;&lt;tr&gt;&lt;td valign="top" style="font: inherit;"&gt;Launch Instance Wizard and pick the AMI for a Small Instance Type (32-bit). Enter in a name for the key you would like to create, and save it in a secure place on your local machine. We will need it for SSH login purposes later. Next setup basic firewall access for SSH (fix the web server and database firewall access later).&lt;STRONG&gt;Note the Public DNS that was assigned and save the generated key on our local machine.&lt;/STRONG&gt; Amazon key ends with the extension .pem. Before we use PuTTY, we have to convert that key to PuTTY's format (.ppk) using PuTTYgen. Login with username= ec2-user, no password will be required.&lt;BR&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-3423004985516367203?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/3423004985516367203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2011/07/howto-manage-ec2-instance-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3423004985516367203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3423004985516367203'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2011/07/howto-manage-ec2-instance-using.html' title='Howto Manage an EC2 Instance using PuttySSH'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-848255178306735421</id><published>2011-07-06T09:21:00.001-07:00</published><updated>2011-07-06T09:21:12.665-07:00</updated><title type='text'>Some Hadoop Topics</title><content type='html'>&lt;table cellspacing="0" cellpadding="0" border="0" &gt;&lt;tr&gt;&lt;td valign="top" style="font: inherit;"&gt;&lt;UL&gt; &lt;LI&gt;Top 10 Big Data Applications running on Hadoop Cloud Computing &lt;/LI&gt; &lt;LI&gt;Image processing with hadoop &lt;/LI&gt; &lt;LI&gt;Understanding the Shuffle Sort &lt;/LI&gt; &lt;LI&gt;Predictive Analytics &lt;/LI&gt; &lt;LI&gt;Map Reduce algorithms, the state of the art &lt;/LI&gt; &lt;LI&gt;Map Reduce vs Parallel Databases &lt;/LI&gt; &lt;LI&gt;Fully Utilizating your Hadoop Cluster &lt;/LI&gt; &lt;LI&gt;Mahout &lt;/LI&gt; &lt;LI&gt;HBase schema design and optimization &lt;/LI&gt; &lt;LI&gt;Big memory computing for data intensive scientific applications &lt;/LI&gt; &lt;LI&gt;Reasoning - When Hadoop Meets the Semantic Web &lt;/LI&gt; &lt;LI&gt;Hadoop 2.0 - impact of emerging new hadoop distros. Is Cloudera still relivent?&lt;/LI&gt; &lt;LI&gt;Using databases as input to big data processing jobs &lt;/LI&gt; &lt;LI&gt;Innovation needed in Hadoop to drive greater adoption &lt;/LI&gt; &lt;LI&gt;EMC's Big Data Stack &lt;/LI&gt; &lt;LI&gt;Which NoSql DB to choose? &lt;/LI&gt; &lt;LI&gt;Social Entrepreneurs and Impact investors: Triple Botton Line Assessments &lt;/LI&gt; &lt;LI&gt;Data Integration &lt;/LI&gt; &lt;LI&gt;Real Time Analytics using Hadoop&amp;nbsp; &lt;/LI&gt; &lt;LI&gt;Revolutionary Big Data Insight Engine &lt;/LI&gt; &lt;LI&gt;Hack proofing methods. Going beyond encryption.&amp;nbsp; &lt;/LI&gt; &lt;LI&gt;HBase schema design &lt;/LI&gt; &lt;LI&gt;Analysis of social activity using both network and content &lt;/LI&gt; &lt;LI&gt;Testing Big Data Technologies &lt;/LI&gt; &lt;LI&gt;Marrying Big Data with Advanced Analytics&amp;nbsp; (not to be given by me!&amp;nbsp; I want to learn about this) &lt;/LI&gt; &lt;LI&gt;Converging analytics and search using Big Data technologies. &lt;/LI&gt; &lt;LI&gt;hadoop pipes w/cloudera &lt;/LI&gt; &lt;LI&gt;Security issues with Big Data. &lt;/LI&gt; &lt;LI&gt;Data Analytics in Hadoop Ecosystem &lt;/LI&gt; &lt;LI&gt;Hive integration with HBase. &lt;/LI&gt; &lt;LI&gt;High Performance Virtual Database System using Hadoop/Map Reduce: Extending&lt;/LI&gt; &lt;LI&gt;MapReduce to RDBMS &lt;/LI&gt; &lt;LI&gt;Using MAHOUT and NOSQL DB over hadoop or Amazon EMR &lt;/LI&gt; &lt;LI&gt;How can we use hadoop with confidential/encrypted data? &lt;/LI&gt; &lt;LI&gt;Moving file(s) and file system legacy constructs to key/value stores to serialize unstructured pattern data and perform analytics. &lt;/LI&gt; &lt;LI&gt;Data Integration with HADOOP. &lt;/LI&gt; &lt;LI&gt;Virtual Business Ecysystem &amp;amp; Virtual Expo data integration &lt;/LI&gt; &lt;LI&gt;Data Gravity and it's effect on Public Cloud Providers &lt;/LI&gt; &lt;LI&gt;Analyzing customer behavior &lt;/LI&gt; &lt;LI&gt;Data collection with Flume &lt;/LI&gt; &lt;LI&gt;Use cases around Hadoop and EDW integration &lt;/LI&gt; &lt;LI&gt;Toughest part of building an reliable hadoop cluster.&lt;/LI&gt;&lt;/UL&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-848255178306735421?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/848255178306735421/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2011/07/some-hadoop-topics.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/848255178306735421'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/848255178306735421'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2011/07/some-hadoop-topics.html' title='Some Hadoop Topics'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-8564411295347105639</id><published>2011-03-10T22:24:00.000-08:00</published><updated>2011-03-10T22:26:20.245-08:00</updated><title type='text'>Youtube to MP3</title><content type='html'>&lt;span style="font-size:78%;"&gt;Two easy steps&lt;/span&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;wget "&lt;a href="http://www.youtube.com/watch?v=cQRytgGffV4"&gt;http://www.youtube.com/watch?v=cQRytgGffV4&lt;/a&gt;" -qO-  awk '/fmt_url_map/{gsub(/[\\"]/,"\n");print}'  sed -n "/^fmt_url_map/,/videoplayback/p"  sed -e :a -e '$q;N;2,$D;ba'  tr -d '\n'  sed -e "s/\(.*\),\(.\)\{1,3\}/\1/;s/\\\//g"  wget -i - -O surprise.flv&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;ffmpeg -i suprise.flv /mnt/hgfs/Downloads/suprise.mp3&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-8564411295347105639?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/8564411295347105639/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2011/03/youtube-to-mp3.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/8564411295347105639'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/8564411295347105639'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2011/03/youtube-to-mp3.html' title='Youtube to MP3'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-7436865602664223286</id><published>2010-08-03T13:06:00.000-07:00</published><updated>2010-08-04T09:14:08.236-07:00</updated><title type='text'></title><content type='html'>&lt;span style="font-weight: bold;"&gt;Installing OBIEE Server on Centos 5.5 and Admin+Presentation Services on Windows&lt;/span&gt;&lt;ol&gt;&lt;li&gt;Install VMWare on Windows (VMware-player-3.1.0-261024.exe)&lt;/li&gt;&lt;li&gt;Install VMWare tools VMwareTools-8.4.2-261024.tar&lt;br /&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;Create a shared folder on Windows for Centos (available as /mnt/hgfs/ on Centos)&lt;/li&gt;&lt;li style="text-align: left;"&gt;Install Centos 5.5 using ISO file (CentOS-5.5-i386-bin-DVD.iso) -Verify that you can ssh from windows to centos using putty&lt;/li&gt;&lt;li style="text-align: left;"&gt;Install JDK v1.5.0_22 (as root) from Sun (jdk-1_5_0_22-linux-i586-rpm.bin)  and set JAVA_HOME &lt;/li&gt;&lt;li style="text-align: left;"&gt;Create user oracle under group oinstall, dba and oracle on Centos&lt;/li&gt;&lt;li style="text-align: left;"&gt;Increased ulimit (ulimit -n 10240 or ulimit -n unlimited)&lt;/li&gt;&lt;li style="text-align: left;"&gt;Run the UnixChk.sh script to verify pre-requisites for install&lt;br /&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;Install Oracle 10G client (10201_client_linux32.zip) as oracle user. Create all environment variables and verify tnsping works OK - ssh port forwarding 1521 and 9703 is required for putty/ssh because of firewalls.&lt;/li&gt;&lt;li style="text-align: left;"&gt;# vi /etc/sysconfig/iptables  to open ports (Apparently this did not  work)&lt;br /&gt;Simply add (after all of the existing entries):&lt;br /&gt;-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 1521  -j ACCEPT&lt;br /&gt;Lastly, restart iptables:&lt;/li&gt;&lt;li style="text-align: left;"&gt;libstdc++ missing so installed compat-libstdc++33.rpm using yum&lt;br /&gt;&lt;/li&gt;&lt;li style="text-align: left;"&gt;[oracle@localhost client]$ yum install libXp.i386   because it complained  that&lt;br /&gt;Exception java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-07-29_07-26-16PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory occurred..&lt;br /&gt;&lt;br /&gt;the install of libXp.i386 replaced&lt;br /&gt;Installing:&lt;br /&gt;libXp           i386           1.0.0-8.1.el5              base            23 k&lt;br /&gt;replacing  xorg-x11-deprecated-libs.i386 6.8.2-1.EL.13.20&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:78%;"&gt;ORACLE_HOME=/home/oracle/orclient&lt;br /&gt;export ORACLE_HOME&lt;br /&gt;ORACLE_SID=ORCL&lt;br /&gt;export ORACLE_SID&lt;br /&gt;TNS_ADMIN=$ORACLE_HOME/network/admin&lt;br /&gt;export TNS_ADMIN&lt;br /&gt;PATH=$ORACLE_HOME/bin:/home/oracle/obiee/OracleBI/server/Bin:/opt/bin:$PATH&lt;br /&gt;export PATH&lt;br /&gt;LD_LIBRARY_PATH=$ORACLE_HOME/lib:/home/oracle/obiee/OracleBI/server/Bin:$LD_LIBRARY_PATH&lt;br /&gt;export LD_LIBRARY_PATH&lt;br /&gt;JAVA_HOME=/usr/java/jdk1.5.0_22&lt;br /&gt;export JAVA_HOME&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Create tnsnames.ora on Centos with following content; note use of localhost on Centos:&lt;br /&gt;&lt;span style="font-size:78%;"&gt;ORCL =&lt;br /&gt;(DESCRIPTION =&lt;br /&gt;    (ADDRESS_LIST =&lt;br /&gt;         (ADDRESS = (PROTOCOL = TCP)(HOST = localhost)(PORT = 1521)&lt;br /&gt;    )&lt;br /&gt;)&lt;br /&gt;(CONNECT_DATA = (SID = ORCL) )&lt;br /&gt;)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_tv82x-4j8WA/TFmP4ceN_yI/AAAAAAAAAt8/_1sh8Pt2tMc/s1600/obiee+protocols.JPG"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 241px; height: 320px;" src="http://2.bp.blogspot.com/_tv82x-4j8WA/TFmP4ceN_yI/AAAAAAAAAt8/_1sh8Pt2tMc/s320/obiee+protocols.JPG" alt="" id="BLOGGER_PHOTO_ID_5501586619688156962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Install OBIEE (biee_linux_x86_redhat_101341.zip) as Oracle user. Install using the standalone container option which will not install the oracle application server and Enterprise Manager. Install only the BI Server, OC4J and Job Scheduler.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;OC4J can be manually started by running the command:&lt;br /&gt;/home/oracle/obiee/OracleBI/setup/oc4j -start. Verify localhost:9704 using firefox.&lt;/li&gt;&lt;li&gt;Execute run-sa.sh start as oracle user. Before that source the user.sh file (for environment variables) and setenforce 0 (as root, see later) to start the BI Server. &lt;/li&gt;&lt;li&gt;netstat -an | grep 9703 to check if BI is running. Additional tests are: OracleBI_HOME/setup, run the shell command:&lt;br /&gt;. sa-cli.sh. To test the client/server connectivity, run the command: nqcmd. If the test is successful, press the Enter key several times to quit nqcmd.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install Oracle RDBMS on Windows and start the ORCL service and the TNS listener. Create a System DSN called ORCL using the Oracle in OraDB11g_home driver. Connect to DB using SH/SH schema.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Install OBIEE Presentation Services and OBI Server Admin on Windows (using Windows Binaries)&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Using OCI on Linux Repository trying to connect to database using OCI(recommended)&lt;br /&gt;fixed by&lt;br /&gt;If you are using OBIEE on a Linux machine that is running Security-Enhanced Linux (SELinux), you may have problems starting the Oracle client library. This is because the SELinux feature does not allow the libnnz10.so Oracle library to be loaded. You will see this error when you try to use the Linux Repository RPD file to access the Oracle DB using OCI.&lt;br /&gt;&lt;br /&gt;To work around this problem, you will need to disable SELinux on your system:&lt;br /&gt;&lt;br /&gt;* To disable SELinux temporarily on a running system, log in as root and execute the following command:&lt;br /&gt;&lt;br /&gt;/usr/sbin/setenforce 0&lt;br /&gt;&lt;br /&gt;* To disable SELinux permanently, edit the file /etc/selinux/config and change "enforcing" to "disabled".&lt;br /&gt;&lt;/li&gt;&lt;li&gt;BI server can be started as /home/oracle/obiee/OracleBI/setup/run-sa.sh start&lt;br /&gt;&lt;/li&gt;&lt;li&gt;On Windows bring up the OBIEE Server Admin and login using Administrator(blank password) . Port 9703 must be forwarded using ssh/putty. Work on an offline RPD and use OCI to connect using OCI10g/11g in Connection Pool  on Windows. Use the ORCL SID that is running on Windows (not sure whether the ORCL DSN we created is used). Do the Oracle by Example Tutorial and save RPD file and transfer it to Centos under the Repository directory. Update the /home/oracle/obiee/OracleBI/server/Config/ NQSConfig.INI file to use this new RPD. Restart the OBIEE Server&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Try to now load up that file using OCI and Online mode and update row counts. This is where I originally got the libnnz10.so error that was fixed earlier.&lt;/li&gt;&lt;li&gt;Install the Presentation Services &amp;amp; Oc4J on Windows &lt;/li&gt;&lt;li&gt;Start Oc4J on windows, start the presentation services under services tab&lt;/li&gt;&lt;li&gt;Rest to follow&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-7436865602664223286?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/7436865602664223286/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2010/08/installing-obiee-server-on-centos-5.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7436865602664223286'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7436865602664223286'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2010/08/installing-obiee-server-on-centos-5.html' title=''/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_tv82x-4j8WA/TFmP4ceN_yI/AAAAAAAAAt8/_1sh8Pt2tMc/s72-c/obiee+protocols.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-6756826870863233672</id><published>2010-07-07T15:47:00.000-07:00</published><updated>2010-07-07T16:59:36.184-07:00</updated><title type='text'>Cornucopia of Technologies</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_tv82x-4j8WA/TDUUyywz52I/AAAAAAAAAt0/8v1f49TACyo/s1600/hadoop_ecosystem.JPG"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 320px; height: 240px;" src="http://2.bp.blogspot.com/_tv82x-4j8WA/TDUUyywz52I/AAAAAAAAAt0/8v1f49TACyo/s320/hadoop_ecosystem.JPG" alt="" id="BLOGGER_PHOTO_ID_5491318183500703586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Here is a list of all technologies that I heard of at the Hadoop Conference. Now I need to figure out how they all fit together.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hypertable,Cassandra, HBase,BigTable&lt;br /&gt;Mahout,ZooKeeper,ElephantBird&lt;br /&gt;Cascading&lt;br /&gt;Flume,Thrift,Crane,Scribe, Scoop&lt;br /&gt;Pig,Hive,&lt;br /&gt;Workflow=Oozie or Cloudera Desktop&lt;br /&gt;HDFS, GFS&lt;br /&gt;Lamport Papers&lt;br /&gt;Protocol Buffers for data serialization format&lt;br /&gt;Social Graph Analysis&lt;br /&gt;&lt;br /&gt;Companies: GreenPlum, Asterdata, Cloudera,CStore,MonetDB&lt;br /&gt;&lt;br /&gt;Distributed Hash tables&lt;br /&gt;Complex Event Processing&lt;br /&gt;Consistency Vs Availability vs Partition Tolerance (CAP)&lt;br /&gt;AB Analysis&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-6756826870863233672?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/6756826870863233672/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2010/07/cornucopia-of-technologies.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/6756826870863233672'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/6756826870863233672'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2010/07/cornucopia-of-technologies.html' title='Cornucopia of Technologies'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_tv82x-4j8WA/TDUUyywz52I/AAAAAAAAAt0/8v1f49TACyo/s72-c/hadoop_ecosystem.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-4908383026619105463</id><published>2010-06-21T14:06:00.001-07:00</published><updated>2010-06-21T14:06:39.023-07:00</updated><title type='text'></title><content type='html'>Waiting eagerly for the Hadoop conference nextweek&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-4908383026619105463?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/4908383026619105463/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2010/06/waiting-eagerly-for-hadoop-conference.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/4908383026619105463'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/4908383026619105463'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2010/06/waiting-eagerly-for-hadoop-conference.html' title=''/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-6052726618966802433</id><published>2010-03-09T14:23:00.000-08:00</published><updated>2010-03-09T14:30:05.760-08:00</updated><title type='text'></title><content type='html'>&lt;span style="font-size:78%;color:#ff0000;"&gt;&lt;strong&gt;Commercial&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Advanced Queuing from &lt;/span&gt;&lt;a href="http://www.oracle.com/"&gt;&lt;span style="font-size:78%;"&gt;Oracle&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Full-featured message queuing system enables coordination of inter- and intra-business applications. Unique integration with the database allows AQ to inherit the reliability, security, and integrity of the Oracle Database, and provides the necessary message management features for eBusinesses.&lt;br /&gt;Arjuna Messaging  from &lt;/span&gt;&lt;a href="http://www.redhat.com/"&gt;&lt;span style="font-size:78%;"&gt;Red Hat&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Reliable, secure, and scalable JMS messaging that has now been incorporated into the JBoss Application Server&lt;br /&gt;GA MOM  from &lt;/span&gt;&lt;a href="http://www.gingerall.com/index.html"&gt;&lt;span style="font-size:78%;"&gt;Gingerall&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;GA-MOM is a transparent and scalable Messaging Oriented Middleware that enables communication between services, supporting applications and platforms. It supports asynchronous processing whilst reducing the number and complexity of interfaces by acting as a bridge at the application layer for any protocol or interface. In short it is a tool that enables the creation, deployment and management of both new and existing services.&lt;br /&gt;MessageQ  from &lt;/span&gt;&lt;a href="http://www.beasys.com/"&gt;&lt;span style="font-size:78%;"&gt;BEA Systems&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;BEA MessageQ is easy-to-use, fast, and reliable message software that allows applications to communicate using the industry-leading queued message bus technology.&lt;br /&gt;MQSeries from &lt;/span&gt;&lt;a href="http://www.ibm.com/"&gt;&lt;span style="font-size:78%;"&gt;International Business Machines&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;See WebSphere MQ below.&lt;br /&gt;MQSeries  from &lt;/span&gt;&lt;a href="http://www.willowtech.com/"&gt;&lt;span style="font-size:78%;"&gt;Willow Technology&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Willow develops and markets MQSeries software products under various licensing agreements with IBM Corporation. Willow also offers system integration, custom development, proof of concept and consultancy services for MQSeries.&lt;br /&gt;MSMQ  from &lt;/span&gt;&lt;a href="http://www.microsoft.com/"&gt;&lt;span style="font-size:78%;"&gt;Microsoft&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Microsoft Message Queue Server (MSMQ), also known by its code name "Falcon," makes it easy for application programs to communicate with other application programs quickly, reliably and asynchronously by sending and receiving messages.&lt;br /&gt;NetWeave from &lt;/span&gt;&lt;a href="http://www.vertexinteractive.com/"&gt;&lt;span style="font-size:78%;"&gt;Vertex Interactive&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;NetWeave is a broad based middleware product that allows companies to interconnect their otherwise incompatible legacy computer systems and to open them up to today's modern technologies of workstations, LANs, and SQL servers.&lt;br /&gt;Nirvana from &lt;/span&gt;&lt;a href="http://www.pcbsys.com/"&gt;&lt;span style="font-size:78%;"&gt;PCB Systems&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Nirvana is a Java based message oriented middleware package supporting the publish subscribe model. It supports message persistence and XML DOM Documents as well as straight TCP communications and HTTP/HTTPS tunneling. Nirvana supports a federated namespace and instances can be joined together.&lt;br /&gt;SmartSockets from &lt;/span&gt;&lt;a href="http://www.talarian.com/"&gt;&lt;span style="font-size:78%;"&gt;Talarian&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Talarian's SmartSockets is a rapid application development toolkit which enables processes to communicate quickly, reliably, and securely across different operating system platforms, through the use of messages.&lt;br /&gt;SwiftMQJMS Enterprise Messaging Platform from &lt;/span&gt;&lt;a href="http://www.swiftmq.com/"&gt;&lt;span style="font-size:78%;"&gt;IIT GmbH&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;SwiftMQ is a state-of-the-art, micro-kernel based JMS enterprise messaging platform with superior performance and scalability. Since its first release 7 years ago, it is now used by thousands of customers around the world, serving as a JMS messaging backbone for their mission-critical applications. It provides smart handling, a large feature set, and an unbeatable price.&lt;br /&gt;TIB/ETX from &lt;/span&gt;&lt;a href="http://www.tibco.com/"&gt;&lt;span style="font-size:78%;"&gt;TIBCO&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;TIB/ETX is a transaction-based messaging system that enables fault-tolerant guaranteed delivery across LANs and WANs. It extends the core TIB middleware platform to provide a transactional form of publish/subscribe that delivers quality, up-to-the-minute data without compromising security.&lt;br /&gt;TIB/Rendezvous from &lt;/span&gt;&lt;a href="http://www.tibco.com/"&gt;&lt;span style="font-size:78%;"&gt;TIBCO&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;TIB/Rendezvous software is a revolutionary developer's tool for building scalable, distributed applications on heterogeneous platforms. Distributed applications developed using TIB/Rendezvous software can exchange data transparently -- over local networks, throughout an enterprise, even across the Internet.&lt;br /&gt;WebSphere MQ from &lt;/span&gt;&lt;a href="http://www.ibm.com/"&gt;&lt;span style="font-size:78%;"&gt;International Business Machines&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;IBM WebSphere MQ is market-leading business integration software. It connects all your business software together to form one efficient enterprise by providing an open, scalable, industrial-strength messaging backbone. For a directory of WMQ related products and services, click here. IBM maintains a list of Frequently Asked Questions (FAQ) about WMQ.&lt;br /&gt;X-IPC from &lt;/span&gt;&lt;a href="http://www.envoytech.com/"&gt;&lt;span style="font-size:78%;"&gt;Envoy&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Envoy XIPC is an advanced software toolset for the development of multitasking and distributed applications. Envoy XIPC provides extremely fast, fault-tolerant management of guaranteed delivery and real-time message queuing, synchronization semaphores and shared memory, all of which are network-transparent.&lt;br /&gt;X Message Server from &lt;/span&gt;&lt;a href="http://www.nextient.com/index.html"&gt;&lt;span style="font-size:78%;"&gt;Nextient Middleware&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;X Message Server (XMS) is a lightweight, messaging-oriented middleware that is hardware-, operating system- and database-independent. Highly scalable, XMS is capable of operating on small data collection appliances or as the primary messaging server in large enterprise infrastructures. The middleware is an ideal real-time connectivity option for multi-point data collection and distribution networks, especially those running across geographically dispersed locations that require zero administration options. Exceptionally lightweight in terms of footprint and resource requirements, XMS does not require a database. It is uniquely suited for the embedded appliance market.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a name="RANGE!A19"&gt;&lt;span style="font-size:78%;color:#ff0000;"&gt;&lt;strong&gt;Open Source&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Please note that an increasing number of vendors are offering dual licensing options. That is, they offer an open or community source license and a commercial license with full support and warranties.&lt;br /&gt;&lt;br /&gt;ActiveMQ&lt;br /&gt;&lt;/span&gt;&lt;a href="http://www.apache.org/"&gt;&lt;span style="font-size:78%;"&gt;Apache Software Foundation&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://incubator.apache.org/activemq/"&gt;&lt;span style="font-size:78%;"&gt;Apache ActiveMQ is a fast open source Message Bus which supports many Cross Language Clients and Protocols and many advanced features while fully supporting JMS 1.1 and J2EE 1.4. It is an Apache incubator project.&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;JORAM from &lt;/span&gt;&lt;a href="http://www.objectweb.org/"&gt;&lt;span style="font-size:78%;"&gt;Object Web&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;JORAM incorporates a 100% pure Java implementation of JMS (Java Message Service API released by Sun Microsystem, Inc.). It provides access to a MOM (Message Oriented Middleware), built on top of the Scalagent agents based distributed platform. JORAM is a free, open source initiative.&lt;br /&gt;MQ4CPP  from&lt;/span&gt;&lt;a href="http://www.sixtyfourbit.org/"&gt;&lt;span style="font-size:78%;"&gt;sixtyfourbit.org&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;MQ4CPP, or "Message Queuing for C++", is an open source implementation of enterprise messaging system, also referred to as message-oriented middleware (MOM). MQ4CPP enables C++ application threads to communicate with other threads locally or remotely through the exchange of messages. LGPL.&lt;br /&gt;MantaRay from &lt;/span&gt;&lt;a href="http://www.coridan.com/"&gt;&lt;span style="font-size:78%;"&gt;Coridan&lt;/span&gt;&lt;/a&gt; &lt;span style="font-size:78%;"&gt;Afully distributed peer-to-peer serverless communication &amp;amp; messaging solution, 100% pure Java, provides JMS &amp;amp; RMI APIs, integrates with JBoss, WebLogic &amp;amp; WebSphere. Offers guaranteed delivery, security and transactions. Supports TCP &amp;amp; SSL transport.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Open Message Queue  from Glassfish (Sun)&lt;br /&gt;Open message queue is an enterprise quality, production ready, scalable messaging server. It provides a complete Java Message Service (JMS) implementation for message oriented system integration. In addition, Open MQ provides the additional enterprise features that are necessary for enterprise deployments, large and small. It gets its roots from Java Message Queue and provides all the features, functions and capabilities of the currently available licensed product: Java System Message Queue.&lt;br /&gt;OSMQ  from &lt;/span&gt;&lt;a href="http://www.osmq.org/"&gt;&lt;span style="font-size:78%;"&gt;OSMQ&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Open Source Message Queue (OSMQ)TM is an advanced, pure Java, asynchronous message middleware framework developed by Boston Systems Group. BSG has chosen to release the product as open source, using the GNU public license.&lt;br /&gt;xmlBlaster  from &lt;/span&gt;&lt;a href="http://www.xmlblaster.org/"&gt;&lt;span style="font-size:78%;"&gt;xmlBlaster.org&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;XmlBlaster is a publish/subscribe and point to point MOM server (message-oriented middleware) which exchanges messages between publishers and subscribers. The message is described with XML-encoded meta information. Messages may contain everything, GIF images, Java objects, Python scripts, XML data, a word document, plain text - just anything.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;====================================================================&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;color:#ff0000;"&gt;&lt;strong&gt;OpenSource ESB&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Apace domain , there are two ESBs , Apache Synapse and Apache ServiceMix. Apache Synapse (or WSO2 ESB) is built on Axis2 and ServiceMix is built on CXF.&lt;br /&gt;OpenESB / Glassfish ESB: Open Enterprise Service Bus in short OpenESB is developed by an open source community under the direction of Sun Microsystems. OpenESB is strongly linked with the Netbeans IDE and the Glassfish Application Server&lt;br /&gt;Mule ESB&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;strong&gt;&lt;span style="color:#ff0000;"&gt;Commercial ESB&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;websphere message broker&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;oracle soa suite&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-6052726618966802433?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/6052726618966802433/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2010/03/commercial-advanced-queuing-from-oracle.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/6052726618966802433'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/6052726618966802433'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2010/03/commercial-advanced-queuing-from-oracle.html' title=''/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-7042860089368006994</id><published>2009-11-09T16:10:00.000-08:00</published><updated>2009-11-09T16:15:37.107-08:00</updated><title type='text'>Plot inequalities</title><content type='html'>&lt;span style="font-size:78%;"&gt;Teaching my son howto determine domain for inequalities and plot.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;x^3 -5x^2 -9x +45 &lt;= 0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;so (x+3)(x-3)(x-5) &lt;=0&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;so critical points are 3,-3 and 5.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Next plot graph using derivatives. &lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;1st derivative is 3x^2 -10x -9 which is zero for x approx 4 or x approx -2/3.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;2nd drivative is -ve for x=4 and +ve for x=2/3.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;Plot and you will find 2 regions where graph is in 3rd and 4th quadrant (y is -ve or &lt;0)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;1st region where y&lt;=0 is x between 3 and 5 and 2nd region where y&lt;=0 is x&lt; -3. and these are the two answers&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-7042860089368006994?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/7042860089368006994/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/11/plot-inequalities.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7042860089368006994'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7042860089368006994'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/11/plot-inequalities.html' title='Plot inequalities'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-7704883971924199877</id><published>2009-11-07T08:36:00.000-08:00</published><updated>2009-11-07T08:37:58.202-08:00</updated><title type='text'>Knoppix on USB</title><content type='html'>&lt;p&gt;&lt;span style="font-size:78%;"&gt;You’ll need the following to create a Portable Knoppix:&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;1GB or Larger USB Flash Pen Drive (fat32 formatted)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Windows PC to perform the conversion (XP or Vista)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;fixkp2.exe  &lt;/span&gt;&lt;a title="Make Knoppix USB bootable download" onclick="javascript:pageTracker._trackPageview('/downloads/downloads/fixkp2.exe');" href="http://www.pendrivelinux.com/downloads/fixkp2.exe" target="_blank"&gt;&lt;span style="font-size:78%;"&gt;Download&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt; fixkp2.exe and run, a USB-Knoppix folder is created &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;a class="external external_icon" title="Download Knoppix 5.1.1" onclick="window.open(this.href); javascript:pageTracker._trackPageview('/outbound/article/www.kernel.org'); return false;" href="http://www.kernel.org/pub/dist/knoppix/KNOPPIX_V5.1.1CD-2007-01-04-EN.iso" target="_blank" rel="nofollow"&gt;&lt;span style="font-size:78%;"&gt;Download&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt; the Knoppix Linux ISO and move it to the USB-Knoppix folder &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Click fixkp2.bat from the USB-Knoppix folder and follow the onscreen instructions &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Reboot your PC and set your system BIOS or Boot Menu to boot from the USB device, save your changes and reboot&lt;br /&gt;Upon reboot, you should have a successful launch of Knoppix Linux from your USB &lt;/span&gt;&lt;a class="kLink" oncontextmenu="return false;" id="KonaLink2" onmouseover="adlinkMouseOver(event,this,2);" style="POSITION: static; TEXT-DECORATION: underline! important" onclick="adlinkMouseClick(event,this,2);" onmouseout="adlinkMouseOut(event,this,2);" href="http://www.pendrivelinux.com/usb-knoppix-510/#" target="_top"&gt;&lt;span style="font-size:78%;"&gt;memory stick&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;. &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-7704883971924199877?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/7704883971924199877/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/11/knoppix-on-usb.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7704883971924199877'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7704883971924199877'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/11/knoppix-on-usb.html' title='Knoppix on USB'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-1618567044613485600</id><published>2009-11-07T08:14:00.000-08:00</published><updated>2009-11-07T08:25:01.820-08:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;strong&gt;How to make a Damn Small Linux USB Flash Drive:&lt;/strong&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Download and run Dp.exe, a Dp folder is created (It is on Athena, let me know if you need it) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Download the dsl-embedded.zip and move it to the Dp folder Click Dp.bat from the Dp folder and follow the onscreen instructions &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Once the script has finished, reboot your computer and set your system BIOS or Boot Menu to boot from the USB device &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;em&gt;&lt;span style="font-size:78%;"&gt;On Dell Latitude 610, I had to use the following boot options: dsl acpi=off vga=normal fb1024x768 toram&lt;/span&gt;&lt;/em&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Type "sudo [command]" in a terminal window to run a single command with root privileges. This is generally considered the best idea. To get a root shell, type "sudo su". &lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt; &lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;If running using qemu on windows, modify the startup script to&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;START .\qemu.exe -L . -no-kqemu -m 128 -localtime -soundhw es1370 -kernel linux24 -initrd minirt24.gz -hda KNOPPIX -append "qemu vga=791 quiet noscsi nousb nofirewire atapicd noideraid noacpi acpi=off noapm noagp ide1=noprobe ide2=noprobe nomce frugal"&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-1618567044613485600?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/1618567044613485600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/11/how-to-make-damn-small-linux-usb-flash.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/1618567044613485600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/1618567044613485600'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/11/how-to-make-damn-small-linux-usb-flash.html' title=''/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-159855925431688499</id><published>2009-08-04T18:45:00.000-07:00</published><updated>2009-08-04T22:31:31.073-07:00</updated><title type='text'>Reverse Engineer DDL to an ERD</title><content type='html'>&lt;p&gt;&lt;span style="font-size:78%;"&gt;So you always wanted to get a graphical view of the hundreds of tables in Oracle. Given below is the outline of the steps.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Generate the DDL from Oracle using the metadata packages. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:78%;"&gt;SQL&gt;select 'select dbms_metadata.get_ddl(''TABLE'',',''''table_name''''') from dual;' from user_tables;&lt;br /&gt;&lt;br /&gt;select dbms_metadata.get_ddl('TABLE','ACCOUNT') from dual;&lt;br /&gt;select dbms_metadata.get_ddl('TABLE','CHANNEL_DIM') from dual;&lt;br /&gt;select dbms_metadata.get_ddl('TABLE','CUSTOMER_DIM') from dual;&lt;br /&gt;select dbms_metadata.get_ddl('TABLE','PRICE_FACT') from dual;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Spool,Execute,Spool,Execute and obtain the DDL into a file for example &lt;/span&gt;&lt;a href="http://www.sfoportal.com/ProjectERD/tables.lst"&gt;&lt;span style="font-size:78%;"&gt;tables.lst&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;Created a &lt;/span&gt;&lt;a href="http://www.sfoportal.com/ProjectERD/myerd2.pl"&gt;&lt;span style="font-size:78%;"&gt;Perl Program &lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;to parse this DDL file and create an output DOT file that will be used as input by the AT&amp;amp;T provided Graphviz utility. This utility can be downloaded from &lt;/span&gt;&lt;a href="http://www.graphviz.org/"&gt;&lt;span style="font-size:78%;"&gt;GraphViz&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;The layout of the DOT file generated is provided &lt;/span&gt;&lt;a href="http://www.sfoportal.com/ProjectERD/bb.out"&gt;&lt;span style="font-size:78%;"&gt;here&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;&lt;br /&gt;&lt;br /&gt;Take this file DOT file and use the dot utility that you downloaded from GraphViz&lt;br /&gt;From the DOS prompt run.&lt;br /&gt;&lt;br /&gt;c:\type input.dot dot -Tpng &gt; output.png&lt;br /&gt;&lt;br /&gt;Features of the perl program: &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:78%;"&gt;Prints * next to col name to indicate a Mandatory field&lt;br /&gt;Prints # next to col name to indicate a Primary Key&lt;br /&gt;Run in verbose mode to include the column size in the output image&lt;br /&gt;Change the color and font size&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-159855925431688499?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/159855925431688499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/08/reverse-engineer-ddl-to-erd.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/159855925431688499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/159855925431688499'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/08/reverse-engineer-ddl-to-erd.html' title='Reverse Engineer DDL to an ERD'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-7878895975184170168</id><published>2009-07-28T11:05:00.000-07:00</published><updated>2009-07-30T20:49:52.392-07:00</updated><title type='text'>SSH and RSA Auth using Putty and MAC</title><content type='html'>&lt;ul&gt;&lt;span style="font-size:78%;"&gt;To allow access to a remote system for a given identity place the public key in your ~/.ssh/authorized_keys file on that remote system. All keys listed in that file are allowed access.&lt;br /&gt;&lt;br /&gt;Say you want to connect from your Mac to the Linux Server (Athena) as root using RSA Key Authentication. On Mac under the ~ataran/.ssh you need to do a ssh-keygen -t rsa and create the pub, priv keys with a secret passphrase. Then take this pub key from the Mac and add it to the ~root/.ssh/authorized_keys. Then from MAC you can do ssh &lt;/span&gt;&lt;a href="mailto:root@athena"&gt;&lt;span style="font-size:78%;"&gt;root@athena&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt; and you will be prompted to enter the secret passphrase.&lt;br /&gt;&lt;br /&gt;Now back to the other question of how to use Putty-based RSA public-key with OpenSSH server on Athena. The public-key generated by Puttygen is not compatible with the one generated by OpenSSH. However, you can manually modify the Putty-based public key before appending it to authorized_keys file on Athena. &lt;/span&gt;&lt;/ul&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;ssh to your Linux server using the loginid and password &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;chmod 700 ~/.ssh folder &lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;chmod 600 ~/.ssh/authorized_keys&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;ssh-keygen -t dsa&lt;br /&gt;(or rsa; accept the file names it wants to use, enter a strong passphrase)&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Open Puttygen (Putty Key Generator), click Generate button and move the mouse cursor randomly within the key section/frame to create the key with default settings (e.g. SSH-2 RSA of 1024 bits).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;When the key generation completes, create a strong passphrase in the text box provided.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Then, click save Public Key and Save Private Key button, one after another, to save the pair of key to local hard disk.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Transfer the Puttygen-created public key to the linux server. Let’s say this public key is only meant for root user account, append the contents of this public key in ~root/.ssh/authorized_keys file.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;On the Linux Server open the authorized_keys file with vi editor and delete the lines initial with four dash and “Comment”. Join the remain lines into one, single line. Initial that single line with ssh-rsa keyword (a space at the end). &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;NOW change your putty settings under "connection &gt; SSH &gt; auth" to use privatekey.ppk&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;NOW try and connect using Putty SSH (&lt;/span&gt;&lt;a href="mailto:root@athena"&gt;&lt;span style="font-size:78%;"&gt;root@athena&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;) and enter the passphrase when prompted&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class="rel-posts"&gt;Related Posts&lt;br /&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="..."&gt;&lt;span style="font-size:58%;"&gt;How to add a ...&lt;/a&gt;&lt;/span&gt;&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-7878895975184170168?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/7878895975184170168/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/ssh-and-rsa-auth-using-putty-and-mac.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7878895975184170168'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7878895975184170168'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/ssh-and-rsa-auth-using-putty-and-mac.html' title='SSH and RSA Auth using Putty and MAC'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-580076585702729449</id><published>2009-07-27T10:24:00.000-07:00</published><updated>2009-07-27T10:28:18.145-07:00</updated><title type='text'>Sed &amp; Awk</title><content type='html'>Click &lt;a href="http://www.sfoportal.com/mysite/ONE.pdf"&gt;here&lt;/a&gt; for an excellent article on Sed and Awk on liners that I found on the web. I will post another article for Perl one liners&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-580076585702729449?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/580076585702729449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/sed-awk.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/580076585702729449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/580076585702729449'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/sed-awk.html' title='Sed &amp; Awk'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-3223115483179154268</id><published>2009-07-22T09:29:00.000-07:00</published><updated>2009-07-22T09:41:06.617-07:00</updated><title type='text'>Secure MySQL Install</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;Can be used for the Install on Synology or Any Windows or Unix based Install&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;To restart mysql on Synology /usr/syno/etc/rc.d/S21mysql.sh &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;mysqladmin -u mysql -p shutdown&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;To restartOn Synology WebGUI, System-&gt;Restore defaults-&gt;Reset MYSQL Database Password will reset password for MYSQL databaseInstalled phpMyAdmin&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;To Connect mysql -h host -u user -p &lt;batchfile&gt;myout.lst&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;For admin mysqladmin -u mysql -p pingstatusshutdown&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;show global status or show grants&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;connect with mysql using user=root and verify user table in mysql database. Update password using phpmyadmin. Note if you login using user=mysql you wont see the user table. Do not ever give anyone (except MySQL root accounts) access to the user table in the mysql database. Set passwords to all root accounts using password() function or phpmyadmin&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;mysql_install_db creates one root account (superuser) for connection from localhost only. Two anonymous-user accounts are created each with empty username and these anonymous accounts have no password so abobe can connect to mysql.On Windows, one anonymous account is for connections from the local host. It has no global privileges. (Before MySQL 5.1.16, it has all global privileges, just like the root accounts.) The other is for connections from any host and has all privileges for the test database and for other databases with names that start with test &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;mysql&gt; select host,user,password from user&lt;br /&gt;localhost root   *7D2ABFF56C15D67445082FBB4ACD2DCD26C0ED57&lt;br /&gt;Athena     root   *7D2ABFF56C15D67445082FBB4ACD2DCD26C0ED57&lt;br /&gt;Athena                 *7D2ABFF56C15D67445082FBB4ACD2DCD26C0ED57&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:78%;"&gt; localhost            *7D2ABFF56C15D67445082FBB4ACD2DCD26C0ED57&lt;br /&gt;localhost scott  *F2F68D0BB27A773C1D944270E5FAFED515A3FA40&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;shell&gt; mysql -u rootmysql&gt; SET PASSWORD FOR &lt;/span&gt;&lt;a href="mailto:"&gt;&lt;span style="font-size:78%;"&gt;''@'localhost'&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt; = PASSWORD('newpwd');&lt;br /&gt;mysql&gt; SET PASSWORD FOR &lt;/span&gt;&lt;a href="mailto:"&gt;&lt;span style="font-size:78%;"&gt;''@'%'&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt; = PASSWORD('newpwd');&lt;br /&gt;OR&lt;br /&gt;shell&gt; mysqladmin -u root password "newpwd"&lt;br /&gt;shell&gt; mysqladmin -u root -h host_name password "newpwd"&lt;br /&gt;OR&lt;br /&gt;shell&gt; mysql -u rootmysql&gt; UPDATE mysql.user SET Password = PASSWORD('newpwd')&lt;br /&gt;-&gt; WHERE User = 'root';mysql&gt; FLUSH PRIVILEGES;&lt;br /&gt;&lt;/li&gt;&lt;/span&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;That account allows anonymous access but has full privileges, so removing it improves security. If you prefer to remove the anonymous accounts instead, do so as follows:&lt;br /&gt;shell&gt; mysql -u root&lt;br /&gt;mysql&gt; DROP USER '';&lt;br /&gt;DROP USER &lt;/span&gt;&lt;a href="mailto:"&gt;&lt;span style="font-size:78%;"&gt;''@'localhost'&lt;/span&gt;&lt;/a&gt;&lt;span style="font-size:78%;"&gt;;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Note [mysqld]user=mysql in my.cnf shows that mysqld deamon runs as mysql user and not root&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:78%;"&gt;Coming Up-&gt; howto secure phpMyAdmin and Enable Remote Access via open Port&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-3223115483179154268?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/3223115483179154268/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/reset-mysql-database-password-will.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3223115483179154268'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/3223115483179154268'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/reset-mysql-database-password-will.html' title='Secure MySQL Install'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-4891507982636250943</id><published>2009-07-21T20:23:00.000-07:00</published><updated>2009-07-22T08:19:41.684-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Recipe'/><title type='text'>Blueberry Snack Cake</title><content type='html'>&lt;p&gt;&lt;strong&gt;Ingredients&lt;/strong&gt;&lt;br /&gt;&lt;em&gt;&lt;span style="font-size:78%;"&gt;½ cup(4 oz) butter&lt;br /&gt;¾ cup(6oz) sugar&lt;br /&gt;2 eggs&lt;br /&gt;1 tsp vanilla extact&lt;br /&gt;1 cup flour&lt;br /&gt;1 tsp baking powder&lt;br /&gt;¼ tsp baking soda&lt;br /&gt;¼ tsp salt&lt;br /&gt;½ cup sour-cream&lt;br /&gt;½ cup brown sugar&lt;br /&gt;1 tsp cinnamon&lt;br /&gt;1 cup chopped pecans&lt;br /&gt;1 cup blueberries&lt;/span&gt;&lt;/em&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Preheat oven to 350°F. Grease 9'' square pan with solid veg shorting and dust with flour, or use pan spray &lt;/li&gt;&lt;li&gt;Place butter and sugar in a large mixing bowl, cream until light and fluffy, add eggs and vanilla. Beat &lt;/li&gt;&lt;li&gt;Toss flour, baking powder, baking soda, and salt with a task. Add alternately with sour-cream to cream mixture. Mix until smooth. Toss brown sugar, cinnamon, and nuts together. &lt;/li&gt;&lt;li&gt;Pour half the batter into prepared pan. Mix blueberries and ½ the brown sugar cinnamon and batter. Top with other half of nut mixture. Bake 30-40 minutes or until toothpick comes out clean. &lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-4891507982636250943?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/4891507982636250943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/blueberry-snack-cake.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/4891507982636250943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/4891507982636250943'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/blueberry-snack-cake.html' title='Blueberry Snack Cake'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-597971778453614796</id><published>2009-07-21T20:09:00.001-07:00</published><updated>2009-07-22T08:25:55.938-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Computers'/><title type='text'>Samba share from MAC over WAN</title><content type='html'>Setup loopback adapter on MAC using command below and then use SSH Port forwarding.&lt;br /&gt;&lt;br /&gt;sudo ifconfig lo0 10.0.0.1&lt;br /&gt;sudo ssh -L 10.0.0.1:139:192.168.1.4:139 &lt;a href="mailto:root@staran.webhop.net"&gt;root@staran.webhop.net&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Enable port 22 on Router and forward WAN traffic to 192.168.1.1. Note that the destination host is 192.168.1.4 and not 192.168.1.1.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-597971778453614796?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/597971778453614796/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/samba-share-from-mac-over-wan.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/597971778453614796'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/597971778453614796'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/samba-share-from-mac-over-wan.html' title='Samba share from MAC over WAN'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-5799895944258388444</id><published>2009-07-21T20:07:00.000-07:00</published><updated>2009-07-21T20:09:32.861-07:00</updated><title type='text'>Setup Network Printer from MAC using CUPS</title><content type='html'>fixes the not authorized problem&lt;br /&gt;Have a print server running on my Synology server. Need to print from a MAC running OS X.&lt;br /&gt;&lt;br /&gt;Log in to cups via the browser using http://localhost:631 on the Mac.&lt;br /&gt;Choose add printer, give the printer a name and location, choose Windows printer via Samba, and as device url use: smb://user:password@ip-adress/usbprinter.&lt;br /&gt;&lt;br /&gt;User and password being valid credentials for the Synology device. I used my admin account for this, with the corresponding password.&lt;br /&gt;&lt;br /&gt;(I prior installed the latest HP printer drivers (ver. 4.0), but I don't know if this is necessary)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-5799895944258388444?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/5799895944258388444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/setup-network-printer-from-mac-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/5799895944258388444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/5799895944258388444'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/setup-network-printer-from-mac-using.html' title='Setup Network Printer from MAC using CUPS'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-8867414585041478189</id><published>2009-07-21T19:51:00.001-07:00</published><updated>2009-07-21T19:51:35.269-07:00</updated><title type='text'>Test from Email</title><content type='html'>Today we are getting our kitchen cabinet work almost completed. Awesome job done by one hardworking contractor.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-8867414585041478189?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/8867414585041478189/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/test-from-email.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/8867414585041478189'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/8867414585041478189'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/test-from-email.html' title='Test from Email'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-7183273672446645813</id><published>2009-07-21T18:43:00.000-07:00</published><updated>2009-07-30T20:07:14.688-07:00</updated><title type='text'>Test again</title><content type='html'>Testing out features of Blogger. &lt;a href="http://1.bp.blogspot.com/_tv82x-4j8WA/SmaV44ghruI/AAAAAAAAAso/XovutCkt_Us/s1600-h/DSC00875.JPG"&gt;&lt;img id="BLOGGER_PHOTO_ID_5361137210905177826" style="FLOAT: right; MARGIN: 0px 0px 10px 10px; WIDTH: 126px; CURSOR: hand; HEIGHT: 121px" alt="" src="http://1.bp.blogspot.com/_tv82x-4j8WA/SmaV44ghruI/AAAAAAAAAso/XovutCkt_Us/s320/DSC00875.JPG" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.sfoportal.com/mysite/Chalte.mp3" type="audio/mpeg" height=10 width=144 autostart="false"&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-7183273672446645813?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/7183273672446645813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/test-again.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7183273672446645813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/7183273672446645813'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/test-again.html' title='Test again'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_tv82x-4j8WA/SmaV44ghruI/AAAAAAAAAso/XovutCkt_Us/s72-c/DSC00875.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1001155449500890944.post-867121174443525550</id><published>2009-07-21T17:36:00.000-07:00</published><updated>2009-07-21T19:08:47.673-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Initial'/><title type='text'>Launch</title><content type='html'>This is a first page &lt;a href="https://www.sfoportal.com/"&gt;My domain&lt;/a&gt;. Check it out&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1001155449500890944-867121174443525550?l=myblog.sfoportal.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://myblog.sfoportal.com/feeds/867121174443525550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://myblog.sfoportal.com/2009/07/launch.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/867121174443525550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1001155449500890944/posts/default/867121174443525550'/><link rel='alternate' type='text/html' href='http://myblog.sfoportal.com/2009/07/launch.html' title='Launch'/><author><name>Sanjeev</name><uri>http://www.blogger.com/profile/07895235745710837001</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
