<?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>Brucalipto.org &#187; Linux</title>
	<atom:link href="http://www.brucalipto.org/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://www.brucalipto.org</link>
	<description>Tenete la porta aperta...</description>
	<lastBuildDate>Thu, 24 Nov 2011 08:59:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>How to install GOsa on RHEL/CentOS 5</title>
		<link>http://www.brucalipto.org/linux/how-to-install-gosa-on-rhelcentos-5</link>
		<comments>http://www.brucalipto.org/linux/how-to-install-gosa-on-rhelcentos-5#comments</comments>
		<pubDate>Thu, 18 Feb 2010 11:30:43 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[RHEL5]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=210</guid>
		<description><![CDATA[As you can read on GOsa website: &#8220;GOsa² provides a powerful GPL&#8217;ed framework for managing accounts and systems in LDAP databases. Using GOsa² allows system administrators to easily manage users and groups&#8230;&#8221;. The installation on Red Hat Enterprise Linux/CentOS is a bit tricky and here you will find how to install it. First you need [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-220" style="border: 0pt none;" title="gosa-logo2" src="http://www.brucalipto.org/wp-content/uploads/2010/02/gosa-logo2.png" alt="gosa logo2 How to install GOsa on RHEL/CentOS 5" width="290" height="88" />As you can read on <a href="https://oss.gonicus.de/labs/gosa/" target="_blank">GOsa website</a>: &#8220;GOsa² provides a powerful GPL&#8217;ed framework for managing accounts and systems in LDAP databases. Using GOsa² allows system administrators to easily manage users and groups&#8230;&#8221;. The installation on Red Hat Enterprise Linux/CentOS is a bit tricky and here you will find how to install it.</p>
<p><span id="more-210"></span>First you need to set SELinux in permissive mode (if you have enabled it) and configure the firewall to let other systems to connect to port 80/443 (HTTP and HTTPs) and 389 (LDAP server port) using the commandline tool</p>
<p class="quoteCode"><strong># system-config-securitylevel-tui</strong></p>
<p><a href="http://www.brucalipto.org/wp-content/uploads/2010/02/opaplnx44_security_1.png"><img class="alignnone size-full wp-image-211" title="opaplnx44_security_1" src="http://www.brucalipto.org/wp-content/uploads/2010/02/opaplnx44_security_1.png" alt="opaplnx44 security 1 How to install GOsa on RHEL/CentOS 5" width="560" height="370" /></a></p>
<p><a href="http://www.brucalipto.org/wp-content/uploads/2010/02/opaplnx44_security_2.png"><img class="alignnone size-full wp-image-212" title="opaplnx44_security_2" src="http://www.brucalipto.org/wp-content/uploads/2010/02/opaplnx44_security_2.png" alt="opaplnx44 security 2 How to install GOsa on RHEL/CentOS 5" width="562" height="367" /></a></p>
<p>Now we need to get some more RPM repos to work:</p>
<p class="quoteCode"><strong>//First the CentOS testing repo<br />
# cd /etc/yum.repos.d/<br />
# wget http://dev.centos.org/centos/5/CentOS-Testing.repo<br />
//Then the RPMForge repo<br />
# rpm -Uhv http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm<br />
//And last the GOsa RPM repo<br />
# cat &gt;&gt; GOsa.repo &lt;&lt; EOF<br />
&gt; [GOsa-Repository]<br />
&gt; name=GOsa Repository<br />
&gt; baseurl=ftp://oss.gonicus.de/pub/gosa/redhat<br />
&gt; enabled=0<br />
&gt; gpgcheck=0<br />
&gt; EOF</strong></p>
<p>As we want the system as stable as possible without many packages from externarl repositories please verify that the files CentOS-Testing.repo and rpmforge.repo both contain the line &#8216;<strong>enabled=0</strong>&#8216;. Now let&#8217;s check the new repositories for new packages to install and install them:</p>
<p class="quoteCode"><strong># yum &#8211;enablerepo=rpmforge,GOsa-Repository,c5-testing check-update<br />
//Install LDAP<br />
# yum install openldap openldap-servers<br />
//Install PHP 5.2 from CentOS Testing<br />
# yum &#8211;enablerepo=c5-testing install php-common php-imap php-snmp php-mysql php-mbstring php-pdo<br />
//Install perl-Crypt-SmbHash from RPMForge<br />
# yum &#8211;enablerepo=rpmforge install perl-Crypt-SmbHash<br />
//Install GOsa RPMs<br />
# yum &#8211;enablerepo=GOsa-Repository install gosa-help-en.noarch gosa-plugin-addressbook.noarch gosa-plugin-ldapmanager.noarch gosa-plugin-mail.noarch gosa-plugin-rolemanagement.noarch gosa-plugin-systems.noarch gosa-schema.noarch gosa-plugin-goto</strong></p>
<p>Now we need to be sure that Apache HTTPD and LDAP servers start at boot:</p>
<p class="quoteCode"><strong># chkconfig httpd on<br />
# chkconfig ldap on</strong></p>
<p>At this point, before configuring GOsa, you need to add specific GOsa schemas to your ldap using as reference a part of the beginning of my own /etc/openldap/slapd.conf</p>
<p class="quoteCode"><strong>include         /etc/openldap/schema/core.schema<br />
include         /etc/openldap/schema/cosine.schema<br />
include         /etc/openldap/schema/inetorgperson.schema<br />
include         /etc/openldap/schema/gosa/rfc2307bis.schema<br />
include         /etc/openldap/schema/gosa/gofax.schema<br />
include         /etc/openldap/schema/gosa/gofon.schema<br />
include         /etc/openldap/schema/gosa/samba.schema<br />
include         /etc/openldap/schema/gosa/gosystem.schema<br />
include         /etc/openldap/schema/gosa/goto.schema<br />
include         /etc/openldap/schema/gosa/samba3.schema<br />
include         /etc/openldap/schema/gosa/gosa-samba3.schema<br />
include         /etc/openldap/schema/gosa/goserver.schema<br />
include         /etc/openldap/schema/gosa/goto-mime.schema<br />
include         /etc/openldap/schema/gosa/trust.schema</strong></p>
<p>Restart your openldap and finally we can connect to GOsa web interface and configure it pointing your browser at</p>
<p class="quoteCode"><strong>http://&lt;hostname&gt;/gosa/</strong></p>
<p>Now you should have a fully functional GOsa install on your CentOS5: please let me know if you found error in this tutorial or even if you found it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-install-gosa-on-rhelcentos-5/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>How to clone a schema in MySQL</title>
		<link>http://www.brucalipto.org/linux/how-to-clone-a-schema-in-mysql</link>
		<comments>http://www.brucalipto.org/linux/how-to-clone-a-schema-in-mysql#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:10:09 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL5]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=192</guid>
		<description><![CDATA[Today I needed to clone a schema in MySQL: simply I upgraded my monitoring software Zabbix and thus I needed to &#8220;upgrade&#8221; also the DB schema where Zabbix saves data. As this is a destructive operation I wanted to have the zabbix schema cloned. But how do you clone a schema in MySQL? The first [...]]]></description>
			<content:encoded><![CDATA[<p><!-- Schema for Wordpress --><div itemscope itemtype="http://schema.org/BlogPosting">  <!-- Schema for Wordpress --><span itemprop="image"><img class="alignleft size-full wp-image-111" title="logo mysql" src="http://www.brucalipto.org/wp-content/uploads/2008/10/logo_mysql_sun.gif" alt="logo mysql sun How to clone a schema in MySQL" width="205" height="68" /> </span><!-- Schema for Wordpress --> <!-- Schema for Wordpress --><span itemprop="description">Today I needed to clone a schema in MySQL: simply I upgraded my monitoring software Zabbix and thus I needed to &#8220;upgrade&#8221; also the DB schema where Zabbix saves data. As this is a destructive operation I wanted to have the zabbix schema cloned. But how do you clone a schema in MySQL?</span><!-- Schema for Wordpress --></p>
<p><span id="more-192"></span>The first thing to do is to create the new schema (or database in MySQL world) and grant all privileges to a user (even an existing one):</p>
<p class="quoteCode">create database zabbix16;<br />
grant all privileges on zabbix16.* to zabbix@&#8221;%&#8221;;</p>
<p>At this point we can use the mysqldump program to dump data directly in the mysql program:</p>
<p class="quoteCode">mysqldump &#8211;add-drop-table &#8211;complete-insert -uzabbix -pPWD zabbix | mysql -uzabbix -pPWD zabbix16</p>
<p>After some time, when mysqldump finishes, you will see the zabbix16 schema as an exact copy of the original one! </div><!-- Schema for Wordpress --></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-clone-a-schema-in-mysql/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install a MySQL cluster on a single UNIX/Linux server</title>
		<link>http://www.brucalipto.org/linux/how-to-install-a-mysql-cluster</link>
		<comments>http://www.brucalipto.org/linux/how-to-install-a-mysql-cluster#comments</comments>
		<pubDate>Fri, 03 Oct 2008 13:29:15 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=99</guid>
		<description><![CDATA[In this tutorial I will show you how to install a MySQL cluster on a single node: obviously you will not gain any hardware redundancy with this setup but it is useful if you need to create a test installation as it was for me. You can find many tutorials about this topic but they [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.brucalipto.org/wp-content/uploads/2008/10/logo_mysql_sun.gif"><img class="alignleft size-medium wp-image-111" style="border: 0pt none;" title="logo mysql" src="http://www.brucalipto.org/wp-content/uploads/2008/10/logo_mysql_sun.gif" alt="logo mysql sun How to install a MySQL cluster on a single UNIX/Linux server " width="205" height="68" /></a>In this tutorial I will show you how to install a MySQL cluster on a single node: obviously you will not gain any hardware redundancy with this setup but it is useful if you need to create a test installation as it was for me. You can find many tutorials about this topic but they are quite old and MySQL Cluster changed a lot in last years.</p>
<p><span id="more-99"></span></p>
<p><strong>What is a MySQL cluster?</strong></p>
<p>Let&#8217;s start explaining the architecture of a MySQL cluster with an image taken from <a href="http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-overview.html" target="_blank">dev.mysql.com</a>:</p>
<p style="text-align: center;"><a href="http://www.brucalipto.org/wp-content/uploads/2008/10/cluster-components-1.png"><img class="size-full wp-image-100 aligncenter" style="border: 0pt none;" title="cluster-components-1" src="http://www.brucalipto.org/wp-content/uploads/2008/10/cluster-components-1.png" alt="cluster components 1 How to install a MySQL cluster on a single UNIX/Linux server " width="470" height="300" /></a></p>
<p>As you may see the MySQL cluster is an aggregation of many components:</p>
<ul>
<li>one management server;</li>
<li>many MySQL daemons that acts as &#8220;frontend&#8221;;</li>
<li>many data nodes that store the real data.</li>
</ul>
<p>This tutorial will guide you in the creation of a cluster with:</p>
<ul>
<li>one management node;</li>
<li>two MySQL daemons;</li>
<li>two data nodes.</li>
</ul>
<p>Obviously you can expand this configuration simply adding the components you need. As stated at the beginning of this tutorial you can create all this setup on a single server (well you need 3 IPs on the server) or, and that would be very easy, you can split the MySQL cluster components on many servers.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-install-a-mysql-cluster/feed</wfw:commentRss>
		<slash:comments>26</slash:comments>
		</item>
		<item>
		<title>How to install Oracle Client 10g on Red Hat Enterprise Linux 5 64bit</title>
		<link>http://www.brucalipto.org/linux/how-to-install-oracle-client-10g-on-red-hat-enterprise-linux-5-64bit</link>
		<comments>http://www.brucalipto.org/linux/how-to-install-oracle-client-10g-on-red-hat-enterprise-linux-5-64bit#comments</comments>
		<pubDate>Fri, 19 Sep 2008 09:08:35 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL5]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=93</guid>
		<description><![CDATA[Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 64bit: all around the net you can find many useful tutorial on how to install the Oracle DB Server but I cannot find how to install only the client. As you may guess the client installation is easier than [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Red Hat logo" src="http://www.brucalipto.org/wp-content/uploads/2008/03/redhat.jpg" alt="redhat How to install Oracle Client 10g on Red Hat Enterprise Linux 5 64bit" width="55" height="55" />Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 64bit: all around the net you can find many useful tutorial on how to install the Oracle DB Server but I cannot find how to install only the client. As you may guess the client installation is easier than the Oracle DB Server one.</p>
<p><span id="more-93"></span></p>
<p>On the linux machine, as root, you have to run the following commands:</p>
<p class="quoteCode"><strong>//create user and groups<br />
# groupadd oinstall<br />
# groupadd dba<br />
# useradd -g oinstall -G dba oracle<br />
# passwd oracle</strong></p>
<p class="quoteCode"><strong>//prepare the filesystem<br />
# mkdir /opt/oracle<br />
# chown -R oracle:oinstall /opt/oracle</strong></p>
<p class="quoteCode"><strong>//install some needed packages<br />
# yum install libXp gcc make setarch libaio glibc-devel<br />
</strong></p>
<p class="quoteCode"><strong>//change /etc/redhat-release as RHEL5 is not a supported platform<br />
# cp /etc/redhat-release /etc/redhat-release.5<br />
# echo redhat-4 &gt; /etc/redhat-release</strong></p>
<p>OK&#8230; as root we have now finished!</p>
<p>Now log in with the oracle user and <a class="download" href="http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linx8664soft.html" target="_blank">download the Oracle Client 10g 64bit from Oracle website</a>: once there get the file called <a class="download" href="http://download.oracle.com/otn/linux/oracle10g/10201/10201_client_linux_x86_64.cpio.gz">10201_client_linux_x86_64.cpio.gz</a>. Open the cpio oracle client archive and run the client installation program:</p>
<p class="quoteCode"><strong># gunzip 10201_client_linux_x86_64.cpio.gz<br />
# cpio -idmv &lt; 10201_client_linux_x86_64.cpio<br />
# cd client<br />
# ./runInstaller</strong></p>
<p>I pointed the oraInventory directory to /opt/oracle in the first screen; in the second one I choose to install the Oracle 10g Client in /opt/oracle/product/10.2.0/client_1/. Just before the installation finishes it prompts to you to execute two more commands as root: in my own installation I run</p>
<p class="quoteCode"><strong>//execute the following commands as root<br />
# /opt/oracle/orainstRoot.sh<br />
# /opt/oracle/product/10.2.0/client_1/root.sh</strong></p>
<p>but, as you may guess, your path may be different from mine.</p>
<p>Now the final step: we have to restore the /etc/redhat-release file we changed before:</p>
<p class="quoteCode"><strong># mv /etc/redhat-release.5 /etc/redhat-release</strong></p>
<p>I hope this tutorial can help you&#8230; if you find errors please report them to me and I will correct as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-install-oracle-client-10g-on-red-hat-enterprise-linux-5-64bit/feed</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>How to install Oracle Client 10g on Red Hat Enterprise Linux 5</title>
		<link>http://www.brucalipto.org/linux/how-to-install-oracle-client-10g-on-red-hat-enterprise-linux-5</link>
		<comments>http://www.brucalipto.org/linux/how-to-install-oracle-client-10g-on-red-hat-enterprise-linux-5#comments</comments>
		<pubDate>Fri, 25 Jul 2008 12:56:18 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL5]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/?p=69</guid>
		<description><![CDATA[Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 32bit: all around the net you can find many useful tutorial on how to install the Oracle DB Server but I cannot find how to install only the client. As you may guess the client installation is easier than [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" title="Red Hat logo" src="http://www.brucalipto.org/wp-content/uploads/2008/03/redhat.jpg" alt="redhat How to install Oracle Client 10g on Red Hat Enterprise Linux 5" width="55" height="55" />Today I needed to install the Oracle Client 10g on a Red Hat Enterprise Linux 5 32bit: all around the net you can find many useful tutorial on how to install the Oracle DB Server but I cannot find how to install only the client. As you may guess the client installation is easier than the Oracle DB Server one.</p>
<p><span id="more-69"></span></p>
<p>On the linux machine, as root, you have to run the following commands:</p>
<p class="quoteCode"><strong>//create user and groups<br />
# groupadd oinstall<br />
# groupadd dba<br />
# useradd -g oinstall -G dba oracle<br />
# passwd oracle</strong></p>
<p class="quoteCode"><strong>//prepare the filesystem<br />
# mkdir /opt/oracle<br />
# chown -R oracle:oinstall /opt/oracle</strong></p>
<p class="quoteCode"><strong>//install some needed packages<br />
# yum install libXp gcc make setarch libaio glibc-devel<br />
</strong></p>
<p class="quoteCode"><strong>//change /etc/redhat-release as RHEL5 is not a supported platform<br />
# cp /etc/redhat-release /etc/redhat-release.5<br />
# echo redhat-4 &gt; /etc/redhat-release</strong></p>
<p>OK&#8230; as root we have now finished!</p>
<p>Now log in with the oracle user and <a class="download" href="http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201linuxsoft.html" target="_blank">download the Oracle Client 10g from Oracle website</a>: once there get the file called <a class="download" href="http://download.oracle.com/otn/linux/oracle10g/10201/10201_client_linux32.zip">10201_client_linux32.zip</a>. Unzip and run the client:</p>
<p class="quoteCode"><strong># unzip 10201_client_linux32.zip<br />
# cd client<br />
# ./runInstaller</strong></p>
<p>I pointed the oraInventory directory to /opt/oracle in the first screen; in the second one I choose to install the Oracle 10g Client in /opt/oracle/product/10.2.0/client_1/. Just before the installation finishes it prompts to you to execute two more commands as root: in my own installation I run</p>
<p class="quoteCode"><strong>//execute the following commands as root<br />
# /opt/oracle/orainstRoot.sh<br />
# /opt/oracle/product/10.2.0/client_1/root.sh</strong></p>
<p>but, as you may guess, your path may be different from mine.</p>
<p>Now the final step: we have to restore the /etc/redhat-release file we changed before:</p>
<p class="quoteCode"><strong># mv /etc/redhat-release.5 /etc/redhat-release</strong></p>
<p>I hope this tutorial can help you&#8230; if you find errors please report them to me and I will correct as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-install-oracle-client-10g-on-red-hat-enterprise-linux-5/feed</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>How to install Data Protector 6.0 on Ubuntu Linux 7.04</title>
		<link>http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-ubuntu-linux-704</link>
		<comments>http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-ubuntu-linux-704#comments</comments>
		<pubDate>Fri, 02 May 2008 10:53:00 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/unclassified/how-to-install-data-protector-60-on-ubuntu-linux-704</guid>
		<description><![CDATA[Yesterday I finished the installation of a new Ubuntu Linux 7.04 Feisty Fawn and I needed to install the Data Protector Disk Agent to backup its files. I have a Windows 2003 cell manager and a HP-UX install server that should help with the installation of the Data Protector software on UNIX/Linux/Solaris hosts&#8230; I&#8217;m quite [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ubuntulogo.png" alt="ubuntulogo How to install Data Protector 6.0 on Ubuntu Linux 7.04" class="alignleft" title="How to install Data Protector 6.0 on Ubuntu Linux 7.04" />Yesterday I finished the installation of a new Ubuntu Linux 7.04 Feisty Fawn and I needed to install the Data Protector Disk Agent to backup its files. I have a Windows 2003 cell manager and a HP-UX install server that should help with the installation of the Data Protector software on UNIX/Linux/Solaris hosts&#8230; I&#8217;m quite a newbye on the topic but I was unable to install the disk agent using the HP-UX install server so here you will find instructions for the &#8220;always working&#8221; manual installation.</p>
<p><span id="more-66"></span>The  first thing is to get the HP-UX PA-RISC install server CDs from HP website:if you do not have the original CDs you can get them as trial from <a href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DP60SWD1" target="_blank" class="download">here</a>.</p>
<p>Now its time to install the Disk Agent on the server you need to backup; you need to install a package that is not installed by default on the Ubuntu Linux 7.04: inetd. So, as &#8220;administrator&#8221;, execute the command:</p>
<p class="quoteCode"><strong>&gt; sudo apt-get install netkit-inetd</strong></p>
<p>to get the needed package installed.</p>
<p>Insert the first CD of the HP-UX PA-RISC install server on the optical drive of the server and mount it:</p>
<p class="quoteCode"><strong>&gt; mount /dev/hda /mnt</strong></p>
<p>Now it is install time:</p>
<p class="quoteCode"><strong>&gt; cd /mnt/LOCAL_INSTALL<br />
&gt; ./omnisetup.sh</strong></p>
<p>Answer all the questions the installer asks to you and finish the installation. In my installation the Data Protector agent was correctly added to the inetd configuration:</p>
<p class="quoteCode"><strong>&gt; cat /etc/inetd.conf<br />
omni stream tcp nowait root /opt/omni/lbin/inet inet -log /var/opt/omni/log/inet.log</strong></p>
<p>OK&#8230; we are at the end&#8230;</p>
<p class="quoteCode"><strong>&gt; /etc/init.d/inetd restart</strong></p>
<p>and now try if the Data Protector agent answers to port 5555:</p>
<p class="quoteCode"><strong>&gt; telnet localhost 5555</strong></p>
<p>That&#8217;s all&#8230; if you encounter any problem leave a comment here&#8230; I&#8217;ll try to help you.</p>
<p>Leave a comment even if you have a smarter method&#8230; I am very glad to learn.</p>
<p><a href="mailto:ottuzzi@gmail.com"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ottuzzigoogle.png" alt="ottuzzigoogle How to install Data Protector 6.0 on Ubuntu Linux 7.04" align="right" title="How to install Data Protector 6.0 on Ubuntu Linux 7.04" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-ubuntu-linux-704/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How to install Data Protector 6.0 on Red Hat Enterprise Linux 5</title>
		<link>http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-red-hat-enterprise-linux-5</link>
		<comments>http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-red-hat-enterprise-linux-5#comments</comments>
		<pubDate>Fri, 28 Mar 2008 13:38:57 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[RHEL5]]></category>
		<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-red-hat-enterprise-linux-5</guid>
		<description><![CDATA[Yesterday I finished the installation of a new Red Hat Enterprise Linux 5 (RHEL5) and I needed to install the Data Protector Disk Agent to backup its files. I have a Windows 2003 cell manager and a HP-UX install server that should help with the installation of the Data Protector software on UNIX/Linux/Solaris hosts&#8230; I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://www.brucalipto.org/wp-content/uploads/2008/03/redhat.jpg" alt="redhat How to install Data Protector 6.0 on Red Hat Enterprise Linux 5"  title="How to install Data Protector 6.0 on Red Hat Enterprise Linux 5" />Yesterday I finished the installation of a new Red Hat Enterprise Linux 5 (RHEL5) and I needed to install the Data Protector Disk Agent to backup its files. I have a Windows 2003 cell manager and a HP-UX install server that should help with the installation of the Data Protector software on UNIX/Linux/Solaris hosts&#8230; I&#8217;m quite a newbye on the topic but I was unable to install the disk agent using the HP-UX install server so here you will find instructions for the &#8220;always working&#8221; manual installation.</p>
<p><span id="more-64"></span>The  first thing is to get the HP-UX PA-RISC install server CDs from HP website:if you do not have the original CDs you can get them as trial from <a href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=DP60SWD1" target="_blank">here</a>.</p>
<p>Now its time to install the Disk Agent on the server you need to backup; you need to install two packages that are not installed by default on the Red Hat Enterprise Linux 5: ncompress and xinetd. So, as root, execute the command:</p>
<p class="quoteCode"><strong># yum install ncompress xinetd</strong></p>
<p>to get the needed packages installed.</p>
<p>Insert the first CD of the HP-UX PA-RISC install server on the optical drive of the server and mount it:</p>
<p class="quoteCode"><strong># mount /dev/hda /mnt</strong></p>
<p>Now it is install time:</p>
<p class="quoteCode"><strong># cd /mnt/LOCAL_INSTALL<br />
# ./omnisetup.sh</strong></p>
<p>Answer all the questions the installer asks to you and finish the installation. In my installation the Data Protector agent was not correctly added to the xinetd configuration&#8230; look if you find the omni file in /etc/xinetd.d&#8230; if you do not find it create it with the following content:</p>
<p class="quoteCode"><strong>service omni<br />
{<br />
socket_type = stream<br />
protocol = tcp<br />
wait = no<br />
user = root<br />
server = /opt/omni/lbin/inet<br />
server_args = inet -log /var/opt/omni/log/inet.log<br />
disable = no<br />
}<br />
</strong></p>
<p>and verify it is owned by root and with 644 permissions.</p>
<p>OK&#8230; we are at the end&#8230;</p>
<p class="quoteCode"><strong># /etc/init.d/xinetd restart</strong></p>
<p>As suggested by fluffy on comment #1 now you have to check if the firewall (iptables) is actually active: if the firewall is switched on you have to permit the traffic from and to port 5555 to flow regularly.</p>
<p class="quoteCode"><strong># chkconfig &#8211;list | grep iptables<br />
iptables        0:off   1:off   2:off   3:off   4:off   5:off   6:off</strong></p>
<p>If you any <code>on</code> you need to modify the file <code>/etc/sysconfig/iptables</code> adding:</p>
<p class="quoteCode"><strong>-A RH-Firewall-1-INPUT -m state –state NEW -m tcp -p tcp –dport 5555 -j ACCEPT</strong></p>
<p>Now everything should be ok&#8230; let&#8217;s try if the Data Protector agent answers to port 5555:</p>
<p class="quoteCode"><strong># telnet localhost 5555</strong></p>
<p>That&#8217;s all&#8230; if you encounter any problem leave a comment here&#8230; I&#8217;ll try to help you.</p>
<p>Leave a comment even if you have a smarter method&#8230; I am very glad to learn.</p>
<p><a href="mailto:ottuzzi@gmail.com"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ottuzzigoogle.png" alt="ottuzzigoogle How to install Data Protector 6.0 on Red Hat Enterprise Linux 5" align="right" title="How to install Data Protector 6.0 on Red Hat Enterprise Linux 5" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/how-to-install-data-protector-60-on-red-hat-enterprise-linux-5/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>fsck di un filesystem senza reboot</title>
		<link>http://www.brucalipto.org/linux/fsck-di-un-filesystem-senza-reboot</link>
		<comments>http://www.brucalipto.org/linux/fsck-di-un-filesystem-senza-reboot#comments</comments>
		<pubDate>Mon, 03 Mar 2008 09:05:54 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/linux/fsck-di-un-filesystem-senza-reboot</guid>
		<description><![CDATA[Stamattina, nella mia casella di posta, ho trovato un messaggio che diceva che il mio server di monitoraggio basato su Zabbix e installato su una Ubuntu 7.04 aveva tirato le cuoia stanotte alle 02:00: il messaggio riportava una laconico &#8220;ZABBIX database is down.&#8221;! Ovviamente il primo controllo è stato fatto sul DB (MySQL) e non [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.brucalipto.org/wp-content/uploads/2008/03/linuxpenguin.gif" alt="linuxpenguin fsck di un filesystem senza reboot" class="alignleft" title="fsck di un filesystem senza reboot" />Stamattina, nella mia casella di posta, ho trovato un messaggio che diceva che il mio server di monitoraggio basato su Zabbix e installato su una Ubuntu 7.04 aveva tirato le cuoia stanotte alle 02:00: il messaggio riportava una laconico &#8220;ZABBIX database is down.&#8221;!<span id="more-62"></span></p>
<p>Ovviamente il primo controllo è stato fatto sul DB (MySQL) e non ho trovato alcun messaggio d&#8217;errore&#8230; il problema è che in realtà il file /var/log/syslog era fermo da parecchie ore. Spinto da una irrazionale speranza ho provato un</p>
<p class="quoteCode"><strong>/etc/init.d/mysql restart</strong></p>
<p>per scoprire che era inutile&#8230; il DB non risaliva. Bene&#8230; ho i backup&#8230; ranzo tutto e rimetto su i backup: no&#8230; nemmeno questo era possibile&#8230; la directory dei backup non era più una directory e al posto dei famigliare drwxr-xr-x aveva degli spaventosi punti di domanda.</p>
<p>Riassumendo avevo il DB che non riusciva a risalire e i backup persi!</p>
<p>A questo punto l&#8217;unica cosa da fare era provare a verificare l&#8217;integrità del file system (ext3) e ho seguito i seguenti passi:</p>
<p class="quoteCode"><strong>&gt; init 1</strong> #vai in single-user-mode<br />
<strong>&gt; mount</strong> #dammi la lista dei filesystem montati<br />
/dev/sda1 on / type ext3 (rw,errors=remount-ro)<br />
proc on /proc type proc (rw,noexec,nosuid,nodev)<br />
/sys on /sys type sysfs (rw,noexec,nosuid,nodev)<br />
varrun on /var/run type tmpfs (rw,noexec,nosuid,nodev,mode=0755)<br />
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)<br />
udev on /dev type tmpfs (rw,mode=0755)<br />
devshm on /dev/shm type tmpfs (rw)<br />
devpts on /dev/pts type devpts (rw,gid=5,mode=620)<br />
<strong>&gt; mount -o remount,ro</strong> / #rimonta in read-only il filesystem di /<br />
<strong>&gt; e2fsck -f -v /dev/sda1</strong> #controlla il filesystem anche se sembra corretto (-f) e sii prolisso nei log (-v)<br />
<strong>&gt; mount -o remount,rw /</strong> #rimonta in read-write il filesystem di / una volta terminato il controllo<br />
<strong>&gt; init 2</strong> #ritorna al runlevel precedente e alla piena operatività del sistema</p>
<p>Per fortuna dopo questa cura il DB è risalito correttamente e ho addirittura recuperato i miei backup!</p>
<p><a href="mailto:ottuzzi@gmail.com"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ottuzzigoogle.png" alt="ottuzzigoogle fsck di un filesystem senza reboot" align="right" title="fsck di un filesystem senza reboot" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/fsck-di-un-filesystem-senza-reboot/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Guida d&#8217;installazione di un server Ubuntu 8.04 Hardy Heron</title>
		<link>http://www.brucalipto.org/linux/guida-dinstallazione-di-un-server-ubuntu-804-hardy-heron</link>
		<comments>http://www.brucalipto.org/linux/guida-dinstallazione-di-un-server-ubuntu-804-hardy-heron#comments</comments>
		<pubDate>Wed, 27 Feb 2008 08:34:17 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Hardy Heron]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/linux/guida-dinstallazione-di-un-server-ubuntu-804-hardy-heron</guid>
		<description><![CDATA[Visto che siamo ormai prossimi al rilascio della Ubuntu 8.04 &#8220;Hardy Heron&#8221; ho pensato di proporvi una guida all&#8217;installazione di un server basato su questa versione della nota distribuzione. L&#8217;installazione illustrata sarà quella di un server e pertanto non ci sarà installato il server X e tantomeno GNOME o KDE: sarà installato un sistema base [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ubuntulogo.png" alt="ubuntulogo Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" class="alignleft" title="Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" />Visto che siamo ormai prossimi al rilascio della Ubuntu 8.04 &#8220;Hardy Heron&#8221; ho pensato di proporvi una guida all&#8217;installazione di un server basato su questa versione della nota distribuzione. L&#8217;installazione illustrata sarà quella di un server e pertanto non ci sarà installato il server X e tantomeno GNOME o KDE: sarà installato un sistema base che poi provvederemo ad espandere con le prossime guide che saranno pubblicate nella serie dedicate alla Ubuntu 8.04.<span id="more-42"></span></p>
<p><a href="http://www.brucalipto.org/wp-content/uploads/2008/02/01.PNG" title="Ubuntu Install 01"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/01.thumbnail.PNG" alt=" Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" class="alignright" title="Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" /></a>Una volta scaricato il CD della Ubuntu 8.04 (<a href="http://cdimage.ubuntu.com/releases/hardy/alpha-5/">qui</a> la ALPHA-5) e masterizzato lo andiamo ad inserire nel nostro futuro server e provvediamo al restart dello stesso. <a href="http://www.brucalipto.org/wp-content/uploads/2008/02/025.png" title="Ubuntu Install 025"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/025.thumbnail.png" alt="025.thumbnail Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" class="alignright" title="Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" /></a>Subito dopo la partenza saremo accolti da una schermata che chiede di scegliere la lingua d&#8217;installazione: visto che si tratta di un server io preferisco sempre installare in inglese.<a href="http://www.brucalipto.org/wp-content/uploads/2008/02/02.PNG" title="Ubuntu Install 02"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/02.thumbnail.PNG" alt=" Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" class="alignright" title="Guida dinstallazione di un server Ubuntu 8.04 Hardy Heron" /></a>Scelto l&#8217;inglese viene subito proposta la schermata iniziale con il logo Ubuntu e dove la prima voce è &#8220;Install Ubuntu&#8221;; prima di scegliere questa voce dando INVIO sarà necessario prima premere F4 per poter scegliere l&#8217;opzione &#8220;Install a command-line system&#8221;. A questo punto potremo procedere con il premere INVIO e iniziamo così l&#8217;installazione.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/guida-dinstallazione-di-un-server-ubuntu-804-hardy-heron/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Intrepid Ibex ovvero Ubuntu 8.10</title>
		<link>http://www.brucalipto.org/linux/intrepid-ibex-ovvero-ubuntu-810</link>
		<comments>http://www.brucalipto.org/linux/intrepid-ibex-ovvero-ubuntu-810#comments</comments>
		<pubDate>Thu, 21 Feb 2008 08:35:04 +0000</pubDate>
		<dc:creator>apiero</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Intrepid Ibex]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.brucalipto.org/linux/intrepid-ibex-ovvero-ubuntu-810</guid>
		<description><![CDATA[In una email del 20 Febbraio Mark Shuttleworth, il carismatico fondatore di Canonical e Ubuntu, ha annunciato il nome della futura release 8.10 attesa verso Ottobre 2008: Intrepid Ibex. Intrepid Ibex continua così la ormai instaurata tradizione dei nomi Ubuntu che iniziano con due lettere identiche e che &#8220;scalano nell&#8217;alfabeto&#8221; di release in release: Dapper [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ubuntulogo.png" alt="ubuntulogo Intrepid Ibex ovvero Ubuntu 8.10" class="alignleft" title="Intrepid Ibex ovvero Ubuntu 8.10" />In una email del 20 Febbraio Mark Shuttleworth, il carismatico fondatore di Canonical e Ubuntu, ha annunciato il nome della futura release 8.10 attesa verso Ottobre 2008: Intrepid Ibex. Intrepid Ibex continua così la ormai instaurata tradizione dei nomi Ubuntu che iniziano con due lettere identiche e che &#8220;scalano nell&#8217;alfabeto&#8221; di release in release:<span id="more-41"></span></p>
<ul>
<li>Dapper Drake: Ubuntu 6.04</li>
<li>Edgy Eft: Ubuntu 6.10</li>
<li>Feisty Fawn: Ubuntu 7.04</li>
<li>Gutsy Gibbon: Ubuntu 7.10</li>
<li>Hardy Heron: Ubuntu 8.04</li>
<li>Intrepid Ibex: Ubuntu 8.10</li>
</ul>
<p>Nonostante questa magnifica simmetria nei nomi a questa regola non rispondono però le prime releases:</p>
<ul>
<li>Warty Warthog: Ubuntu 4.10</li>
<li>Hoary Hedgehog: Ubuntu 5.04</li>
<li>Breezy Badger: Ubuntu 5.10</li>
</ul>
<p>La mail originale di Mark Shuttleworth con il nuovo nome e gli intenti delle release 8.10 Intrepid Ibex li potete trovare sulla <a href="https://lists.ubuntu.com/archives/ubuntu-devel/2008-February/025136.html" target="_blank">mailing list ubuntu-devel</a>.</p>
<p><a href="mailto:ottuzzi@gmail.com"><img src="http://www.brucalipto.org/wp-content/uploads/2008/02/ottuzzigoogle.png" alt="ottuzzigoogle Intrepid Ibex ovvero Ubuntu 8.10" align="right" title="Intrepid Ibex ovvero Ubuntu 8.10" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brucalipto.org/linux/intrepid-ibex-ovvero-ubuntu-810/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

