tag:blogger.com,1999:blog-51529901050034166622024-02-21T01:14:49.149+05:30Redhat Enterprise Linux / CENTOS SupportHowtos,Information and Tutorial About RHEL Based Linux Distributions ie. CENTOS,CENTOS 6, Fedorapsnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-5152990105003416662.post-17107412311303065392020-09-14T14:12:00.000+05:302020-09-14T14:12:14.848+05:30Xen for CentOS7<p> Enable Repo : </p><p><br /></p><p>#<span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">yum install centos-release-xen</span></p><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">#</span><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">yum update</span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">#</span><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">yum install xen</span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">verify kernel </span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div><div><span style="color: #333333; font-family: Menlo, Monaco, Consolas, Courier New, monospace;"><span style="background-color: whitesmoke; font-size: 13px; white-space: pre-wrap;">#</span></span><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">uname -r</span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">#</span><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">xl info</span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;">Setup Bridging : </span></div><div><span style="background-color: whitesmoke; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; white-space: pre-wrap;"><br /></span></div><div><pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: visible; padding: 9.5px; white-space: pre-wrap; word-break: break-all;">ip route show | grep 'default' | awk '{print $5}'</pre><div><pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: visible; padding: 9.5px; white-space: pre-wrap; word-break: break-all;">nmcli con add type bridge con-name xenbr0 ifname xenbr0
<span class="anchor" id="line-2" style="box-sizing: border-box;"></span>nmcli con modify xenbr0 bridge.stp no
<span class="anchor" id="line-3" style="box-sizing: border-box;"></span>nmcli con modify xenbr0 bridge.hello-time 0</pre><pre style="background-color: whitesmoke; border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; color: #333333; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; font-size: 13px; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: visible; padding: 9.5px; white-space: pre-wrap; word-break: break-all;"><pre style="border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: visible; padding: 9.5px; white-space: pre-wrap; word-break: break-all;">nmcli con show</pre><pre style="border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: visible; padding: 9.5px; white-space: pre-wrap; word-break: break-all;">nmcli con modify "System eth0" connection.master xenbr0 connection.slave-type bridge<span class="anchor" id="line-30" style="background-color: white; box-sizing: border-box; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; white-space: normal;"></span><span class="anchor" id="line-31" style="background-color: white; box-sizing: border-box; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; white-space: normal;"></span></pre><div><pre style="border-radius: 4px; border: 1px solid rgb(204, 204, 204); box-sizing: border-box; font-family: Menlo, Monaco, Consolas, "Courier New", monospace; line-height: 1.42857; margin-bottom: 10px; margin-top: 0px; overflow-wrap: break-word; overflow: visible; padding: 9.5px; white-space: pre-wrap; word-break: break-all;">systemctl restart network</pre><div><br /></div><span class="anchor" id="line-35" style="background-color: white; box-sizing: border-box; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; white-space: normal;"></span><span class="anchor" id="line-36" style="background-color: white; box-sizing: border-box; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px; white-space: normal;"></span></div></pre></div><span class="anchor" id="line-9" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-10" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span></div><span class="anchor" id="line-54" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-55" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-50" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-33" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-34" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-28" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-29" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-23" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span><span class="anchor" id="line-24" style="background-color: white; box-sizing: border-box; color: #333333; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 14px;"></span>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-27474435454686394002019-12-18T23:19:00.003+05:302019-12-18T23:19:27.586+05:30RHEL8 - CENTOS8 Xen Dom0<div dir="ltr" style="text-align: left;" trbidi="on">
Since KVM became default virtualization software from RHEL, after releasing of RHEL8 and CENTOS8 still XenSource RPMs are not available.<br />
<br /></div>
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-27710793919253422892019-11-23T04:50:00.001+05:302019-12-18T23:32:25.491+05:30Fix for Zabbix4.0 installation on RHEL8 MariaDB10.3 error<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="background-color: #f4f5f7; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; padding: 0px;">
There is problem on installing zabbix-server on RHEL8, while importing database schema error occurs.</div>
<div style="background-color: #f4f5f7; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; padding: 0px;">
<br />
Zabbix server version prior to 4.4 cannot work correctly with newer MariaDB versions out of the box.</div>
<div style="background-color: #f4f5f7; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; margin-top: 10px; padding: 0px;">
Prior to MariaDB 10.2.26, 10.3.17, and 10.4.7, MariaDB didn't properly calculate the row sizes while executing DDL, so "unsafe" tables could be created, even with innodb_strict_mode=ON set. This was fixed by MDEV-19292.</div>
<div style="background-color: #f4f5f7; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; margin-top: 10px; padding: 0px;">
<br /></div>
<div style="background-color: #f4f5f7; color: #172b4d; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; font-size: 14px; margin-top: 10px; padding: 0px;">
<br /></div>
<pre class="code-java" style="background-color: #f4f5f7; color: #172b4d; font-size: 12px; max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;">shell> mysql -uroot -p<password>
mysql> set global innodb_strict_mode=<span class="code-quote" style="color: #009100;">'OFF'</span>;</pre>
<pre class="code-java" style="background-color: #f4f5f7; color: #172b4d; font-size: 12px; max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;"></pre>
<pre class="code-java" style="background-color: #f4f5f7; color: #172b4d; font-size: 12px; max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;"></pre>
<pre class="code-java" style="background-color: #f4f5f7; color: #172b4d; font-size: 12px; max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;">After importing Zabbix database schema </pre>
<pre class="code-java" style="background-color: #f4f5f7; color: #172b4d; font-size: 12px; max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;"></pre>
<pre class="code-java" style="background-color: #f4f5f7; color: #172b4d; font-size: 12px; max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;"><pre class="code-java" style="max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;">shell> mysql -uroot -p<password></pre>
<pre class="code-java" style="max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;">mysql> USE zabbix
mysql> alter table `host_inventory` modify `name` varchar(128) <span class="code-keyword" style="color: #910091;">default</span> <span class="code-quote" style="color: #009100;">'' not <span class="code-keyword">null</span>, modify `alias` varchar(128) <span class="code-keyword">default</span> '</span><span class="code-quote" style="color: #009100;">' not <span class="code-keyword">null</span>, modify `os` varchar(128) <span class="code-keyword">default</span> '</span><span class="code-quote" style="color: #009100;">' not <span class="code-keyword">null</span>, modify `os_short` varchar(128) <span class="code-keyword">default</span> '</span>' not <span class="code-keyword" style="color: #910091;">null</span>;
mysql> set global innodb_strict_mode=<span class="code-quote" style="color: #009100;">'ON'</span>;</pre>
<pre class="code-java" style="max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;"></pre>
<pre class="code-java" style="max-height: 30em; overflow-wrap: normal; overflow: auto; padding: 0px; white-space: pre-wrap;"></pre>
</pre>
</div>
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-69143025466421431752016-08-11T12:53:00.000+05:302016-09-04T17:11:31.354+05:30MySQL Server is removed from Centos/RHEL 7 Repo<div dir="ltr" style="text-align: left;" trbidi="on">
<div style="text-align: left;">
Big changes in open source world, i was just installing zabbix server and mysql database is required for zabbix. After installing Centos 7 from minimal install iso i didn't get mysql by "yum install mysql-server so i came to know about changes that "<span style="background-color: white; color: #333333; font-family: "helvetica" , "arial" , sans-serif; font-size: 19.44px; line-height: 29.16px;">MySQL is no longer in CentOS’s repositories and MariaDB has become the default database" </span>who knows mariaDB ?? </div>
<div style="text-align: left;">
any way you can still install mysql by installing official mysql community Yum's Repo file for "yum install mysql-server"</div>
<pre style="background-color: white; border-radius: 0px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.42857; overflow-x: auto; padding: 10.5px; word-break: inherit; word-wrap: inherit;">Method : Download and install from this url</pre>
<pre style="background-color: white; border-radius: 0px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.42857; overflow-x: auto; padding: 10.5px; word-break: inherit; word-wrap: inherit;"><a href="http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm">http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm</a> </pre>
<pre style="background-color: white; border-radius: 0px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.42857; overflow-x: auto; padding: 10.5px; word-break: inherit; word-wrap: inherit;">or simply rpm -ivh <span style="line-height: 1.42857;">http://repo.mysql.com/mysql-community-release-el7-5.noarch.rpm </span><span style="line-height: 1.42857;"> </span></pre>
<pre style="background-color: white; border-radius: 0px; border: 1px solid rgb(221, 221, 221); box-sizing: border-box; color: #333333; font-family: Monaco, Menlo, Consolas, "Courier New", monospace; font-size: 14px; line-height: 1.42857; overflow-x: auto; padding: 10.5px; word-break: inherit; word-wrap: inherit;"><span style="line-height: 1.42857;">
</span></pre>
<div style="text-align: left;">
<br /></div>
<div style="text-align: left;">
<span style="background-color: white; color: #333333; font-family: "helvetica" , "arial" , sans-serif; font-size: 19.44px; line-height: 29.16px;"><br /></span></div>
</div>
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-62854861647685089672012-04-11T22:10:00.003+05:302012-04-11T22:10:58.534+05:30Gnu Sed Utility<div dir="ltr" style="text-align: left;" trbidi="on">
Example :<br />
<br />
removing # (commented Lines) from a file<br />
<br />
<code>sed '/ *#/d; /^ *$/d' /sourcefile >/destfile</code><br />
<br />
<br />
<code> </code> <br />
<br />
<br /></div>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-25876355725667736902011-12-28T15:00:00.001+05:302011-12-28T15:00:07.819+05:30Cactiez Backup Restore<div dir="ltr" style="text-align: left;" trbidi="on">
Restoring Cacti Backup from old server in easy steps . <br />
<br />
Default Backup directory : /var/www/backups<br />
<br />
tar -xzvf /var/www/backups/cacti-backup-year-month-Date.tar.gz <br />
<br />
Data Base Import :<br />
<br />
mysql cacti < /var/www/html/cacti-backup.sql<br />mysql syslog < /var/www/html/syslog.sql<br />
<br />
Restart All CactiEz Services<br />
<br />
</div>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-6640761686079602502011-11-28T15:16:00.001+05:302011-11-28T15:29:29.972+05:30Install centos6 from internet (netinstall)<div dir="ltr" style="text-align: left;" trbidi="on">
Installing Centos6 / Rhel 6 From Network (Internet) :<br />
<br />
We need ISO image from this links : image size is only 170 MB. <br />
<br />
32 bit: <a href="http://linux.mirrors.es.net/centos/6.0/isos/i386/CentOS-6.0-i386-netinstall.iso">http://linux.mirrors.es.net/centos/6.0/isos/i386/CentOS-6.0-i386-netinstall.iso</a><br />64 bit:<a href="http://linux.mirrors.es.net/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-netinstall.iso" target="_blank"> http://linux.mirrors.es.net/centos/6.0/isos/x86_64/CentOS-6.0-x86_64-netinstall.iso</a><br />
<br />
Burn Iso image to cd by your favorite image burner..<br />
<br />
<br />
boot from cdrom and follow the instructions.<br />
<br />
At Installation method menu select URL<br />
<br />
configure ip address to access internet.<br />
<br />
input this url for netinstall :<br />
<br />
http://mirror.centos.org/centos/6/os/i386 <br />
<br />
Now install as normal installation.<br />
<br />
<br /></div>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-86644354019686381742011-09-29T21:35:00.000+05:302011-09-29T21:35:06.346+05:30how to make rouring in redhat 6<div dir="ltr" style="text-align: left;" trbidi="on">In RHEL6 / CENTOS6 /FEDORA you can add static roure by applying route add command. but it is a temporary route. <br />
<br />
for static roure, you can do it by modifying route-eth files..<br />
<br />
ath of file : /etc/sysconfig/network-scripts<br />
<br />
modify route-eth0 or route-eth1 file on which Ethernet interface you want to add route,<br />
<br />
if file is not present create a file<br />
<br />
# vi /etc/sysconfig/network-scripts/route-eth0<br />
<br />
add following lines :<br />
<br />
<br />
<pre class="screen">ADDRESS0=<em class="replaceable"><code>X.X.X.X</code></em>
NETMASK0=<em class="replaceable"><code>X.X.X.X</code></em>
GATEWAY0=<em class="replaceable"><code>X.X.X.X</code></em></pre><pre class="screen"><em class="replaceable"><code> </code></em></pre><pre class="screen"><em class="replaceable"><code> </code></em></pre><pre class="screen">example : </pre><pre class="screen">ADDRESS0=192.168.10.0 Destination Network Address </pre><pre class="screen">NETMASK0=255.255.255.0 Destination Network Subnet mask</pre><pre class="screen">GATEWAY0=192.168.2.1 Gateway address for that network</pre><pre class="screen"> </pre><pre class="screen"> </pre><pre class="screen">IF YOU WANT MORE ROUTES TO BE ADDED, APPLY 1,2,3, ETC.</pre><br />
<br />
<br />
<br />
</div>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-73652307203167847682011-09-20T20:50:00.000+05:302011-11-28T15:29:29.983+05:30CentOS 6 Download Link<div dir="ltr" style="text-align: left;" trbidi="on">
CentOS is a Fork / Clone of RHEL ( RedHat Enterprise Linux), Basically RHEL is a Linux Distribution Under GNU GPL License but not free. So CentOS is a project to provide Enterprise Linux Free of cost. There is no more technical difference between RHEL and CentOS. If you want to install RHEL, you must create account to download RHEL ISO file and it is evolution version so we highly recomend that you first try CentOS which is free and opensource..<br />
<br />
<br />
These are the links for to download CENTOS 6 ISO File, Download it and Burn it on CD / DVD with your favourite Burning program.<br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/i386/CentOS-6.0-i386-bin-DVD.iso">CentOS 32 bit DVD ISO File </a><br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/i386/CentOS-6.0-i386-LiveCD.iso">CentOS 32 bit Live CD ISO File </a><br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/i386/CentOS-6.0-i386-LiveDVD.iso">CentOS 32 bit Live DVD ISO File</a><br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/x86_64/CentOS-6.0-x86_64-bin-DVD1.iso">CentOS 64 bit DVD -1 ISO File </a><br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/x86_64/CentOS-6.0-x86_64-bin-DVD2.iso">CentOS 64 bit DVD -2 ISO File </a><br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/x86_64/CentOS-6.0-x86_64-LiveCD.iso">CentOS 64 bit Live CD ISO File </a><br />
<br />
<a href="http://mirror.its.sfu.ca/mirror/CentOS/6/isos/x86_64/CentOS-6.0-x86_64-LiveDVD.iso">CentOS 64 bit Live DVD ISO File </a><br />
<br /></div>
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-38114296553835570852011-08-27T23:21:00.000+05:302011-11-28T15:29:29.936+05:30How-to-Configure Network in RHEL6 Centos6In RHEL6 and CentOS6 there is not System-Config-Network Script available which was very handy and useful.. Its good thing that now your require Basic Knowledge of Linux config File.. which is a best practice for Real Unix / Linux Admins.<br />
<br />
Basically /etc contains Config files for system.<br />
for network there is a directory called <span class="Apple-style-span" style="background-color: #e6e6e6; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px;">/etc/sysconfig/network-script/ </span> <br />
<br />
There are ifcfg-eth(number) file for every Ethernet interface e.g ifcfg-eth0 for Ethernet 0, ifcfg-eth1 for Ethernet 1<br />
<br />
Now create a file or Edit a file called /etc/sysconfig/network-script/ifcfg-eth0<br />
<br />
------------------------------------------------------------------------------------------------------------<br />
<br />
DEVICE=eth0<br />
<br />
IPADDR=192.168.0.1<br />
NETMASK=255.255.255.0<br />
NETWORK=192.168.0.0<br />
BROADCAST=192.168.0.255<br />
ONBOOT=yes<br />
BOOTPROTO=none<br />
USERCTL=no<br />
<br />
------------------------------------------------------------------------------------------------------------<br />
<br />
<br />
These are the values which you can configure in config file :<br />
<br />
<br />
<br />
DEVICE=devicename, where devicename is the name of the physical network device.<br />
<br />
<br />
IPADDR=ipaddr, where ipaddr is the IP address.<br />
<br />
<br />
NETMASK=netmask, where netmask is the netmask IP value.<br />
<br />
<br />
NETWORK=network, where network is the network IP address.<br />
<br />
<br />
BROADCAST=broadcast, where broadcast is the broadcast IP address.<br />
<br />
<br />
ONBOOT=answer, where answer is yes or no. Do the interface need to be active or inactive at boot time.<br />
<br />
<br />
BOOTPROTO=proto, where proto is one of the following :<br />
<br />
<br />
none - No boot-time protocol should be used.<br />
<br />
<br />
bootp - The bootp now pump protocol should be used.<br />
<br />
<br />
dhcp - The dhcp protocol should be used.<br />
<br />
<br />
USERCTL=answer, where answer is one of the following:<br />
<br />
<br />
yes - Non-root users are allowed to control this device.<br />
<br />
<br />
no - Only the super-user root is allowed to control this device.<br />
<br />
<br />
<br />
<br />
<br />
<br />
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-40558073792394663372011-08-27T22:58:00.000+05:302011-11-28T15:29:29.941+05:30no system-config-network in rhel6 centos6Terminal Based Gui utility System-config-network for configuring ip address, subnet mask, gateway, DNS for each Network Connection is no longer supported in RHEL6.<br />
<br />
There are so many changes in RHEL6 and its variants like CentOS6 and other.<br />
<br />
It was really a very user friendly utility specially for newbies and Linux begginers...<br />
<br />
Please Read our next post for configuring network interfaces in old classic Unix / Linux style... directly modifying config file. <br />
<br />
<br />
<br />
<br />
<br />
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-72451841344707756102011-08-23T16:16:00.002+05:302011-08-23T23:15:05.625+05:30Syslog NG- Best Open source Syslog Server<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiujn82gM-kWbzgRc5JlJq41dvjV5lKGGZUKF7do7jIQaP53ldOQlFfhmz1iaSFyJ8fPGGiHVaKlgAdgRyo0zGfmm1-EH5M-ssiuwx7bNgyIiFLxQ0OXDfdtQT9HxdhA98WVn4ELK7BoEk/s1600/syslog-ng.JPG" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" height="640" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiujn82gM-kWbzgRc5JlJq41dvjV5lKGGZUKF7do7jIQaP53ldOQlFfhmz1iaSFyJ8fPGGiHVaKlgAdgRyo0zGfmm1-EH5M-ssiuwx7bNgyIiFLxQ0OXDfdtQT9HxdhA98WVn4ELK7BoEk/s640/syslog-ng.JPG" width="608" /></a></div><br />
psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-25369679268023570422011-07-17T03:36:00.000+05:302011-07-17T03:36:20.715+05:30xen-hvm-qemu Xen-HVM<br />
<br />
The Xen virtual machine monitor can run in HVM (hardware virtual machine) mode, using Intel VT-x or AMD-V hardware x86 virtualization extensions. This means that instead of paravirtualized devices, a real set of virtual hardware is exposed to the domU to use real device drivers to talk to.<br />
QEMU includes several components: CPU emulators, emulated devices, generic devices, machine descriptions, user interface, and a debugger. The emulated devices and generic devices in QEMU make up its device models for I/O virtualization.<br />
Xen-HVM has device emulation based on the QEMU project to provide I/O virtualization to the VMs. Hardware is emulated via a patched QEMU "device model" (qemu-dm) daemon running as a backend in dom0. This means that the virtualized machines see as hardware: a PIIX3 IDE (with some rudimentary PIIX4 capabilities), Cirrus Logic or plain VGA emulated video, RTL8139 or NE2000 network emulation, PAE, and somewhat limited ACPI and APIC support and no SCSI emulation.psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com0tag:blogger.com,1999:blog-5152990105003416662.post-13471534707016246792011-07-08T14:45:00.000+05:302011-11-28T15:29:29.907+05:30CEntOS6 will release soonThere are only 2-3 dys remaining for Official CentOS version 6 release.. QA and all process are Tested now the will put Centos6 ISO file within some days.. We will update download link as soon as possiblepsnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-79217742071948895492011-05-28T17:37:00.000+05:302011-11-28T15:29:29.989+05:30Mount NTFS Hdd in CetnOS/ RHELCEntOS - 5 and RHEL-5 is not supporting mounting of NTFS partition, fix harddisk, removable usb harddisk with NTFS partition<br />
<br />
some packages need to be installed on it to make NTFS mountable<br />
<br />
which are fuse and fuse-ntfs-3g<br />
<br />
first of all apply this command to install these packages :<br />
<br />
# yum install fuse fuse-ntfs-3g<br />
<br />
after installing get the device name of connected hdd which we are going to mount<br />
<br />
fdisk -l<br />
<br />
in this example external hdd with ntfs partition is sdb2<br />
<br />
make a directory / folder to mount hdd<br />
<br />
# mkdir /media/hdd<br />
<br />
mount sdb2 by this command<br />
<br />
mount /dev/sdb2 /media/hdd<br />
<br />
and you are doneeeeeeeee......<br />
<br />
now you can access the data from ntfs mounted partitionpsnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-41898215876970121752011-05-03T15:08:00.002+05:302011-05-03T15:08:37.427+05:30DNS server types<div class="variablelist"><br />
<dl><dt> <span class="term">master</span> </dt>
<dd> Stores original and authoritative zone records for a namespace, and answers queries about the namespace from other nameservers.
</dd>
<dt> <span class="term">slave</span> </dt>
<dd> Answers queries from other nameservers concerning namespaces for which it is considered an authority. However, slave nameservers get their namespace information from master nameservers.
</dd>
<dt> <span class="term">caching-only</span> </dt>
<dd> Offers name-to-IP resolution services, but is not authoritative for any zones. Answers for all resolutions are cached in memory for a fixed period of time, which is specified by the retrieved zone record.
</dd>
<dt> <span class="term">forwarding</span> </dt>
<dd> Forwards requests to a specific list of nameservers for name resolution. If none of the specified nameservers can perform the resolution, the resolution fails.
</dd></dl></div>A nameserver may be one or more of these types. For example, a nameserver can be a master for some zones, a slave for others, and only offer forwarding resolutions for others.psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-70341626094792812302011-04-16T18:12:00.001+05:302011-04-16T18:15:13.445+05:30system-config-networksystem-config-network tool is very helpful for configuring network address.<br />
<br />
<br />
<br />
<br />
With root access you can start this command based gui tool by applying this command.<br />
<br />
[root@vps ~]# system-config-network<br />
<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUER-pAGVM8xPXhM74lgnEe-Dh6qdQmYRNsoxR4s2_Ll6KT2kb8XLOaW5A1nZGUXbNUYEBry6Vj-btARVjv12GxnwjEuPnFGnfB9Cwe0xeABzDRFSmCbgOV00RcCPVIr1AwJiuiuWK5Ys/s1600/network-tools.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="384" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhUER-pAGVM8xPXhM74lgnEe-Dh6qdQmYRNsoxR4s2_Ll6KT2kb8XLOaW5A1nZGUXbNUYEBry6Vj-btARVjv12GxnwjEuPnFGnfB9Cwe0xeABzDRFSmCbgOV00RcCPVIr1AwJiuiuWK5Ys/s640/network-tools.bmp" width="640" /></a></div><br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-kFjS-MMYJNKZA9UZWqdsHHOSFNU-Yh3-9e51jUQJQHEk0nFo1BexXKbe02u9DpA-zL1UtmfiHcg7Fl8C5kU_9cjTTHXYHyFJ6cGwgXpBeNbImttlHp9eJ0XFhNU8AFdSE3dBHxdJjmw/s1600/network-tools.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg-kFjS-MMYJNKZA9UZWqdsHHOSFNU-Yh3-9e51jUQJQHEk0nFo1BexXKbe02u9DpA-zL1UtmfiHcg7Fl8C5kU_9cjTTHXYHyFJ6cGwgXpBeNbImttlHp9eJ0XFhNU8AFdSE3dBHxdJjmw/s1600/network-tools.bmp" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><br />
</a></div>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-44548116039200507102011-04-09T20:20:00.000+05:302011-11-28T15:29:29.953+05:30how to make a iso image from cdrom under CentOS/RHELIn Virtualization everything is virtual, so if you are planning for a virtual machine installation. it will be easy for you to make a iso image from cd/dvd and mount it as a virtual cdrom..<br />
<br />
in linux dd command can do this things ..<br />
<br />
This is an Example :<br />
<br />
[root@vps ~]# dd if=/dev/cdrom of=xp.iso<br />
<br />
dd command will make a xp.iso image file from physical cdrom..psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-64937572552442503582011-03-29T03:43:00.000+05:302011-03-29T04:45:06.656+05:30Nic emulation supported by xen<span class="Apple-style-span" style="border-collapse: separate; color: black; font-family: Arial,'Lucida Grande',sans-serif; font-size: 16px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px;"><span class="Apple-style-span" style="border-collapse: collapse; color: #333333; font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px;"><div class="line874" style="color: #333333; font-size: 12px; margin: 1.12em 0px ! important; padding: 0px;">The following emulated network interface cards are available for Xen HVM guests in Xen 3.4:<span class="anchor" id="line-402"></span><span class="anchor" id="line-403"></span></div><ul><li>e100<span class="anchor" id="line-404"></span></li>
<li>e1000<span class="anchor" id="line-405"></span></li>
<li>rtl8139<span class="anchor" id="line-406"></span></li>
<li>ne2k_pci<span class="anchor" id="line-407"></span></li>
<li>pcnet<span class="anchor" id="line-408"></span></li>
</ul><div class="line874" style="color: #333333; font-size: 12px; margin: 1.12em 0px ! important; padding: 0px;">Emulation is done by Qemu-dm running for each Xen HVM guest. Intel e1000 is known to be the best performing emulated NIC. Even faster is to use PV-on-HVM drivers, which totally bypasses emulation.</div></span></span>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-16435920721130314482011-03-25T01:41:00.000+05:302011-03-25T01:41:08.388+05:30Home - Abiquo 1.0 - Open Source Cloud Computing Management<a href="http://community.abiquo.com/display/abiCloud/Home;jsessionid=DD3F91CEE04726597FB8E77101EF1A6B">Home - Abiquo 1.0 - Open Source Cloud Computing Management</a>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-57816367230174636212011-03-24T22:51:00.000+05:302011-03-29T04:45:43.463+05:30Xen - Adding Multiple Network InterfaceYou can add multiple Network Interfaces for each guest machines<br />
<br />
<br />
Example : XEN with 3 Network interfaces :<br />
<br />
Create a script : /etc/xen/scripts/multi-network-script<br />
<br />
<br />
<br />
add following lines to it <br />
<br />
<br />
#!/bin/sh<br />
dir=$(dirname "$0")<br />
"$dir/network-bridge" "$@" vifnum=0 netdev=eth0 bridge=xenbr0<br />
"$dir/network-bridge" "$@" vifnum=1 netdev=eth1 bridge=xenbr1<br />
"$dir/network-bridge" "$@" vifnum=2 netdev=eth2 bridge=xenbr2<br />
<br />
<br />
It will create 3 vif and bridges and connect it with physical 3 interfaces<br />
<br />
<br />
give permission to it<br />
<br />
chmod +x /etc/xen/scripts/multi-network-script<br />
<br />
<br />
add your new script in<br />
<br />
xend-config.sxp<br />
<br />
edit your xend-config.sxp<br />
<br />
<br />
replace (network-script network-bridge) with (network-script multi-network-bridge)<br />
<br />
save it ...<br />
<br />
Now Restart Xen Deamon<br />
<br />
<br />
[root@vps scripts]# service xend restart<br />
restart xend: [ OK ]<br />
<br />
<br />
Now you can see your 3 bridges by <b>ifconfig</b> command<br />
<br />
You can configure network interfaces on each domu guests by adding this lines to their config files<br />
<br />
<pre>vif = ['ip=ipaddress,mac=macaddress,<strong>bridge=bridgeinterfaceno</strong>']</pre><pre> </pre><pre></pre><pre></pre>In this example we are assigning ip address, mac address and binding it with bridge0 interface<br />
<br />
<br />
<pre># use eth0 for this DomU
vif = ['ip=10.0.1.1,mac=00:16:de:ad:fa:ce,<strong>bridge=xenbr0</strong>']
...</pre>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-64875474253644242552011-03-24T22:22:00.000+05:302011-03-29T04:45:43.464+05:30Installing HVM in xenUse this command to confirm about your processor support for Virtulization<br />
<br />
<div class="command">xm dmesg | grep -i hvm</div><div class="command"><br />
</div><div class="command">if you are using intel processor with virtulization supoort you will get this result</div><div class="command"> </div><div class="command">(XEN) HVM: VMX enabled</div><div class="command"><br />
</div><div class="command">Installing HVM Guest : </div><div class="command"><br />
</div><div class="command">> Create Harddisk image for guest </div><div class="command"><br />
</div><div class="command">dd if=/dev/zero of=/home/xen1.example.com.img bs=1024k count=4000</div><div class="command"><br />
</div><div class="command"><br />
</div><div class="command"><a href="http://www.howtoforge.com/how-to-run-fully-virtualized-guests-hvm-with-xen-3.2-on-debian-lenny-x86_64">http://www.howtoforge.com/how-to-run-fully-virtualized-guests-hvm-with-xen-3.2-on-debian-lenny-x86_64</a></div><div class="command"> </div><div class="command"> </div><div class="command"></div>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-26333491109920809002011-03-24T21:21:00.000+05:302011-03-29T04:45:43.464+05:30Default XEN xend-config.sxp file# -*- sh -*-<br />
<br />
#<br />
# Xend configuration file.<br />
#<br />
<br />
# This example configuration is appropriate for an installation that <br />
# utilizes a bridged network configuration. Access to xend via http<br />
# is disabled. <br />
<br />
# Commented out entries show the default for that entry, unless otherwise<br />
# specified.<br />
<br />
#(logfile /var/log/xen/xend.log)<br />
#(loglevel DEBUG)<br />
<br />
#(xend-http-server no)<br />
(xend-unix-server yes)<br />
#(xend-tcp-xmlrpc-server no)<br />
#(xend-unix-xmlrpc-server yes)<br />
#(xend-relocation-server no)<br />
# The relocation server should be kept desactivated unless using a trusted<br />
# network, the domain virtual memory will be exchanged in raw form without<br />
# encryption of the communication. See also xend-relocation-hosts-allow option<br />
<br />
(xend-unix-path /var/lib/xend/xend-socket)<br />
<br />
# Port xend should use for the HTTP interface, if xend-http-server is set.<br />
#(xend-port 8000)<br />
<br />
# Port xend should use for the relocation interface, if xend-relocation-server<br />
# is set.<br />
#(xend-relocation-port 8002)<br />
<br />
# Address xend should listen on for HTTP connections, if xend-http-server is<br />
# set.<br />
# Specifying 'localhost' prevents remote connections.<br />
# Specifying the empty string '' (the default) allows all connections.<br />
#(xend-address '')<br />
#(xend-address localhost)<br />
<br />
# Address xend should listen on for relocation-socket connections, if<br />
# xend-relocation-server is set.<br />
# Meaning and default as for xend-address above.<br />
#(xend-relocation-address '')<br />
<br />
# The hosts allowed to talk to the relocation port. If this is empty (the<br />
# default), then all connections are allowed (assuming that the connection<br />
# arrives on a port and interface on which we are listening; see<br />
# xend-relocation-port and xend-relocation-address above). Otherwise, this<br />
# should be a space-separated sequence of regular expressions. Any host with<br />
# a fully-qualified domain name or an IP address that matches one of these<br />
# regular expressions will be accepted.<br />
#<br />
# For example:<br />
# (xend-relocation-hosts-allow '^localhost$ ^.*\.example\.org$')<br />
#<br />
#(xend-relocation-hosts-allow '')<br />
(xend-relocation-hosts-allow '^localhost$ ^localhost\\.localdomain$')<br />
<br />
# The limit (in kilobytes) on the size of the console buffer<br />
#(console-limit 1024)<br />
<br />
##<br />
# To bridge network traffic, like this:<br />
#<br />
# dom0: fake eth0 -> vif0.0 -+<br />
# |<br />
# bridge -> real eth0 -> the network<br />
# |<br />
# domU: fake eth0 -> vifN.0 -+<br />
#<br />
# use<br />
#<br />
# (network-script network-bridge)<br />
#<br />
# Your default ethernet device is used as the outgoing interface, by default. <br />
# To use a different one (e.g. eth1) use<br />
#<br />
# (network-script 'network-bridge netdev=eth1')<br />
#<br />
# The bridge is named xenbr0, by default. To rename the bridge, use<br />
#<br />
# (network-script 'network-bridge bridge=<name>')<br />
#<br />
# It is possible to use the network-bridge script in more complicated<br />
# scenarios, such as having two outgoing interfaces, with two bridges, and<br />
# two fake interfaces per guest domain. To do things like this, write<br />
# yourself a wrapper script, and call network-bridge from it, as appropriate.<br />
#<br />
(network-script network-bridge)<br />
<br />
# The script used to control virtual interfaces. This can be overridden on a<br />
# per-vif basis when creating a domain or a configuring a new vif. The<br />
# vif-bridge script is designed for use with the network-bridge script, or<br />
# similar configurations.<br />
#<br />
# If you have overridden the bridge name using<br />
# (network-script 'network-bridge bridge=<name>') then you may wish to do the<br />
# same here. The bridge name can also be set when creating a domain or<br />
# configuring a new vif, but a value specified here would act as a default.<br />
#<br />
# If you are using only one bridge, the vif-bridge script will discover that,<br />
# so there is no need to specify it explicitly.<br />
#<br />
(vif-script vif-bridge)<br />
<br />
<br />
## Use the following if network traffic is routed, as an alternative to the<br />
# settings for bridged networking given above.<br />
#(network-script network-route)<br />
#(vif-script vif-route)<br />
<br />
<br />
## Use the following if network traffic is routed with NAT, as an alternative<br />
# to the settings for bridged networking given above.<br />
#(network-script network-nat)<br />
#(vif-script vif-nat)<br />
<br />
<br />
# Dom0 will balloon out when needed to free memory for domU.<br />
# dom0-min-mem is the lowest memory level (in MB) dom0 will get down to.<br />
# If dom0-min-mem=0, dom0 will never balloon out.<br />
(dom0-min-mem 256)<br />
<br />
# In SMP system, dom0 will use dom0-cpus # of CPUS<br />
# If dom0-cpus = 0, dom0 will take all cpus available<br />
(dom0-cpus 0)<br />
<br />
# Whether to enable core-dumps when domains crash.<br />
#(enable-dump no)<br />
<br />
# The tool used for initiating virtual TPM migration<br />
#(external-migration-tool '')<br />
<br />
# The interface for VNC servers to listen on. Defaults<br />
# to 127.0.0.1 To restore old 'listen everywhere' behaviour<br />
# set this to 0.0.0.0<br />
#(vnc-listen '127.0.0.1')<br />
<br />
# The default password for VNC console on HVM domain.<br />
# Empty string is no authentication.<br />
(vncpasswd '')<br />
<br />
# The default keymap to use for the VM's virtual keyboard<br />
# when not specified in VM's configuration<br />
(keymap 'en-us')<br />
<br />
# The VNC server can be told to negotiate a TLS session<br />
# to encryption all traffic, and provide x509 cert to <br />
# clients enalbing them to verify server identity. The<br />
# GTK-VNC widget, virt-viewer, virt-manager and VeNCrypt<br />
# all support the VNC extension for TLS used in QEMU. The<br />
# TightVNC/RealVNC/UltraVNC clients do not.<br />
#<br />
# To enable this create x509 certificates / keys in the<br />
# directory /etc/xen/vnc<br />
#<br />
# ca-cert.pem - The CA certificate<br />
# server-cert.pem - The Server certificate signed by the CA<br />
# server-key.pem - The server private key<br />
#<br />
# and then uncomment this next line<br />
# (vnc-tls 1)<br />
#<br />
# The certificate dir can be pointed elsewhere..<br />
#<br />
# (vnc-x509-cert-dir /etc/xen/vnc)<br />
# <br />
# The server can be told to request & validate an x509<br />
# certificate from the client. Only clients with a cert<br />
# signed by the trusted CA will be able to connect. This<br />
# is more secure the password auth alone. Passwd auth can<br />
# used at the same time if desired. To enable client cert<br />
# checking uncomment this:<br />
#<br />
# (vnc-x509-verify 1)<br />
<br />
# Allow probing of disk image file format. This is insecure! It lets<br />
# a malicious domU read any file in dom0. Applies only to fully<br />
# virtual domUs. Required for using formats other than raw.<br />
#(enable-image-format-probing no)<br />
<br />
# Number of seconds xend will wait for device creation<br />
#(device-create-timeout 100)<br />
<br />
# Strict checking when doing PCI passthrough; enabled by default<br />
#(pci-dev-assign-strict-check yes)psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-14530163400035085882011-03-24T21:03:00.000+05:302011-11-28T15:29:29.913+05:30Adding static route to RHEL-CENTOS-FEDORAIn RHEL/CENTOS/FEDORA you can add static route by applying route add command as other linux distributions, but if you want static permanaent route you can do it by modifying route-eth files..<br />
<br />
<br />
path of file : /etc/sysconfig/network-scripts<br />
<br />
modify route-eth0 or route-eth1 file on which ehternet interface you want to add route,<br />
<br />
if file is not present create a file<br />
<br />
# vi /etc/sysconfig/network-scripts/route-eth0<br />
<br />
add following lines :<br />
<br />
<pre class="screen">ADDRESS0=<em class="replaceable"><code>X.X.X.X</code></em>
NETMASK0=<em class="replaceable"><code>X.X.X.X</code></em>
GATEWAY0=<em class="replaceable"><code>X.X.X.X</code></em></pre><pre class="screen"></pre><pre class="screen">example : </pre><pre class="screen"></pre><pre class="screen">ADDRESS0=192.168.1.0</pre><pre class="screen">NETMASK0=255.255.255.0</pre><pre class="screen">GATEWAY0=192.168.2.1</pre><pre class="screen"></pre><pre class="screen">IF YOU WANT MORE ROUTES TO BE ADDED, APPLY 1,2,3, ETC. INSTEAD OF 0</pre><pre class="screen"></pre><pre class="screen"></pre>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.comtag:blogger.com,1999:blog-5152990105003416662.post-74413235379760451522011-03-18T04:07:00.000+05:302011-03-29T04:45:43.464+05:30Xen HVM<h4>check HVM capabilities : </h4>[root@localhost]# xm info|grep xen_caps<br />
xen_caps : xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p<br />
<br />
[root@localhost]# xm dmesg | grep -i hvm<br />
(XEN) HVM: VMX enabled<br />
<br />
<br />
<h4>VNC on HVM guests</h4><a href="" name="p-7065-9"></a> Enable following options in configuration file <tt>/etc/xen/xen-config.sxp</tt><br />
<br />
(network-script network-bridge)<br />
(vnc-listen '127.0.0.1')<br />
(vncpasswd '...')<br />
<br />
VNC password is created with <tt>/usr/bin/vncpasswd</tt><br />
<br />
<br />
virsh # dumpxml firewall<br />
<domain type='xen' id='1'><br />
<name>firewall</name><br />
<uuid>e816f20f-1ada-0c43-5323-91fbed2a1c27</uuid><br />
<memory>524288</memory><br />
<currentMemory>524288</currentMemory><br />
<vcpu>1</vcpu><br />
<os><br />
<type>hvm</type><br />
<loader>/usr/lib/xen/boot/hvmloader</loader><br />
<boot dev='hd'/><br />
</os><br />
<features><br />
<acpi/><br />
<apic/><br />
<pae/><br />
</features><br />
<clock offset='utc'/><br />
<on_poweroff>destroy</on_poweroff><br />
<on_reboot>restart</on_reboot><br />
<on_crash>restart</on_crash><br />
<devices><br />
<emulator>/usr/lib/xen/bin/qemu-dm</emulator><br />
<disk type='file' device='disk'><br />
<driver name='file'/><br />
<source file='/vm/firewall.img'/><br />
<target dev='hda' bus='ide'/><br />
</disk><br />
<disk type='file' device='cdrom'><br />
<target dev='hdc' bus='ide'/><br />
<readonly/><br />
</disk><br />
<interface type='bridge'><br />
<mac address='00:16:36:1d:26:bf'/><br />
<source bridge='xenbr0'/><br />
<script path='vif-bridge'/><br />
<target dev='vif1.0'/><br />
</interface><br />
<serial type='pty'><br />
<source path='/dev/pts/1'/><br />
<target port='0'/><br />
</serial><br />
<console type='pty' tty='/dev/pts/1'><br />
<source path='/dev/pts/1'/><br />
<target port='0'/><br />
</console><br />
</devices><br />
</domain><br />
<br />
<h4>sample : </h4><h4><br />
</h4><h4></h4><pre class="screen">name = "rhel4u4-x86_64"
builder = "hvm"
memory = "500"
disk = [ 'file:/var/lib/xen/images/rhel4u4-x86_64.dsk,hda,w', ]
vif = [ 'type=ioemu, mac=00:16:3e:09:f0:12, bridge=xenbr0', 'type=ioemu,
mac=00:16:3e:09:f0:13, bridge=xenbr1' ]
uuid = "b10372f9-91d7-a05f-12ff-372100c99af5"
device_model = "/usr/lib64/xen/bin/qemu-dm"
kernel = "/usr/lib/xen/boot/hvmloader"
vnc=1
vncunused=1
apic=1
acpi=1
pae=1
vcpus=1
serial = "pty" # enable serial console
on_reboot = 'restart'</pre><pre class="screen"> </pre><pre class="screen"> </pre>psnhttp://www.blogger.com/profile/10595220574949479741noreply@blogger.com