<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>LinuxReaders &#187; ocs</title> <atom:link href="http://www.linuxreaders.com/tag/ocs/feed/" rel="self" type="application/rss+xml" /><link>http://www.linuxreaders.com</link> <description></description> <lastBuildDate>Sat, 04 Feb 2012 17:52:38 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>OCSNG Server Setup on CentOS</title><link>http://www.linuxreaders.com/2009/04/09/ocsng-server-setup-on-centos/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ocsng-server-setup-on-centos</link> <comments>http://www.linuxreaders.com/2009/04/09/ocsng-server-setup-on-centos/#comments</comments> <pubDate>Wed, 08 Apr 2009 21:07:00 +0000</pubDate> <dc:creator>Dhaval Thakar</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[ocs]]></category> <category><![CDATA[ocs inventory]]></category> <guid
isPermaLink="false">http://linuxreaders.wordpress.com/2009/02/12/ocsng-server-setup-on-centos/</guid> <description><![CDATA[OCSNG Server Setup on CentOS Installing packages requird for OCS Inventory: yum -y install mysql-server mysql httpd echo &#8220;ServerName ocs-inventory:80&#8243; &#62;&#62; /etc/httpd/conf/httpd.conf service httpd restart Creating data for OCS Inventory mysql -u root -p mysql&#62;CREATE DATABASE ocsweb; mysql&#62;GRANT ALL PRIVILEGES ON ocsweb.* TO ocs@localhost IDENTIFIED BY &#8216;ocs&#8217;; mysql&#62;exit Preparing PHP yum -y install perl-XML-Simple perl-Compress-Zlib [...]<p><a
href="http://www.linuxreaders.com/2009/04/09/ocsng-server-setup-on-centos/">OCSNG Server Setup on CentOS</a> is a post from: <a
href="http://www.linuxreaders.com">LinuxReaders</a> <br
/>  <script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script> <a
class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=dpthakar"><img
src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=dpthakar"></script> </p> ]]></description> <content:encoded><![CDATA[<p></p><h3 class="post-title entry-title"> <a
href="http://vidyadhards.blogspot.com/2009/04/ocsng-server-setup-on-centos52.html">OCSNG Server Setup on CentOS</a></h3><p> <span
style="font-family:verdana;">Installing packages requird for OCS Inventory:</span></p><p> <span
style="color:rgb(51,204,0);"> </span><span
style="font-style:italic;color:rgb(51,204,0);">yum -y install mysql-server mysql httpd </span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> echo &#8220;ServerName ocs-inventory:80&#8243; &gt;&gt; /etc/httpd/conf/httpd.conf</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> service httpd restart</span></p><p><span
style="font-family:verdana;">Creating data for OCS Inventory</span></p><p> <span
style="font-style:italic;color:rgb(51,204,0);">mysql -u root -p</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> mysql&gt;CREATE DATABASE ocsweb;</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> mysql&gt;GRANT ALL PRIVILEGES ON ocsweb.* TO ocs@localhost IDENTIFIED BY &#8216;ocs&#8217;;</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> mysql&gt;exit</span></p><p><span
style="font-family:verdana;">Preparing PHP</span></p><p> <span
style="font-style:italic;color:rgb(51,204,0);">yum -y install perl-XML-Simple perl-Compress-Zlib perl-DBI perl-DBD-MySQL perl-Apache-DBI perl-Net-IP perl-SOAP-Lite</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> yum -y install php-pecl-zip php-mysql php-devel zlib-devel php-pear php-gd gcc</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> pecl install zip</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> echo &#8220;;Add zip support&#8221; &gt;&gt; /etc/php.ini</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> echo &#8220;extension=zip.so&#8221; &gt;&gt; /etc/php.ini</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> service httpd restart</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> perl -MCPAN -e &#8216;install PERL::PACKAGE&#8217;</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> yum -y install mod_perl</span></p><p><span
style="font-family:verdana;">Downloading OCS invetory:</span></p><p> <span
style="font-style:italic;color:rgb(51,204,0);"> cd /usr/local/src</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> wget http://nchc.dl.sourceforge.net/sourceforge/ocsinventory/OCSNG_LINUX_SERVER_1.01.tar.gz</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> tar zxvf OCSNG_LINUX_SERVER_1.01.tar.gz</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> cp -rf OCSNG_LINUX_SERVER_1.01.tar.gz /var/www/html/OCSNG</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> cd /var/www/html/OCSNG/ocsreports</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> touch dbconfig.inc.php</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> chmod 666 dbconfig.inc.php</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> cd /var/www/html/OCSNG</span><br
/><span
style="font-style:italic;color:rgb(51,204,0);"> ./setup.sh</span></p><p>Answer yes to all question.<br
/>It will install OCS Inventory in /var/www/html/OCSNG directory</p><p><span
style="font-family:verdana;">Now restart your webserver.</span><br
/> <span
style="font-style:italic;color:rgb(51,204,0);">service httpd restart</span></p><p>Go to<span
style="font-weight:bold;"> http://your_server_ip/OCSNG/ocsreports</span><br
/>Enter your mysql username, password and hostname</p><p>If everything goes well, you should see a long list of steps the installer completed. If not, fix the problems and try again. If it succeeded, go ahead and click the submit query button at the very bottom of the page. You can now login to the web interface with username and password of both admin. You can change the default password at the top right-hand side of the browser window.</p><p><a
href="http://vidyadhards.blogspot.com/2009/04/ocsng-server-setup-on-centos52.html">Source</a></p><p><a
href="http://www.linuxreaders.com/2009/04/09/ocsng-server-setup-on-centos/">OCSNG Server Setup on CentOS</a> is a post from: <a
href="http://www.linuxreaders.com">LinuxReaders</a> <br
/>  <script type="text/javascript">var addthis_config = {"data_track_clickback":true};</script> <a
class="addthis_button" href="http://www.addthis.com/bookmark.php?v=250&amp;username=dpthakar"><img
src="http://s7.addthis.com/static/btn/v2/lg-share-en.gif" width="125" height="16" alt="Bookmark and Share" style="border:0"/></a><script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#username=dpthakar"></script> </p><p></p><p>Related posts:<ol><li><a
href='http://www.linuxreaders.com/2009/03/31/ntp-server-on-centos/' rel='bookmark' title='NTP Server on CentOS'>NTP Server on CentOS</a></li><li><a
href='http://www.linuxreaders.com/2009/04/01/centos-53-releases/' rel='bookmark' title='CentOS 5.3 Releases'>CentOS 5.3 Releases</a></li><li><a
href='http://www.linuxreaders.com/2009/03/29/php-class-html-to-plain-text-conversion/' rel='bookmark' title='PHP Class: HTML to Plain Text Conversion'>PHP Class: HTML to Plain Text Conversion</a></li></ol></p>]]></content:encoded> <wfw:commentRss>http://www.linuxreaders.com/2009/04/09/ocsng-server-setup-on-centos/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
