<?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-4458966694142000382</id><updated>2011-11-10T11:18:06.339+01:00</updated><category term='Gadgets'/><category term='Browsers'/><category term='Unix/Linux'/><title type='text'>Bit Note</title><subtitle type='html'>Computer tips and howtos. Current events related to technology.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Gliese581c</name><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>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4458966694142000382.post-313796452036727356</id><published>2009-06-04T10:02:00.007+02:00</published><updated>2009-06-04T15:54:43.828+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix/Linux'/><title type='text'>Adding swap space on Solaris</title><content type='html'>In my previous post, I provided some information about &lt;a href="http://bitnote.blogspot.com/2004/10/adding-swap-file-in-linux.html"&gt;how to add swap space on Linux&lt;/a&gt;.&lt;br /&gt;Recently, I installed an application on my Sun Ultra 10 machine (quite old but still usable) and this application requires a decent amount of memory. To meet this requirement, I only added swap space.&lt;br /&gt;&lt;br /&gt;Here's how to add swap on Solaris:&lt;br /&gt;1. Create a swap file. Let's say I need 2GB of swap on a partition that has a lot of available disk space (e.g. /export/home).&lt;br /&gt;&lt;br /&gt;# mkfile 2g /export/home/swap_file&lt;br /&gt;&lt;br /&gt;2. Add the file to the swap area.&lt;br /&gt;&lt;br /&gt;# swap -a /export/home/swap_file&lt;br /&gt;&lt;br /&gt;Check the swap space info to verify.&lt;br /&gt;&lt;br /&gt;# swap -l&lt;br /&gt;swapfile             dev  swaplo blocks   free&lt;br /&gt;/dev/dsk/c0t0d0s1   136,1      16 4195280 4195280&lt;br /&gt;/export/home/swap_file  -       16 4194288 4194288&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-313796452036727356?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/313796452036727356/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2009/06/adding-swap-space-on-solaris.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/313796452036727356'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/313796452036727356'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2009/06/adding-swap-space-on-solaris.html' title='Adding swap space on Solaris'/><author><name>Gliese581c</name><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-4458966694142000382.post-3753733303323289153</id><published>2009-05-25T12:01:00.034+02:00</published><updated>2009-05-28T15:03:01.802+02:00</updated><title type='text'>Setting Up an IT Asset Management System using GPLI and OCS Inventory NG</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_fpVtzP8f0-4/Sh5qsQPnCmI/AAAAAAAAAD4/wmSZg2Wfnnk/s1600-h/glpi.png"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 234px;" src="http://1.bp.blogspot.com/_fpVtzP8f0-4/Sh5qsQPnCmI/AAAAAAAAAD4/wmSZg2Wfnnk/s320/glpi.png" alt="" id="BLOGGER_PHOTO_ID_5340823516615215714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;A lot of IT admins are good at setting up IT infrastructure, fixing hardware and software related issues, securing the network, and other IT stuff. However, writing documentation is the lasting thing most techie persons want to do.&lt;br /&gt;As a result, maintaining these IT assets can be a pain due to poor or lack of documentation.&lt;br /&gt;&lt;br /&gt;No one knows where to find the hardware that hosts the company's services, who is the owner of such device, and what softwares are installed on which machine, and whether the softwares are patched or not. To add to this pain, if the IT admin leaves the company, it would require a lot of time for the new hire to get familiarized with the IT infrastructure. This results to loss of productivity, and worse, long downtime in case of service outtage, which costs some money.&lt;br /&gt;&lt;br /&gt;Two free open source tools, OCS Inventory NG and GLPI, help IT admins to manage their IT assets. There can be more products that do the same thing, but these two are the best candidate so far as they are free. Combining these two provides a very powerful IT asset management system.&lt;br /&gt;&lt;br /&gt;Open Computer and Software Inventory Next Generation (OCS Inventory NG) is a free open source software that enables IT admins to create an inventory of their IT assets and manage them through a web interface. This allows IT admins to know the devices that are connected to their network and which software and hardware component are installed on a computer, and to deploy softwares on their computers.&lt;br /&gt;&lt;br /&gt;"GLPI is the Information Resource-Manager with an additional Administration- Interface. You can use it to build up a database with an inventory for your company (computer, software, printers...). It has enhanced functions to make the daily life for the administrators easier, like a job-tracking-system with mail-notification and methods to build a database with basic information about your network-topology." (source http://glpi-project.org )&lt;br /&gt;&lt;br /&gt;&lt;a href="#Preparing_the_system_that_host" target="_self"&gt;Preparing the system that hosts OCS and GLPI&lt;/a&gt;&lt;a href="#Setting_Up_OCS_Inventory_NG" target="_self"&gt;&lt;/a&gt;&lt;div&gt;&lt;a href="#Setting_Up_OCS_Inventory_NG" target="_self"&gt;Setting Up OCS Inventory NG&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="#Setting_Up_GLPI" target="_self"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="#Setting_Up_GLPI" target="_self"&gt;Setting Up GLPI&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="#Installing_OCS_NG_Agent_on_Lin" target="_self"&gt;Installing OCS NG Agent on Linux&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="#Installing_OCS_NG_Agent_on_Sol" target="_self"&gt;Installing OCS NG Agent on Solaris&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;br /&gt;  &lt;a id=Preparing_the_system_that_host name=Preparing_the_system_that_host&gt;&lt;/a&gt;Preparing the system that hosts OCS and GLPI&lt;br /&gt;&lt;/h2&gt;Virtualization is the best way to test softwares without needing additional hardware. In this setup, I used the free VMWare Server to run SUSE Enterprise Linux Server 10 that hosts OCS and GLPI. You can also use other Linux distribution that you are most comfortable with. When installing Linux, make sure to install Development Libraries and Tools package because this is needed for installing the required perl modules.&lt;br /&gt;&lt;br /&gt;For the web host, I used Apache MySQL PHP Perl bundle called XAMPP (available at http://www.apachefriends.org). These are the components needed to run the OCS Inventory Server and GLPI.&lt;br /&gt;&lt;br /&gt;Installing XAMPP is quite easy as doing the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;tar xvfz xampp-linux-1.7.1.tar.gz -C /opt&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To start XAMPP:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/lampp start&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are required Perl modules that are not included in XAMPP which you need to install. To install these modules, use the following commands:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/bin/perl -MCPAN -e 'install Apache::DBI'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/bin/perl -MCPAN -e 'install XML::Simple'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/bin/perl -MCPAN -e 'install Net::IP'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/bin/perl -MCPAN -e 'install SOAP::Lite'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/bin/perl -MCPAN -e 'install XML::Entities'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After installing the Perl modules, restart XAMPP.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/opt/lampp/lampp restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;a id="Setting_Up_OCS_Inventory_NG" name="Setting_Up_OCS_Inventory_NG"&gt;&lt;/a&gt;Setting Up OCS Inventory NG&lt;br /&gt;&lt;/h2&gt;To setup OCS, download OCS Inventory NG Management server for Unix/Linux from http://www.ocsinventory-ng.org and install it as:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp # tar xvfz OCSNG_UNIX_SERVER-1.02.tar.gz &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp # export PATH=$PATH:/opt/lampp/bin &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp # cd OCSNG_UNIX_SERVER-1.02 &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/OCSNG_UNIX_SERVER-1.02 #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/OCSNG_UNIX_SERVER-1.02 # ./setup.sh&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Welcome to OCS Inventory NG Management server setup ! |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;CAUTION: If upgrading Communication server from OCS Inventory NG 1.0 RC2 and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;previous, please remove any Apache configuration for Communication Server!&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you wish to continue ([y]/n)?y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Assuming Communication server 1.0 RC2 or previous is not installed&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;on this computer.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Starting OCS Inventory NG Management server setup from folder /tmp/OCSNG_UNIX_SERVER-1.02&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Storing log in file /tmp/OCSNG_UNIX_SERVER-1.02/ocs_server_setup.log&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for database server properties... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Your MySQL client seems to be part of MySQL version 5.1.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Your computer seems to be running MySQL 4.1 or higher, good ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Which host is running database server [localhost] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, database server is running on host localhost ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;On which port is running database server [3306] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, database server is running on port 3306 ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Apache web server daemon... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where is Apache daemon binary [/opt/lampp/bin/httpd] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, using Apache daemon /opt/lampp/bin/httpd ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Apache main configuration file... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where is Apache main configuration file [/opt/lampp/etc/httpd.conf] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, using Apache main configuration file /opt/lampp/etc/httpd.conf ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Apache user account... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Which user account is running Apache web server [User] ?nobody&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, Apache is running under user account nobody ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Apache group... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Which user group is running Apache web server [nogroup] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, Apache is running under users group nogroup ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Apache Include configuration directory... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Setup found Apache Include configuration directory in&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Setup will put OCS Inventory NG Apache configuration in this directory.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where is Apache Include configuration directory [] ?/opt/lampp/etc/extra&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, Apache Include configuration directory /opt/lampp/etc/extra found ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for PERL Interpreter... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found PERL Intrepreter at ;-)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where is PERL Intrepreter binary [/usr/bin/perl] ?/opt/lampp/bin/perl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, using PERL Intrepreter /opt/lampp/bin/perl ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you wish to setup Communication server on this computer ([y]/n)?y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Make utility... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, Make utility found at ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Apache mod_perl version... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for Apache mod_perl version 1.99_22 or higher&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that mod_perl version 1.99_22 or higher is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, Apache is using mod_perl version 1.99_22 or higher ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Communication server log directory... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Communication server can create detailled logs. This logs can be enabled&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;by setting interger value of LOGLEVEL to 1 in Administration console&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;menu Configuration.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where to put Communication server log directory [/var/log/ocsinventory-server] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, Communication server will put logs into directory /var/log/ocsinventory-server ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for required Perl Modules... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for DBI PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module DBI is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for Apache::DBI PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module Apache::DBI is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for DBD::mysql PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module DBD::mysql is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for Compress::Zlib PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module Compress::Zlib is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for XML::Simple PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module XML::Simple is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for Net::IP PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module Net::IP is available.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for optional Perl Modules... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for SOAP::Lite PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module SOAP::Lite is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for XML::Entities PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module XML::Entities is available.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, looks good ;-) |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Configuring Communication server Perl modules... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking if your kit is complete...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Looks good&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Writing Makefile for Apache::Ocsinventory&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, looks good ;-) |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Preparing Communication server Perl modules... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, prepare finshed ;-) |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Installing Communication server Perl modules... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, Communication server Perl modules install finished;-)|&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Creating Communication server log directory... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Creating Communication server log directory /var/log/ocsinventory-server.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Fixing Communication server log directory files permissions.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Configuring logrotate for Communication server.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Removing old communication server logrotate file /etc/logrotate.d/ocsinventory-NG&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Writing communication server logrotate to file /etc/logrotate.d/ocsinventory-server&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, Communication server log directory created ;-) |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Now configuring Apache web server... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;To ensure Apache loads mod_perl before OCS Inventory NG Communication Server,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Setup can name Communication Server Apache configuration file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;'z-ocsinventory-server.conf' instead of 'ocsinventory-server.conf'.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you allow Setup renaming Communication Server Apache configuration file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;to 'z-ocsinventory-server.conf' ([y]/n) ?y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;./setup.sh: line 878: [: y: integer expression expected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;./setup.sh: line 878: [: y: integer expression expected&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, using 'ocsinventory-server.conf' as Communication Server Apache configuration file&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Removing old communication server configuration to file /opt/lampp/etc/extra/ocsinventory.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Writing communication server configuration to file /opt/lampp/etc/extra/ocsinventory-server.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, Communication server setup sucessfully finished ;-) |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Please, review /opt/lampp/etc/extra/ocsinventory-server.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| to ensure all is good. Then restart Apache daemon. |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you wish to setup Administration Server (Web Administration Console)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;on this computer ([y]/n)?y&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for Administration Server directories... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;CAUTION: Setup now install files in accordance with Filesystem Hierarchy&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Standard. So, no file is installed under Apache root document directory&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;(Refer to Apache configuration files to locate it).&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;If you're upgrading from OCS Inventory NG Server 1.01 and previous, YOU&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;MUST REMOVE (or move) directories 'ocsreports' and 'download' from Apache&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;root document directory.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;If you choose to move directory, YOU MUST MOVE 'download' directory to&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Administration Server writable/cache directory (by default&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;/var/lib/ocsinventory-reports), especialy if you use deployement feature.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you wish to continue ([y]/n)?y&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Assuming directories 'ocsreports' and 'download' removed from&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Apache root document directory.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where to copy Administration Server static files for PHP Web Console&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;[/usr/share/ocsinventory-reports] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, using directory /usr/share/ocsinventory-reports to install static files ;-)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where to create writable/cache directories for deployement packages and&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;IPDiscover [/var/lib/ocsinventory-reports] ?&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;OK, writable/cache directory is /var/lib/ocsinventory-reports ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Checking for required Perl Modules... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for DBI PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module DBI is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for DBD::mysql PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module DBD::mysql is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for XML::Simple PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module XML::Simple is available.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Checking for Net::IP PERL module...&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Found that PERL module Net::IP is available.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Installing files for Administration server... |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Creating PHP directory /usr/share/ocsinventory-reports/ocsreports.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Copying PHP files to /usr/share/ocsinventory-reports/ocsreports.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Fixing permissions on directory /usr/share/ocsinventory-reports/ocsreports.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Creating database configuration file /usr/share/ocsinventory-reports/ocsreports/dbconfig.inc.php.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Creating IPDiscover directory /var/lib/ocsinventory-reports/ipd.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Fixing permissions on directory /var/lib/ocsinventory-reports/ipd.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Creating packages directory /var/lib/ocsinventory-reports/download.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Fixing permissions on directory /var/lib/ocsinventory-reports/download.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Configuring IPDISCOVER-UTIL Perl script.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Installing IPDISCOVER-UTIL Perl script.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Fixing permissions on IPDISCOVER-UTIL Perl script.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Writing Administration server configuration to file /opt/lampp/etc/extra/ocsinventory-reports.conf&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| OK, Administration server installation finished ;-) |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Please, review /opt/lampp/etc/extra/ocsinventory-reports.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| to ensure all is good and restart Apache daemon. |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| Then, point your browser to http://server//ocsreports&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;| to configure database server and create/update schema. |&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;+----------------------------------------------------------+&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Setup has created a log file /tmp/OCSNG_UNIX_SERVER-1.02/ocs_server_setup.log. Please, save this file.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;If you encounter error while running OCS Inventory NG Management server,&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;we can ask you to show us his content !&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;DON'T FORGET TO RESTART APACHE DAEMON !&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Enjoy OCS Inventory NG ;-)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/OCSNG_UNIX_SERVER-1.02 #&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/OCSNG_UNIX_SERVER-1.02 # cd /opt/lampp/etc &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/opt/lampp/etc # echo "Include etc/extra/ocs*.conf" &amp;gt;&amp;gt; httpd.conf&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/opt/lampp/etc # /opt/lampp/lampp restart&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The OCS is ready and it's time to do the initial configuration by accessing http://yourserver_ip/ocsreports/install.php .&lt;br /&gt;&lt;br /&gt;Enter "root" as MySQL login and without a password. If you want to use a password, you have to modify the MySQL admin account (see MySQL documentation for instructions).&lt;br /&gt;&lt;br /&gt;After successful OCS configuration, go to http://yourserver_ip/ocsreports to  access the GUI and use "admin" as username and password.&lt;br /&gt;&lt;br /&gt;This will issue a message to edit the php.ini in order for OCS to deploy packages that are more than 8MB.&lt;br /&gt;&lt;br /&gt;Set the following in /opt/lampp/etc/php.ini file and restart XAMPP:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:Courier New;"&gt;post_max_size = 100M&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;upload_max_filesize = 100M&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;a id="Setting_Up_GLPI" name="Setting_Up_GLPI"&gt;&lt;/a&gt;Setting Up GLPI&lt;br /&gt;&lt;/h2&gt;Download the GLPI installer from http://www.glpi-project.org and install it as:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;tar xvfz glpi-0.71.5.tar.gz -C /opt/lampp/htdocs&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;chown -R nobody:nogroup /opt/lampp/htdocs/glpi&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GLPI is ready and it's time to configure it by accessing http://yourserver_ip/glpi .&lt;br /&gt;&lt;br /&gt;When the configuration wizard issues a warning message about Allocated memory, set the following in /opt/lampp/etc/php.ini file and restart XAMPP:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;memory_limit = 64M&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Use the following settings when ask for database connection setup:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;MySQL server: localhost &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;MySQL user: root&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;MySQL pass:   &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can also create a new MySQL account for GLPI with less privileges instead of root. Please refer to MySQL documentation for instructions.  When prompted to select a database, choose to create a new one.  Remember the following default logins:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;glpi/glpi for the administrator account &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;tech/tech for the technician account &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;normal/normal for the normal account &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;post-only/post-only for the postonly account&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, go to Setup menu-&amp;gt;General and on Restrictions tab select OCSNG mode to yes.&lt;br /&gt;&lt;br /&gt;Then, go Setup menu-&amp;gt;OCSNG mode, click localhost, and chnage the Name from "localhost" to say "OCS Server 1". The defaults should be fine. Password is "ocs".&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;a id="Installing_OCS_NG_Agent_on_Lin" name="Installing_OCS_NG_Agent_on_Lin"&gt;&lt;/a&gt;Installing OCS NG Agent on Linux&lt;br /&gt;&lt;/h2&gt;OCS NG agent collects information about the system and sends it to the OCS Server. To this job, the agent has to be installed on each computer.&lt;br /&gt;&lt;br /&gt;Let's install the first agent on the server that hosts the OCS and GLPI. To do this, download the Unix Unified Agent from http://www.ocsinventory-ng.org, and do the following:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp # tar xvfz OCSNG_UNIX_AGENT-1.02.tar.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp # cd Ocsinventory-Agent-1.0.1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # /opt/lampp/bin/perl -MCPAN -e 'install Digest::MD5' &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # /opt/lampp/bin/perl -MCPAN -e 'install XML::Simple'&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # /opt/lampp/bin/perl -MCPAN -e 'install NET::IP'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # /opt/lampp/bin/perl -MCPAN -e 'install LWP::Simple'&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # /opt/lampp/bin/perl Makefile.PL&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # make&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;sles10sp1:/tmp/Ocsinventory-Agent-1.0.1 # make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you want to configure the agent Please enter 'y' or 'n'?&amp;gt; [y] Where do you want to write the configuration file?  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;0 -&amp;gt; /etc/ocsinventory  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;1 -&amp;gt; /usr/local/etc/ocsinventory  &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;2 -&amp;gt; /etc/ocsinventory-agent &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;?&amp;gt;  2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you want to create the directory /etc/ocsinventory-agent? Please enter 'y' or 'n'?&amp;gt; [y]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;What is the address of your ocs server?&amp;gt; [ocsinventory-ng] 10.13.9.217         &amp;lt;-- change this to the right IP of OCS server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you need credential for the server? (You probably don't) Please enter 'y' or 'n'?&amp;gt; [n] &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you want to apply an administrative tag on this machine Please enter 'y' or 'n'?&amp;gt; [y]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;tag?&amp;gt; OCS Server&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;ocsinventory agent presents: /opt/lampp/bin/ocsinventory-agent Do yo want to install the cron task in /etc/cron.d Please enter 'y' or 'n'?&amp;gt; [y]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Where do you want the agent to store its files? (You probably don't need to change it)?&amp;gt; [/var/lib/ocsinventory-agent]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you want to create the /var/lib/ocsinventory-agent directory?  Please enter 'y' or 'n'?&amp;gt; [y]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;New settings written! Thank you for using OCS Inventory Should I remove the old linux_agent Please enter 'y' or 'n'?&amp;gt; [n]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you want to use OCS-Inventory software deployment feature? Please enter 'y' or 'n'?&amp;gt; [y]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;Do you want to send an inventory of this machine? Please enter 'y' or 'n'?&amp;gt; [y]&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;[info] Accountinfo file doesn't exist. I create an empty one.    -&amp;gt; Success! &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Login to GLPI GUI, go to Tools menu-&amp;gt;OCSNG, and click "Import new computers" and import the computer that you've just added. You should be able to see the name of this computer when you click the Inventory menu.&lt;br /&gt;&lt;br /&gt;&lt;h2&gt;&lt;a id="Installing_OCS_NG_Agent_on_Sol" name="Installing_OCS_NG_Agent_on_Sol"&gt;&lt;/a&gt;Installing OCS NG Agent on Solaris&lt;br /&gt;&lt;/h2&gt;Installing OCS Agent on Solaris is a bit challenging. You need to install an updated Perl version (not the Solaris default), and GCC compiler in order to install the required perl modules.&lt;br /&gt;&lt;br /&gt;Before installing GCC compiler, make sure that the following Solaris packages are installed:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWcpp &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWbtool &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWsprot &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWtoo &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWhea &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWarc &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWlibm &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWlibms &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWdfbh &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;SUNWcg6h &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;SUNWxwfnt&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;SUNWxwice&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;SUNWzlib&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;SUNWxwplt&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;SUNWxwinc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;SUNWgzip&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Now, install the following GCC packages and newer version of Perl (available at http://www.sunfreeware.com).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;gcc-xxx.local.gz &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;libconv-xxx.local.gz&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;perl-xxx.local.gz&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Add or set the following lines in ~/.profile file:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/ccs/bin:/usr/sfw/bin&lt;br /&gt;LD_LIBRARY_PATH=/usr/local/lib&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;and then, execute the command:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;# source ~/.profile&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;br /&gt;Change the link of /usr/sbin/perl and point it to /usr/local/bin/perl.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;# cd /usr/bin &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;# mv perl perl.orig&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;# ln -s /usr/local/bin/perl perl&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;To install the perl modules required by OCS Agent, you need the following additional SUN packages (available at www.sunfreeware.com):&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;libidn&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;wget&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;libintl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;readline&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;openssl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;expat&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;gnupg&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;After that, install the required perl modules as:&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Courier New;"&gt;perl -MCPAN -e 'install XML::Parser'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-family:'Courier New';"&gt;perl -MCPAN -e 'install XML::Simple'&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;perl -MCPAN -e 'install Digest::MD5'&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="font-family:Courier New;"&gt;perl -MCPAN -e 'install Net::IP'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;And then, download the Unix Unified Agent from http://www.ocsinventory-ng.org, unpack the installer, and install it as:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;perl Makefile.pl&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;make&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;make install&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Login to GLPI GUI, go to Tools menu-&gt;OCSNG, and click "Import new computers" and import the computer that you've just added. You should be able to see the name of this computer when you click the Inventory menu.&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/4458966694142000382-3753733303323289153?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/3753733303323289153/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2009/05/setting-up-it-asset-management-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/3753733303323289153'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/3753733303323289153'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2009/05/setting-up-it-asset-management-system.html' title='Setting Up an IT Asset Management System using GPLI and OCS Inventory NG'/><author><name>Gliese581c</name><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/_fpVtzP8f0-4/Sh5qsQPnCmI/AAAAAAAAAD4/wmSZg2Wfnnk/s72-c/glpi.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4458966694142000382.post-8363489607753041854</id><published>2009-05-12T12:23:00.013+02:00</published><updated>2009-06-04T15:53:39.607+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Browsers'/><title type='text'>Is Firefox the most widely used browser?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_fpVtzP8f0-4/SgmbfmbiXvI/AAAAAAAAADI/3BI3YUcfnWQ/s1600-h/browserstat.PNG"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 400px; height: 315px;" src="http://4.bp.blogspot.com/_fpVtzP8f0-4/SgmbfmbiXvI/AAAAAAAAADI/3BI3YUcfnWQ/s400/browserstat.PNG" alt="" id="BLOGGER_PHOTO_ID_5334966200791359218" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I have been checking the traffic statistics of my blog lately using statcounter.com and something caught my attention. Firefox is the on top spot among the browsers used to visit my blog. This is followed by Google Chrome. &lt;div&gt;&lt;br /&gt;&lt;div&gt;Expert opinion or statistics still show that IE is still the most widely used browser with around 66% of the users using it. While I don't disagree with the experts, it appears that Firefox and Chrome is gaining grounds. &lt;/div&gt;&lt;div&gt;Most of the visitors of my blog are also bloggers, and it seems that Firefox is the bloggers' favorite browser.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;How about you? Which  browser is on the top spot on your blog's stat?&lt;br /&gt;&lt;iframe allowtransparency="true" name="poll-widget8773149587168087116" src="http://www.google.com/reviews/polls/display/8773149587168087116/blogger_template/run_app?hideq=true&amp;amp;purl=http%3A%2F%2Fbitnote.blogspot.com%2F" style="border: medium none ; width: 100%;" frameborder="0" height="220"&gt;&lt;/iframe&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/4458966694142000382-8363489607753041854?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/8363489607753041854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2009/05/is-firefox-most-widely-used-browser.html#comment-form' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8363489607753041854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8363489607753041854'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2009/05/is-firefox-most-widely-used-browser.html' title='Is Firefox the most widely used browser?'/><author><name>Gliese581c</name><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://4.bp.blogspot.com/_fpVtzP8f0-4/SgmbfmbiXvI/AAAAAAAAADI/3BI3YUcfnWQ/s72-c/browserstat.PNG' height='72' width='72'/><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4458966694142000382.post-8063268097162060414</id><published>2009-05-10T17:19:00.010+02:00</published><updated>2009-05-12T21:58:36.815+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Gadgets'/><title type='text'>Repairing a Showcenter 200</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_fpVtzP8f0-4/SgnTpZ2YR7I/AAAAAAAAADo/5CKYheW37s4/s1600-h/pinnacle_showcenter_200.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 320px; height: 147px;" src="http://1.bp.blogspot.com/_fpVtzP8f0-4/SgnTpZ2YR7I/AAAAAAAAADo/5CKYheW37s4/s320/pinnacle_showcenter_200.jpg" border="0" alt="" id="BLOGGER_PHOTO_ID_5335027941864130482" /&gt;&lt;/a&gt;&lt;br /&gt;My Pinnacle Showcenter 200 has recently stopped working. It turned on using the power button, but it did not respond to the remote control. At first, I though it was remote control's fault, so I decided to change the batteries which did not help.&lt;br /&gt;I was thinking of returning the device to the vendor. But, the warranty has already expired.&lt;br /&gt;After searching Google, I found some information from users which had similar problem. Pinnacle told him that the device was out of warranty and they will repair the device for a fee, and they will gladly help dispose it properly if it cannot be repaired. Another user said that his device was repaired by simply replacing the capacitors.So, I opened the device and found two &lt;a href="http://www.capacitorlab.com/visible-failures/"&gt;bulging capacitors&lt;/a&gt; on the PSU (power supply unit). Bulging at the top of a capacitor is a sign of failure. &lt;img src="http://4.bp.blogspot.com/_fpVtzP8f0-4/SgnT8v5G4XI/AAAAAAAAADw/_J2b_PuMBJ0/s320/psu.PNG" style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;width: 320px; height: 197px;" border="0" alt="" id="BLOGGER_PHOTO_ID_5335028274198667634" /&gt;&lt;div&gt;I went to Conrad and bought a cheap Soldering Iron-set for 10 Euros and three 1000uF 16v capacitors for 0.67 Euro each. The original capacitor specs was 1000uF 10v, but since this capacitor specs was not available, the lady at Conrad gave me 1000uF 16v and said that it's the alternative.&lt;br /&gt;When I went home, I opened the Showcenter 200 right away, desolder the two defective capacitors, and replace them with the new ones.&lt;br /&gt;After that, I powered up the device and bingo! It worked!&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-8063268097162060414?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/8063268097162060414/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2009/05/repairing-showcenter-200.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8063268097162060414'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8063268097162060414'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2009/05/repairing-showcenter-200.html' title='Repairing a Showcenter 200'/><author><name>Gliese581c</name><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/_fpVtzP8f0-4/SgnTpZ2YR7I/AAAAAAAAADo/5CKYheW37s4/s72-c/pinnacle_showcenter_200.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4458966694142000382.post-4885317754659534841</id><published>2009-05-09T10:11:00.000+02:00</published><updated>2009-05-09T07:53:34.544+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix/Linux'/><title type='text'>How to enable name resolution caching on Solaris</title><content type='html'>Caching of DNS queries avoids re-querying of hostname from the DNS server, and therefore improves the performance of the system.&lt;br /&gt;This instruction enables Solaris system to cache DNS query results.&lt;br /&gt;&lt;br /&gt;1. Edit the file /etc/nscd.conf and change the following line:&lt;br /&gt;&lt;br /&gt;From:&lt;br /&gt;&lt;br /&gt;#       enable-cache            hosts           no&lt;br /&gt;&lt;br /&gt;To:&lt;br /&gt;&lt;br /&gt;   enable-cache            hosts           yes&lt;br /&gt;&lt;br /&gt;2. Restart the nscd daemon.&lt;br /&gt;&lt;br /&gt;# /etc/init.d/nscd stop&lt;br /&gt;&lt;br /&gt;# /etc/init.d/nscd start&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-4885317754659534841?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/4885317754659534841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2004/10/how-to-enable-host-or-dns-lookup.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/4885317754659534841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/4885317754659534841'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2004/10/how-to-enable-host-or-dns-lookup.html' title='How to enable name resolution caching on Solaris'/><author><name>Gliese581c</name><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>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4458966694142000382.post-8252808292918790824</id><published>2009-04-20T19:06:00.002+02:00</published><updated>2009-05-09T07:52:16.021+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix/Linux'/><title type='text'>How to check which Solaris package a file belongs to</title><content type='html'>I always setup Solaris with minimum packages installed (Core Installation) for security reason, and oftentimes I encounter package dependency problem on a lot of applications I install.&lt;br /&gt;The challenge is, how to know what packages the application requires? This is where the "pkgchk" command comes in handy.&lt;br /&gt;First, you have to check what libraries the binaries of the application requires by using "ldd" command.&lt;br /&gt;e.g.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;# ldd file1&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This command displays several files that are required by &lt;span style="font-style: italic;"&gt;file1&lt;/span&gt;.&lt;br /&gt;Next, check which which Solaris package the files belong to by using "pkgchk" command. You need to run this command on a Solaris machine that has all the packages installed (Entire Distribution).&lt;br /&gt;&lt;br /&gt;For example, to check which package "truss" file is found:&lt;br /&gt;-----&lt;br /&gt;&lt;br /&gt;# pkgchk -l -p /usr/bin/truss&lt;br /&gt;&lt;br /&gt;Pathname: /usr/bin/truss&lt;br /&gt;&lt;br /&gt;Type: linked file&lt;br /&gt;&lt;br /&gt;Source of link: ../../usr/lib/isaexec&lt;br /&gt;&lt;br /&gt;Referenced by the following packages:&lt;br /&gt;&lt;br /&gt;     SUNWtoo&lt;br /&gt;&lt;br /&gt;Current status: installed&lt;br /&gt;&lt;br /&gt;-----&lt;br /&gt;&lt;br /&gt;These commands can be add in a shell script to automate the package dependency check.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-8252808292918790824?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/8252808292918790824/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2004/10/how-to-check-which-solaris-package-file.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8252808292918790824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8252808292918790824'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2004/10/how-to-check-which-solaris-package-file.html' title='How to check which Solaris package a file belongs to'/><author><name>Gliese581c</name><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-4458966694142000382.post-9048413559695889122</id><published>2009-04-16T23:46:00.002+02:00</published><updated>2009-05-09T07:52:04.050+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix/Linux'/><title type='text'>Creating Linux RPM package from source</title><content type='html'>A lot of Linux applications are available only as source code. Redhat, SUSE, and other Linux distributions uses RPM package management which makes it easier to distribute and keep track of installed applications through the RPM database.&lt;br /&gt;&lt;br /&gt;To create an RPM database, you need to install a Linux package called &lt;span style="font-weight: bold;"&gt;checkinstall&lt;/span&gt;. This is available from the Redhat or SUSE installation CD.&lt;br /&gt;Then, do the following:&lt;br /&gt;&lt;br /&gt;1. Unpack the source code of the application.&lt;br /&gt;&lt;br /&gt;2. Compile it.&lt;br /&gt;&lt;br /&gt;3. After compiling, execute&lt;br /&gt;&lt;br /&gt;# checkinstall&lt;br /&gt;&lt;br /&gt;That's it. An RPM package is created.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-9048413559695889122?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/9048413559695889122/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2004/10/creating-rpm-package-from-source-tgz.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/9048413559695889122'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/9048413559695889122'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2004/10/creating-rpm-package-from-source-tgz.html' title='Creating Linux RPM package from source'/><author><name>Gliese581c</name><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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4458966694142000382.post-6048833921608492318</id><published>2009-04-10T17:22:00.001+02:00</published><updated>2009-05-09T07:51:52.240+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix/Linux'/><title type='text'>How to get a SUN Solaris system Ready for Production</title><content type='html'>&lt;div&gt;Setting up a SUN Solaris system can take a while from installation to configuration. The installation itself can take about an hour depending on the speed of the machine and also the Solaris packages you want to install. Configuration can take about another hour or more. If you have a jumpstart server, then it will save a lot of time.&lt;/div&gt;&lt;div&gt;However, if this is your first SUN Solaris system or first time to install SUN Solaris, then you need some list of things to configure before putting the system to production.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Configuring Solaris for production includes restricting how users log in, disabling unnessary services, TCP tuning, kernel tuning, adding security warning banner, setting up secure shell (SSH), and locking down. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This article from Collin Bitterfield provides details on which files to modify to make SUN solaris ready for production. &lt;a href="http://colin.bitterfield.com/how_to_production_ready.html"&gt;http://colin.bitterfield.com/how_to_production_ready.html&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-6048833921608492318?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/6048833921608492318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2004/10/how-to-get-sun-solaris-system-ready-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/6048833921608492318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/6048833921608492318'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2004/10/how-to-get-sun-solaris-system-ready-for.html' title='How to get a SUN Solaris system Ready for Production'/><author><name>Gliese581c</name><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-4458966694142000382.post-8116979220376275113</id><published>2009-03-29T17:18:00.003+02:00</published><updated>2009-05-09T12:24:33.890+02:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Unix/Linux'/><title type='text'>Adding a swap file in Linux</title><content type='html'>&lt;div&gt;I have problem sometimes with Linux when using older machines with limited amount of memory. Several applications won't create additional process due to lack of memory. Adding swap space helps a lot. The application runs a bit slower, but at least it runs properly.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Here's how to add swap space:&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;1. Determine the size of the new swap file and multiple by 1024 to determine the block size. For example, the block size of a 64 MB swap file is 65536.&lt;br /&gt;&lt;br /&gt;2. At a shell prompt as root, type the following command with count being equal to the desired block size:&lt;br /&gt;&lt;br /&gt;dd if=/dev/zero of=/swapfile bs=1024 count=65536&lt;br /&gt;&lt;br /&gt;3. Setup the swap file with the command:&lt;br /&gt;&lt;br /&gt;mkswap /swapfile&lt;br /&gt;&lt;br /&gt;4. To enable the swap file immediately but not automatically at boot time:&lt;br /&gt;&lt;br /&gt;swapon /swapfile&lt;br /&gt;&lt;br /&gt;5. To enable it at boot time, edit /etc/fstab to include:&lt;br /&gt;&lt;br /&gt;/swapfile               swap                    swap    defaults        0 0&lt;br /&gt;&lt;br /&gt;The next time the system boots, it will enable the new swap file.&lt;br /&gt;&lt;br /&gt;6. After adding the new swap file and enabling it, make sure it is enabled by viewing the output of the command cat /proc/swaps or free.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;source: &lt;a href="http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-swap-adding.html"&gt;Redhat&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4458966694142000382-8116979220376275113?l=bitnote.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bitnote.blogspot.com/feeds/8116979220376275113/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://bitnote.blogspot.com/2004/10/adding-swap-file-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8116979220376275113'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4458966694142000382/posts/default/8116979220376275113'/><link rel='alternate' type='text/html' href='http://bitnote.blogspot.com/2004/10/adding-swap-file-in-linux.html' title='Adding a swap file in Linux'/><author><name>Gliese581c</name><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>
