<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><updated>2010-12-07T07:49:30-06:00</updated><title type="text">Feed for edmann.com</title><link href="http://www.edmann.com/Computers-Technology/feed/atom.xml" rel="self"/><author><name>edmann.com</name><email>support@arctechnologies.net</email><uri>http://edmann.com</uri></author><id>urn:uuid:61a0877b-9f9a-311b-a922-99fb9d4529c7</id><category term="Computers-Technology"/><subtitle type="text"></subtitle><entry><title>Jetty Jndi setup with postgresql</title><link href="/Computers-Technology/2010/12/07/Jetty-Jndi-setup-with-postgresql"/><id>urn:uuid:a0099494-1481-3373-b3c7-ddc982cda166</id><updated>2010-12-07T07:35:26-06:00</updated><summary type="html"><![CDATA[<span class="synopsis">So i was trying to get one of my web apps to run under jetty and was having problems with the global jvm jndi context. This is really simple, however it took me some time to figure it out. So i am posting my notes here, because with me i do something then a year later i will need to do it again and forget how. So here is how i got it going. Now this is with Jetty 6 i have not used Jetty 7 yet. I am using the dbcp from apache with postgresql database.</span>]]></summary><category term="Computers &amp; Technology"/><published>2010-12-07T07:49:30-06:00</published><content type="html"><![CDATA[<p><span id="synopsis">So i was trying to get one of my web apps to run under jetty and was having problems with the global jvm jndi context. This is really simple, however it took me some time to figure it out. So i am posting my notes here, because with me i do something then a year later i will need to do it again and forget how. So here is how i got it going. Now this is with Jetty 6 i have not used Jetty 7 yet. I am using the dbcp from apache with postgresql database.</span> You will need to download 3 files from the net.<span class="mw-headline"><br />
</span></p>
<ol>
    <li><a href="http://jdbc.postgresql.org/download.html">Postgresql jdbc driver</a></li>
    <li><a href="http://repo1.maven.org/maven2/commons-dbcp/commons-dbcp/1.2/commons-dbcp-1.2.jar">Apache commons-dbcp</a></li>
    <li><a href="http://commons.apache.org/pool/download_pool.cgi">Apache commons-pool</a></li>
</ol>
<p>Once you have these files you will want to save them in the jetty-version/lib/ext directory. Now we can configure jetty with our jndi connection.</p>
<p>Open your jetty.xml file and add the following somewhere between the starting &lt;Configure id=&quot;Server&quot; class=&quot;org.mortbay.jetty.Server&quot;&gt; and the closing &lt;/Configure&gt;</p>
<p><code>&lt;New id=&quot;GlobalConnection&quot; class=&quot;org.mortbay.jetty.plus.naming.Resource&quot;&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;Arg&gt;&lt;/Arg&gt; &lt;- Global JVM<br />
&nbsp;&nbsp;&nbsp; &lt;Arg&gt;jdbc/pg&lt;/Arg&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;Arg&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp; &lt;New class=&quot;org.apache.commons.dbcp.BasicDataSource&quot;&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Set name=&quot;driverClassName&quot;&gt;org.postgresql.Driver&lt;/Set&gt;<br />
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;Set name=&quot;url&quot;&gt;jdbc:postgresql://127.0.0.1:5432/me_db&lt;/Set&gt;<br />
&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;Set name=&quot;username&quot;&gt;me_username&lt;/Set&gt;<br />
&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;Set name=&quot;password&quot;&gt;me_password&lt;/Set&gt;<br />
&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp; &lt;Set name=&quot;minIdle&quot;&gt;1&lt;/Set&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp; &lt;/New&gt;<br />
&nbsp;&nbsp;&nbsp; &lt;/Arg&gt;<br />
&nbsp;&nbsp; &lt;/New&gt;</code></p>
<p>Save that file then in your projects WEB-INF/web.xml file you will want to add the following before the closing &lt;/web-app&gt; tag.</p>
<p><code>&lt;resource-ref&gt;<br />
&nbsp;&nbsp; &lt;description&gt;DB Connection&lt;/description&gt;<br />
&nbsp;&nbsp; &lt;res-ref-name&gt;jdbc/pg&lt;/res-ref-name&gt;<br />
&nbsp;&nbsp; &lt;res-type&gt;javax.sql.DataSource&lt;/res-type&gt;<br />
&nbsp;&nbsp; &lt;res-auth&gt;Container&lt;/res-auth&gt;<br />
&lt;/resource-ref&gt; </code></p>
<p>Now you can save this file fire up jetty and you should be able to get your jndi name and connect to the database. If you have issues let me know.</p>
<p>&nbsp;</p>]]></content></entry><entry><title>Oracle PDO_OCI PHP install fedora CentOS</title><link href="/Computers-Technology/2009/10/08/Oracle-PDO-OCI-PHP-install-fedora-CentOS"/><id>urn:uuid:e9946abe-8cfa-3423-b477-7b3a980699c0</id><updated>2009-10-08T13:09:32-05:00</updated><summary type="html"><![CDATA[<span id="synopsis">Well i run a mix of CentOS and Fedora machines, and at work i needed to run some reports from an Oracle DB. I really don't care much for Oracle, but i needed to get the data, and since i don't like having to do the same thing over again i thought i would just throw together a PHP page and let the user run the canned report themselves. However getting Oracle to install on CentOS and my Fedora boxes was not a simple yum install...</span>]]></summary><category term="Computers &amp; Technology"/><published>2009-10-08T13:17:48-05:00</published><content type="html"><![CDATA[<p><span id="synopsis">Well i run a mix of CentOS and Fedora machines, and at work i needed to run some reports from an Oracle DB. I really don't care much for Oracle, but i needed to get the data, and since i don't like having to do the same thing over again i thought i would just throw together a PHP page and let the user run the canned report themselves. However getting Oracle to install on CentOS and my Fedora boxes was not a simple yum install...</span></p>
<p>So here are my steps on how i got pdo_oci to install on my machine using PHP 5.2.x</p>
<h2><span class="mw-headline">Instant Client</span>&nbsp;</h2>
<p>You will first need to download the instant client from <a rel="nofollow" title="http://www.oracle.com/technology/software/tech/oci/instantclient/index.html" class="external text" href="http://www.oracle.com/technology/software/tech/oci/instantclient/index.html">oracle website</a>. I&nbsp;am using that link because you may have a x86_64 machine or just a x86. That page will let you choose. You will need to install the following packages</p>
<ol>
    <li>oracle-instantclient11.2-basic-11.2.0.1.0-1.i386.rpm</li>
    <li>oracle-instantclient11.2-devel-11.2.0.1.0-1.i386.rpm</li>
</ol>
<p>Run yum -y --nogpgcheck install oracle-instantclient*&nbsp; to install the packages. You can now go to the next section</p>
<h2>Oracle Profile</h2>
<p>Run the following command to create oracle.sh profile in profile.d directory</p>
<pre><code>cat &lt;&lt;EOF &gt; /etc/profile.d/oracle.sh<br /><br />export LD_LIBRARY_PATH=/usr/lib/oracle/11.2/client/lib/<br />export     ORACLE_HOME=/usr/lib/oracle/11.2/client/lib/<br />EOF</code>
</pre>
<p>Then run</p>
<p><code>[root@ed-mann]# source /etc/profile.d/oracle.sh</code></p>
<h3 style="color: Red;">Note:</h3>
<p>I did change my ORACLE_HOME to /usr/include/oracle/11.2/client. I am not sure if it did anything, i am planning on testing without doing that.</p>
<h2><span class="mw-headline">PDO_OCI SRC</span></h2>
<p>&nbsp;</p>
<p>To get the oracle PDO&nbsp;driver install on Linux you will need to get the src from pecl</p>
<pre><code>[root@ed-mann tmp]# pecl download pdo_oci</code></pre>
<h2><span class="mw-headline">Patch  </span></h2>
<p>&nbsp;</p>
<p>Then once you have it you need to edit the config.m4 file and add the following after exploding the src look for similar sections</p>
<pre><code>elif test -f $PDO_OCI_DIR/lib/libclntsh.$SHLIB_SUFFIX_NAME.11.2; then<br />PDO_OCI_VERSION=11.2</code></pre>
<p>also add the following</p>
<pre><code>11.2)<br />      PHP_ADD_LIBRARY(clntsh, 1, PDO_OCI_SHARED_LIBADD)<br />    &nbsp;;;</code>
</pre>
<p>Again look for a similar area and add that. I may provide a patch. I did see a patch <a href="http://bugs.php.net/bug.php?id=39312">here</a>.&nbsp;But it did not work for me... well it probably would have but by the time i figured this all out i was not using that patch.</p>
<h2>Compile</h2>
<p>Now you can run phpize and then this configure command</p>
<pre><code>./configure  --with-pdo-oci=instantclient,/usr,11.2</code>
</pre>
<p>Since we are using the instantclient we need to put that also we add what version we are using.</p>
<p>Now you can run make &amp;&amp;&nbsp;&nbsp;make install as root</p>
<h2>Include File</h2>
<p>Create a new file in /etc/php.d named pdo_oci.ini and include the following</p>
<pre><code>; Enable pdo_oci (oracle) extension module<br />extension=pdo_oci.so</code>
</pre>
<h2>Final Steps</h2>
<p>Now you will need to reload/restart Apache. Put phpinfo(); in a page view it from your browser. You should see PDO_OCI listed if not i don't know what went wrong. Leave me a message and i will help if i can.</p>]]></content></entry><entry><title>Opennms monitor process</title><link href="/Computers-Technology/2009/05/05/Opennms-monitor-process"/><id>urn:uuid:55008bed-bdc2-3621-8883-7c36d58466ed</id><updated>2009-05-05T09:28:49-05:00</updated><summary type="html"><![CDATA[<p>I found two separate links on monitoring processes using OpenNMS. On uses <a href="http://www.opennms.org/index.php/Groovy_process_poller">groovy</a> the other uses the <a href="http://markmail.org/message/atorwvo5e5xc4kuj#query:opennms%20monitor%20processes+page:1+mid:akbinbi46ssetbnt+state:results">polling service</a> inside OpenNMS. I will try one if it does not work the way i want i will try the other.&nbsp; My idea is to use the polling service to see if it does what i want, if not then do the groovy way. I&nbsp;hope it all works. Also i want to figure out a way to monitor log files.</p>]]></summary><category term="Computers &amp; Technology"/><published>2009-05-05T09:31:09-05:00</published><content type="html"><![CDATA[<p>I found two separate links on monitoring processes using OpenNMS. On uses <a href="http://www.opennms.org/index.php/Groovy_process_poller">groovy</a> the other uses the <a href="http://markmail.org/message/atorwvo5e5xc4kuj#query:opennms%20monitor%20processes+page:1+mid:akbinbi46ssetbnt+state:results">polling service</a> inside OpenNMS. I will try one if it does not work the way i want i will try the other.&nbsp; My idea is to use the polling service to see if it does what i want, if not then do the groovy way. I&nbsp;hope it all works. Also i want to figure out a way to monitor log files.</p>]]></content></entry><entry><title>Still working hard</title><link href="/Computers-Technology/2008/03/04/Still-working-hard-1"/><id>urn:uuid:2516bffe-ae85-3938-aea6-b97251f60490</id><updated>2008-03-04T15:54:07-06:00</updated><summary type="html"><![CDATA[<p>I have been working hard on client projects, the <a href="http://phpeclipse.net">PHPEclipse</a> project, and learning about <a href="http://www.bacula.org">Bacula</a>. Which is the best Open Source backup utility around. I have used <a href="http://www.amanda.org/">Amanda</a> in the past, but once i started using Tivoli at work i realized that there was allot missing. I plan on doing a full review and documentation on using Bacula. Right now i am still learning how to use it and making custom scripts to do things that i need done. My documentation will be on my setup, and how i am using it. The <a href="http://www.bacula.org/en/rel-manual/index.html">docs</a> done by Kern Sibbald<b> </b>are awesome. The documentation is very helpful and i have been able to find almost everything i needed.</p>
<p>The dlzsync project that i have been working on is just about finished. I know i said it was going to be done months ago, but i got busy with other stuff. It is looking very good. I have been testing it on the domains that i host. I just have a few kinks to work out of the system.</p>
<p>I have also learned how to use PHPUnit, and write unit tests for my applications. I plan on working with Junit to do the same for my Java apps. Need to write some unit test for PHPEclipse as well.</p>
<p>Also i have not forgotten about my blog system. It has not seen any development for a while. I have allot of projects going on, and just have not had time to dedicate to working on the blog system. I guess i got it working good enough for what i need right now. However i do need to add the page so i can view old posts and possibly edit them. I have some that i need to publish.</p>]]></summary><category term="Computers &amp; Technology"/><published>2008-03-04T16:10:38-06:00</published><content type="html"><![CDATA[<p>I have been working hard on client projects, the <a href="http://phpeclipse.net">PHPEclipse</a> project, and learning about <a href="http://www.bacula.org">Bacula</a>. Which is the best Open Source backup utility around. I have used <a href="http://www.amanda.org/">Amanda</a> in the past, but once i started using Tivoli at work i realized that there was allot missing. I plan on doing a full review and documentation on using Bacula. Right now i am still learning how to use it and making custom scripts to do things that i need done. My documentation will be on my setup, and how i am using it. The <a href="http://www.bacula.org/en/rel-manual/index.html">docs</a> done by Kern Sibbald<b> </b>are awesome. The documentation is very helpful and i have been able to find almost everything i needed.</p>
<p>The dlzsync project that i have been working on is just about finished. I know i said it was going to be done months ago, but i got busy with other stuff. It is looking very good. I have been testing it on the domains that i host. I just have a few kinks to work out of the system.</p>
<p>I have also learned how to use PHPUnit, and write unit tests for my applications. I plan on working with Junit to do the same for my Java apps. Need to write some unit test for PHPEclipse as well.</p>
<p>Also i have not forgotten about my blog system. It has not seen any development for a while. I have allot of projects going on, and just have not had time to dedicate to working on the blog system. I guess i got it working good enough for what i need right now. However i do need to add the page so i can view old posts and possibly edit them. I have some that i need to publish.</p>]]></content></entry><entry><title>PHPEclipse Release 1.2.0 and Development 1.3.x</title><link href="/Computers-Technology/2008/01/17/PHPEclipse-Release-1-2-0-and-Development-1-3-x"/><id>urn:uuid:9866bb1a-02dc-3b89-8449-e86db45c7fd8</id><updated>2008-01-17T15:03:31-06:00</updated><summary type="html"><![CDATA[<p>I have <a href="http://edmann.com/Computers-Technology/2008/01/15/PHPEclipse-project">mentioned before</a> that i work on the <a href="http://phpeclipse.net/tiki-view_articles.php">PHPEclipse project</a>, one of my jobs is administering the build system. We use <a href="https://hudson.dev.java.net/">hudson</a> as our continuous build system as it's a really easy system to learn and use.</p>
<p>As i noted in my other post we moved from from <a href="http://www.nongnu.org/cvs/">cvs</a> and to <a href="http://subversion.tigris.org/">svn</a> and things have been going well on the svn front. However when i changed the build system to pull from svn, there were some problems. To me it was more PEBKAC than a problem with svn. I spent 3 days working on the issue and could not figure out why our DBG feature would not build. Incastrix one of the other developers on the project created the new 1.3.x development branch and i was able to use it to test my builds. When i created a new project and imported his code things as i remember just worked. Long story short i found there were a few plug-ins that were included in places they should not be, and others that were not needed at all. I made my changes and the system was successful in building the project.</p>
<p>What is more frustrating is that getting it to work that last day only took about 15min, and here i spent 4 days running around in circles.</p>
<p>Now that the builds are back, and people are able to use it, i think i created more bugs. But that's the way it goes. I am really looking forward to us getting 1.2.0 out the door, and also the work that is going into <a href="http://dev.phpeclipse.com/milestone/1.3.x">1.3.x</a> and <a href="http://dev.phpeclipse.com/milestone/1.5.x">1.5.x</a>. Ajt and i will be cleaning up the <a href="http://dev.phpeclipse.com/report/1">ticket system</a> in an attempt to refine the items left for the <a href="http://dev.phpeclipse.com/milestone/1.2.x">1.2.x</a> release. Looking at the tickets for the 1.2.x release you would think we were crazy. It has more bugs than 1.3.x and we only have 2 weeks to get them all fixed. But this will change over the weekend when ajt and i clean and assign bugs to there new milestones.</p>
<p>Something else i will be working on is a tutorial on using <a href="http://www.eclipse.org/dsdp/tm/">RSE</a> and  <a href="http://phpeclipse.net/tiki-view_articles.php">PHPEclipse</a>. It's something new to PHPEclipse and it's working pretty well for me. Also i will include instructions on using XDebug. There are a few more bugs that incastrix and i will be working on related to XDebug and RSE and i hope to get some fixed today.</p>]]></summary><category term="Computers &amp; Technology"/><published>2008-01-17T15:03:50-06:00</published><content type="html"><![CDATA[<p>I have <a href="http://edmann.com/Computers-Technology/2008/01/15/PHPEclipse-project">mentioned before</a> that i work on the <a href="http://phpeclipse.net/tiki-view_articles.php">PHPEclipse project</a>, one of my jobs is administering the build system. We use <a href="https://hudson.dev.java.net/">hudson</a> as our continuous build system as it's a really easy system to learn and use.</p>
<p>As i noted in my other post we moved from from <a href="http://www.nongnu.org/cvs/">cvs</a> and to <a href="http://subversion.tigris.org/">svn</a> and things have been going well on the svn front. However when i changed the build system to pull from svn, there were some problems. To me it was more PEBKAC than a problem with svn. I spent 3 days working on the issue and could not figure out why our DBG feature would not build. Incastrix one of the other developers on the project created the new 1.3.x development branch and i was able to use it to test my builds. When i created a new project and imported his code things as i remember just worked. Long story short i found there were a few plug-ins that were included in places they should not be, and others that were not needed at all. I made my changes and the system was successful in building the project.</p>
<p>What is more frustrating is that getting it to work that last day only took about 15min, and here i spent 4 days running around in circles.</p>
<p>Now that the builds are back, and people are able to use it, i think i created more bugs. But that's the way it goes. I am really looking forward to us getting 1.2.0 out the door, and also the work that is going into <a href="http://dev.phpeclipse.com/milestone/1.3.x">1.3.x</a> and <a href="http://dev.phpeclipse.com/milestone/1.5.x">1.5.x</a>. Ajt and i will be cleaning up the <a href="http://dev.phpeclipse.com/report/1">ticket system</a> in an attempt to refine the items left for the <a href="http://dev.phpeclipse.com/milestone/1.2.x">1.2.x</a> release. Looking at the tickets for the 1.2.x release you would think we were crazy. It has more bugs than 1.3.x and we only have 2 weeks to get them all fixed. But this will change over the weekend when ajt and i clean and assign bugs to there new milestones.</p>
<p>Something else i will be working on is a tutorial on using <a href="http://www.eclipse.org/dsdp/tm/">RSE</a> and  <a href="http://phpeclipse.net/tiki-view_articles.php">PHPEclipse</a>. It's something new to PHPEclipse and it's working pretty well for me. Also i will include instructions on using XDebug. There are a few more bugs that incastrix and i will be working on related to XDebug and RSE and i hope to get some fixed today.</p>]]></content></entry><entry><title>PHPEclipse project</title><link href="/Computers-Technology/2008/01/15/PHPEclipse-project"/><id>urn:uuid:2ef196c3-b875-3129-a259-f2a4f5c4fdf9</id><updated>2008-01-15T11:55:24-06:00</updated><summary type="html"><![CDATA[<p>I have been spending allot of time working on the <a href="http://phpeclipse.com">PHPEclipse</a> project, and <a href="http://dev.phpeclipse.com/report/1">fixing bugs</a>, and maybe creating a few new ones. I also administer the build system for the project. We have recently moved away from <a href="http://www.nongnu.org/cvs/">cvs</a> and to <a href="http://subversion.tigris.org/">svn</a> and the build system needed to be changed to pull from the new repo.</p>
<p>And that is where the fun begins. Allot of work has gone on in the core of PHPEclipse and in the <a href="http://xdebug.org/">XDebug</a> feature, but not many developers have put that much time into the <a href="http://dd.cron.ru/dbg/">DBG</a> feature. I have been able to get the project to build everthing except the DBG plug-in. It is driving me up a wall. I was for a while able to get it to build out of my local workspace which was a copy of svn, but after messing around i broke it, so now it won't build from there or svn. I have asked another developer incastrix to assist me in fixing the build issue. He is the master behind our XDebug plugin-in, and i am hopefull that he will show me the simple error of my way.</p>
<p>Also with the project, i have committed my fixes for <a href="http://www.eclipse.org/dsdp/tm/">RSE</a> which is the Team Management plug-in for Eclipse. The work started with <span class="csComment">grEvenX submitting a patch, i applied it found that it was a good start, but there were more problems. So i committed it and then spent the rest of the weekend working on the issues that i had found. It was good to see the internals of the project, and i am looking forward to the 1.3.x version where we clean up the code.<br />
</span></p>
<p><span class="csComment">There are just a few more items we want to address then we are going to push 1.2.0 out the nest and let it fly on it's own. </span></p>
<p><span class="csComment">The 1.3.0 release is slated for refactoring of the code, and not many if any new features. This work will update PHPEclipse with the current API for Eclipse, and also will be working with supporing the new <a href="http://www.eclipse.org/projects/ganymede.php">Ganymede Simultaneous Relase</a>. The project is not ready yet to be listed, but i hope for our 1.4.x release we can be a listing project for that simultaneous release cycle.<br />
</span></p>
<p><span class="csComment">I </span>am looking forward to the next few months of Eclipse development, and as always i have more to do than i have time for, but it keeps me out of trouble.</p>]]></summary><category term="Computers &amp; Technology"/><published>2008-01-15T12:16:57-06:00</published><content type="html"><![CDATA[<p>I have been spending allot of time working on the <a href="http://phpeclipse.com">PHPEclipse</a> project, and <a href="http://dev.phpeclipse.com/report/1">fixing bugs</a>, and maybe creating a few new ones. I also administer the build system for the project. We have recently moved away from <a href="http://www.nongnu.org/cvs/">cvs</a> and to <a href="http://subversion.tigris.org/">svn</a> and the build system needed to be changed to pull from the new repo.</p>
<p>And that is where the fun begins. Allot of work has gone on in the core of PHPEclipse and in the <a href="http://xdebug.org/">XDebug</a> feature, but not many developers have put that much time into the <a href="http://dd.cron.ru/dbg/">DBG</a> feature. I have been able to get the project to build everthing except the DBG plug-in. It is driving me up a wall. I was for a while able to get it to build out of my local workspace which was a copy of svn, but after messing around i broke it, so now it won't build from there or svn. I have asked another developer incastrix to assist me in fixing the build issue. He is the master behind our XDebug plugin-in, and i am hopefull that he will show me the simple error of my way.</p>
<p>Also with the project, i have committed my fixes for <a href="http://www.eclipse.org/dsdp/tm/">RSE</a> which is the Team Management plug-in for Eclipse. The work started with <span class="csComment">grEvenX submitting a patch, i applied it found that it was a good start, but there were more problems. So i committed it and then spent the rest of the weekend working on the issues that i had found. It was good to see the internals of the project, and i am looking forward to the 1.3.x version where we clean up the code.<br />
</span></p>
<p><span class="csComment">There are just a few more items we want to address then we are going to push 1.2.0 out the nest and let it fly on it's own. </span></p>
<p><span class="csComment">The 1.3.0 release is slated for refactoring of the code, and not many if any new features. This work will update PHPEclipse with the current API for Eclipse, and also will be working with supporing the new <a href="http://www.eclipse.org/projects/ganymede.php">Ganymede Simultaneous Relase</a>. The project is not ready yet to be listed, but i hope for our 1.4.x release we can be a listing project for that simultaneous release cycle.<br />
</span></p>
<p><span class="csComment">I </span>am looking forward to the next few months of Eclipse development, and as always i have more to do than i have time for, but it keeps me out of trouble.</p>]]></content></entry><entry><title>ISC DHCP and Ldap Backend</title><link href="/Computers-Technology/2008/01/08/ISC-DHCP-and-Ldap-Backend"/><id>urn:uuid:7798edd7-ec8b-35bf-80b4-5ebd57fcb0e2</id><updated>2008-01-08T10:29:05-06:00</updated><summary type="html"><![CDATA[<p>Searching the web for documentation on how to configure <a href="http://www.isc.org/sw/dhcp/">ISC DHCPD</a> and Ldap backend. I will be use the<a href="http://directory.fedoraproject.org/"> Fedora Directory Server</a>, and i have found some information <a href="http://dokuwiki.solstice.nl/dokuwiki/doku.php?id=hannibal:dns_and_dhcp">at this site</a>. I am posting the data here because i am afraid of the site going away. Not that it would, but you never know. The reason for this work is because i have not found a good gui tool for dhcp administration.</p>
<p>My plan is to develop a tool that will use LDAP as the storage, and it will be written in <a href="http://java.com/en/">Java</a>. The idea that i have now is that the Model can be used to do a desktop installable app, and also a browser based app.</p>
<p>I have used <a href="http://www.php.net">PHP</a> allot for my applications, but this time i am going to change over to Java for this one. I did a management gui for <a href="http://www.isc.org/sw/bind/index.php">ISC DNS</a> using the <a href="http://bind-dlz.sourceforge.net/">Dlz</a> feature. It is browser based and done with php. The project i did is called dlzSync and the website should be up soon. I did code the sync server in java, but it needs more work.</p>
<h2>.::LDAP Info::.</h2>
<p>This is the information that i gleaned from <a href="http://dokuwiki.solstice.nl/dokuwiki/doku.php?id=hannibal:dns_and_dhcp">solstice.nl</a>. I plan on adding more information as i learn how to use the feature. But this is the starting point of my work. Thanks to the people at <a href="http://dokuwiki.solstice.nl/dokuwiki/doku.php?id=hannibal:dns_and_dhcp">solstice.nl</a>, and the person that created the entry.</p>
<h4>.::DHCP Ldap Config::.</h4>
<p>/etc/dhcpd.conf</p>
<pre><code><br />ldap-server                 &quot;ds.edmann.com&quot;;<br />ldap-port                   389; # We do an anonymous bind <br /># ldap-username             &quot;cn=manager_login&quot;; <br /># ldap-password             &quot;mysecretPWD&quot;; <br />ldap-base-dn                &quot;ou=DHCP,dc=edmann,dc=com&quot;; <br />ldap-method                 static; <br />ldap-debug-file             &quot;/var/log/dhcp-ldap-startup.log&quot;; <br /></code></pre>
<h4>.::DHCP ldif example::.</h4>
<pre><code> dn: ou=DHCP,dc=edmann,dc=com<br />ou: DHCP<br />objectClass: top<br />objectClass: organizationalUnit<br />description: DHCP Servers<br /><br />dn: cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br />cn: DHCP Config<br />objectClass: top<br />objectClass: dhcpService<br />dhcpPrimaryDN: cn=dns,ou=DHCP,dc=edmann,dc=com<br />dhcpStatements: ddns-update-style none<br />dhcpStatements: get-lease-hostnames true<br />dhcpStatements: use-host-decl-names true<br /><br />dn: cn=192.168.1.0, cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br />cn: 192.168.1.0<br />objectClass: top<br />objectClass: dhcpSubnet<br />objectClass: dhcpOptions<br />dhcpNetMask: 24<br />dhcpRange: 192.168.1.150 192.168.1.200<br />dhcpStatements: default-lease-time 600<br />dhcpStatements: max-lease-time 7200<br />dhcpOption: netbios-name-servers 192.168.1.16<br />dhcpOption: subnet-mask 255.255.255.0<br />dhcpOption: routers 192.168.1.1<br />dhcpOption: domain-name-servers 192.168.1.11<br />dhcpOption: domain-name &quot;edmann.com&quot;<br /><br />dn: cn=dns, ou=DHCP,dc=edmann,dc=com<br />cn: dns<br />objectClass: top<br />objectClass: dhcpServer<br />dhcpServiceDN: cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br /><br />dn: cn=clienta, cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br />cn: clienta<br />objectClass: top<br />objectClass: dhcpHost<br />dhcpHWAddress: ethernet 00:16:3e:3d:eb:87<br />dhcpStatements: fixed-address 192.168.1.111</code></pre>
<p>&nbsp;You should note that they are not doing <a href="http://en.wikipedia.org/wiki/Dynamic_DNS">Dynamic DNS</a> update. I have used this and plan on using it more. So my final configuration will have an example on using ddns.</p>
<p>There is a special schema that you need to use. The website said they had one (64<span class="search_hit">ldap</span><span class="search_hit">dhcp</span>.ldif) in their downloads directory, but when i clicked on the link i was given a 404 error. So i will need to generate one myself and i will post it here for others. Which means i need to get the add file part of my blog system working. :-)</p>
<p>You can find the <a href="http://www.openldap.org/">OpenLdap</a> <a href="http://www.lunytune.net/dhcp.schema.gz">schema</a> file on <a href="http://www.lunytune.net/isc-ldap.html">lunytune.net</a>, I may be able to run the conversion script against this. I will need to test it and post back my results.&nbsp;</p>]]></summary><category term="Computers &amp; Technology"/><published>2008-01-08T10:58:32-06:00</published><content type="html"><![CDATA[<p>Searching the web for documentation on how to configure <a href="http://www.isc.org/sw/dhcp/">ISC DHCPD</a> and Ldap backend. I will be use the<a href="http://directory.fedoraproject.org/"> Fedora Directory Server</a>, and i have found some information <a href="http://dokuwiki.solstice.nl/dokuwiki/doku.php?id=hannibal:dns_and_dhcp">at this site</a>. I am posting the data here because i am afraid of the site going away. Not that it would, but you never know. The reason for this work is because i have not found a good gui tool for dhcp administration.</p>
<p>My plan is to develop a tool that will use LDAP as the storage, and it will be written in <a href="http://java.com/en/">Java</a>. The idea that i have now is that the Model can be used to do a desktop installable app, and also a browser based app.</p>
<p>I have used <a href="http://www.php.net">PHP</a> allot for my applications, but this time i am going to change over to Java for this one. I did a management gui for <a href="http://www.isc.org/sw/bind/index.php">ISC DNS</a> using the <a href="http://bind-dlz.sourceforge.net/">Dlz</a> feature. It is browser based and done with php. The project i did is called dlzSync and the website should be up soon. I did code the sync server in java, but it needs more work.</p>
<h2>.::LDAP Info::.</h2>
<p>This is the information that i gleaned from <a href="http://dokuwiki.solstice.nl/dokuwiki/doku.php?id=hannibal:dns_and_dhcp">solstice.nl</a>. I plan on adding more information as i learn how to use the feature. But this is the starting point of my work. Thanks to the people at <a href="http://dokuwiki.solstice.nl/dokuwiki/doku.php?id=hannibal:dns_and_dhcp">solstice.nl</a>, and the person that created the entry.</p>
<h4>.::DHCP Ldap Config::.</h4>
<p>/etc/dhcpd.conf</p>
<pre><code><br />ldap-server                 &quot;ds.edmann.com&quot;;<br />ldap-port                   389; # We do an anonymous bind <br /># ldap-username             &quot;cn=manager_login&quot;; <br /># ldap-password             &quot;mysecretPWD&quot;; <br />ldap-base-dn                &quot;ou=DHCP,dc=edmann,dc=com&quot;; <br />ldap-method                 static; <br />ldap-debug-file             &quot;/var/log/dhcp-ldap-startup.log&quot;; <br /></code></pre>
<h4>.::DHCP ldif example::.</h4>
<pre><code> dn: ou=DHCP,dc=edmann,dc=com<br />ou: DHCP<br />objectClass: top<br />objectClass: organizationalUnit<br />description: DHCP Servers<br /><br />dn: cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br />cn: DHCP Config<br />objectClass: top<br />objectClass: dhcpService<br />dhcpPrimaryDN: cn=dns,ou=DHCP,dc=edmann,dc=com<br />dhcpStatements: ddns-update-style none<br />dhcpStatements: get-lease-hostnames true<br />dhcpStatements: use-host-decl-names true<br /><br />dn: cn=192.168.1.0, cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br />cn: 192.168.1.0<br />objectClass: top<br />objectClass: dhcpSubnet<br />objectClass: dhcpOptions<br />dhcpNetMask: 24<br />dhcpRange: 192.168.1.150 192.168.1.200<br />dhcpStatements: default-lease-time 600<br />dhcpStatements: max-lease-time 7200<br />dhcpOption: netbios-name-servers 192.168.1.16<br />dhcpOption: subnet-mask 255.255.255.0<br />dhcpOption: routers 192.168.1.1<br />dhcpOption: domain-name-servers 192.168.1.11<br />dhcpOption: domain-name &quot;edmann.com&quot;<br /><br />dn: cn=dns, ou=DHCP,dc=edmann,dc=com<br />cn: dns<br />objectClass: top<br />objectClass: dhcpServer<br />dhcpServiceDN: cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br /><br />dn: cn=clienta, cn=DHCP Config, ou=DHCP,dc=edmann,dc=com<br />cn: clienta<br />objectClass: top<br />objectClass: dhcpHost<br />dhcpHWAddress: ethernet 00:16:3e:3d:eb:87<br />dhcpStatements: fixed-address 192.168.1.111</code></pre>
<p>&nbsp;You should note that they are not doing <a href="http://en.wikipedia.org/wiki/Dynamic_DNS">Dynamic DNS</a> update. I have used this and plan on using it more. So my final configuration will have an example on using ddns.</p>
<p>There is a special schema that you need to use. The website said they had one (64<span class="search_hit">ldap</span><span class="search_hit">dhcp</span>.ldif) in their downloads directory, but when i clicked on the link i was given a 404 error. So i will need to generate one myself and i will post it here for others. Which means i need to get the add file part of my blog system working. :-)</p>
<p>You can find the <a href="http://www.openldap.org/">OpenLdap</a> <a href="http://www.lunytune.net/dhcp.schema.gz">schema</a> file on <a href="http://www.lunytune.net/isc-ldap.html">lunytune.net</a>, I may be able to run the conversion script against this. I will need to test it and post back my results.&nbsp;</p>]]></content></entry><entry><title>QA Website and Blog Status</title><link href="/Computers-Technology/2007/12/27/QA-Website-and-Blog-Status"/><id>urn:uuid:2fd64f2e-569e-3465-9fd4-2a7c490b6e4d</id><updated>2007-12-27T13:17:00-06:00</updated><summary type="html"><![CDATA[<p>I found this in the IRC channel for phpeclipse. pteague_work pointed out an name <a href="http://www.openqa.org/selenium/">Selenium</a> for a tool that will test websites. Since i do allot of sites i had looked at this in the past, but have not had a change to use it.</p>
<p>I am finishing up one big project, and am working on another... ie this blog system. It is said that you can <a href="http://sebastian-bergmann.de/archives/631-Integrating-PHPUnit-with-Selenium.html">integrate</a> <a href="http://www.phpunit.de/">PHPUnit</a> tests in with <a href="http://www.openqa.org/selenium/">Selenium</a>, so i will attempt to do just that. Making sure i document the way i did it.</p>
<p>Also i have a new update for the blog system that i have not pushed out live yet. It adds pagination so you can look at previous posts, and also the ability to post comments. Granted that last part i am still not sure i want to push out. I have allot more tests that i want to run just to make sure my blog system does not become a spamers best friend.</p>
<p>The backend is shaping up nicely but slowly. I have just added comment moderation, and the css that goes with it. I want to add post history this weekend and also category management. The latter should not be to hard to do. Famous last words.&nbsp; </p>
<p>Also need to setup different databases to do unit tests against, just to insure that this thing is working the way i want it to.</p>]]></summary><category term="Computers &amp; Technology"/><published>2007-12-27T13:24:58-06:00</published><content type="html"><![CDATA[<p>I found this in the IRC channel for phpeclipse. pteague_work pointed out an name <a href="http://www.openqa.org/selenium/">Selenium</a> for a tool that will test websites. Since i do allot of sites i had looked at this in the past, but have not had a change to use it.</p>
<p>I am finishing up one big project, and am working on another... ie this blog system. It is said that you can <a href="http://sebastian-bergmann.de/archives/631-Integrating-PHPUnit-with-Selenium.html">integrate</a> <a href="http://www.phpunit.de/">PHPUnit</a> tests in with <a href="http://www.openqa.org/selenium/">Selenium</a>, so i will attempt to do just that. Making sure i document the way i did it.</p>
<p>Also i have a new update for the blog system that i have not pushed out live yet. It adds pagination so you can look at previous posts, and also the ability to post comments. Granted that last part i am still not sure i want to push out. I have allot more tests that i want to run just to make sure my blog system does not become a spamers best friend.</p>
<p>The backend is shaping up nicely but slowly. I have just added comment moderation, and the css that goes with it. I want to add post history this weekend and also category management. The latter should not be to hard to do. Famous last words.&nbsp; </p>
<p>Also need to setup different databases to do unit tests against, just to insure that this thing is working the way i want it to.</p>]]></content></entry><entry><title>Firefox 3 Beta 2</title><link href="/Computers-Technology/2007/12/24/Firefox-3-Beta-2"/><id>urn:uuid:95fb29d1-1532-33a8-aaeb-4021213477e9</id><updated>2007-12-24T10:35:23-06:00</updated><summary type="html"><![CDATA[<p>I have to say that the new Firefox 3 Beta 2 release is awesome. I just got it installed on my machine, and i do visibly notice that things load allot faster. I use <a href="http://www.fckeditor.net/">FCKeditor</a> on the back-end of my blog, and it does not have a choppy load. It loaded just like a page would. Heck this could just be me and my machines, but it is noticeable.&nbsp;</p>
<p>There are several improvements in the Beta 2, and i am looking forward to the final product. When you open new tabs there is no noticeable lag.&nbsp; Like i said before the form items take the look of the current theme that you are using on Linux. The form fields look so much better then they do in FF2.x.</p>
<p>I need to go spend some time playing around with it more, but this release is awesome. Whenever i get on a persons machine the first thing i do is look for FF. If i don't find it i download it and install it on there machine. I tell them to use it and not the other browser. Most the time i am on there machine to fix something, so when i tell them to use FF they listen. If i did not know what i was doing or talking about they would not have asked me to work on there machine in the first place. I recommend FF to everyone that uses a computer. But that's just me. :-)</p>]]></summary><category term="Computers &amp; Technology"/><published>2007-12-24T10:45:41-06:00</published><content type="html"><![CDATA[<p>I have to say that the new Firefox 3 Beta 2 release is awesome. I just got it installed on my machine, and i do visibly notice that things load allot faster. I use <a href="http://www.fckeditor.net/">FCKeditor</a> on the back-end of my blog, and it does not have a choppy load. It loaded just like a page would. Heck this could just be me and my machines, but it is noticeable.&nbsp;</p>
<p>There are several improvements in the Beta 2, and i am looking forward to the final product. When you open new tabs there is no noticeable lag.&nbsp; Like i said before the form items take the look of the current theme that you are using on Linux. The form fields look so much better then they do in FF2.x.</p>
<p>I need to go spend some time playing around with it more, but this release is awesome. Whenever i get on a persons machine the first thing i do is look for FF. If i don't find it i download it and install it on there machine. I tell them to use it and not the other browser. Most the time i am on there machine to fix something, so when i tell them to use FF they listen. If i did not know what i was doing or talking about they would not have asked me to work on there machine in the first place. I recommend FF to everyone that uses a computer. But that's just me. :-)</p>]]></content></entry><entry><title>New Blog System</title><link href="/Computers-Technology/2007/12/09/New-Blog-System"/><id>urn:uuid:ceb2d607-68e5-336e-8b2f-b5961e19ee0e</id><updated>2007-12-09T17:13:04-06:00</updated><summary type="html"><![CDATA[This is my first post to the new blog system that i am working on. There are allot of things left to do, but i now have it so that i can post to it. I need to get the comment system working, i should have that done sometime this week. And there are several items in the Admin console that i need to work on.<br />
<br />
I had to close the comments because they have not been fully tested. It should not take me that long to get it done.<br />
<br />
I am just happy to have this thing working. It did not take me long to write the code to port from my old <a href="http://b2evolution.net/">b2evolution</a> blog system that was on <a href="http://mysql.com/">mysql</a>. Now it all runs under <a href="http://www.postgresql.org/">postgresql</a> and the framework that i have been working on for other projects.<br />
<br />
I need to get the pingback stuff working so i can ping the syndication sites.<br />
<br />
Now that i have the template for the site, i can integrate the gallery more into the site. I have lot's of work ahead of me on this, however i am happy at the progress that i have made in a few weekends.<br />
Just allot of progress for this system and it's going very well.]]></summary><category term="Computers &amp; Technology"/><published>2007-12-09T17:15:04-06:00</published><content type="html"><![CDATA[This is my first post to the new blog system that i am working on. There are allot of things left to do, but i now have it so that i can post to it. I need to get the comment system working, i should have that done sometime this week. And there are several items in the Admin console that i need to work on.<br />
<br />
I had to close the comments because they have not been fully tested. It should not take me that long to get it done.<br />
<br />
I am just happy to have this thing working. It did not take me long to write the code to port from my old <a href="http://b2evolution.net/">b2evolution</a> blog system that was on <a href="http://mysql.com/">mysql</a>. Now it all runs under <a href="http://www.postgresql.org/">postgresql</a> and the framework that i have been working on for other projects.<br />
<br />
I need to get the pingback stuff working so i can ping the syndication sites.<br />
<br />
Now that i have the template for the site, i can integrate the gallery more into the site. I have lot's of work ahead of me on this, however i am happy at the progress that i have made in a few weekends.<br />
Just allot of progress for this system and it's going very well.]]></content></entry></feed>

