<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title><![CDATA[Dewlance&reg; Forum - Linux Xen-HVM, KVM VPS - Tutorials]]></title>
		<link>https://www.dewlance.com/forum/</link>
		<description><![CDATA[Dewlance&reg; Forum - https://www.dewlance.com/forum]]></description>
		<pubDate>Mon, 11 May 2026 20:50:26 +0000</pubDate>
		<generator>MyBB</generator>
		<item>
			<title><![CDATA[[Solved] KVM virsh command hang]]></title>
			<link>https://www.dewlance.com/forum/Thread-Solved-KVM-virsh-command-hang</link>
			<pubDate>Mon, 05 Sep 2016 07:15:40 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=1">DewlanceCTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-Solved-KVM-virsh-command-hang</guid>
			<description><![CDATA[Sometimes KVM virsh command hang but it can be solved by just restarting a libvirtd.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Run this command:</span><br />
service libvirtd restart<br />
<br />
Note: If RAID array is rebuilding or server load is high then it can take few minute.<br />
<br />
Now you can run your virsh command but first time it will take few minute so you need to wait for few minute and once it start working then it will not hang.<br />
<br />
You can buy SSD KVM VPS from <a href="http://dewlance.com/cheap-xenpv-vps" target="_blank" rel="noopener" class="mycode_url">http://dewlance.com/cheap-xenpv-vps</a> (KVM VPS, not xen)]]></description>
			<content:encoded><![CDATA[Sometimes KVM virsh command hang but it can be solved by just restarting a libvirtd.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Run this command:</span><br />
service libvirtd restart<br />
<br />
Note: If RAID array is rebuilding or server load is high then it can take few minute.<br />
<br />
Now you can run your virsh command but first time it will take few minute so you need to wait for few minute and once it start working then it will not hang.<br />
<br />
You can buy SSD KVM VPS from <a href="http://dewlance.com/cheap-xenpv-vps" target="_blank" rel="noopener" class="mycode_url">http://dewlance.com/cheap-xenpv-vps</a> (KVM VPS, not xen)]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to find a cheap Windows VPS  and which solution is the best and the affordable]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-find-a-cheap-Windows-VPS-and-which-solution-is-the-best-and-the-affordable</link>
			<pubDate>Tue, 20 Aug 2013 08:12:17 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=1">DewlanceCTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-find-a-cheap-Windows-VPS-and-which-solution-is-the-best-and-the-affordable</guid>
			<description><![CDATA[Windows is an operating system like Linux and people use it because it is loaded with tons of features, a user friendly GUI and it is even possible to run it on 256MB of RAM, although it is recommended to use at least 512MB to 1GB of RAM. <br />
<br />
Finding a great and well-established <a href="http://dewlance.com/cheap-windows-vps" target="_blank" rel="noopener" class="mycode_url"><span style="font-weight: bold;" class="mycode_b">Cheap Windows VPS</span></a> company is not so hard but takes a lot of time. Many hosting companies are not even registered, which poses a high risk that the company itself may close doors at any time.<br />
<br />
<br />
<img src="http://dewlance.com/forum/attachment.php?thumbnail=88" loading="lazy"  alt="[Image: attachment.php?thumbnail=88]" class="mycode_img" /><br />
<br />
<span style="font-weight: bold;" class="mycode_b">1.Only look for registered hosting companies:</span> <br />
You can take legal action against these but if the company you are dealing with is unregistered, you will find it difficult to acquire their office address, let alone sue them.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">2. VPS Uptime</span> <br />
Your business is important and you can be frustrated with Windows VPS, which is frequently down or unstable, so it will be good to introduce yourself to their SLA agreement.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">3.  Robust customer support</span> <br />
For the usual customers, a 6 to 12 hours response time is normal, however, for hosting companies, even 5 minutes are problematic, so better check it before purchasing the service.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4. Guaranteed Bandwidth</span> <br />
Sellers of hosting services over-commit bandwidth and sell you bandwidth of up to 10TB at a price of between &#36;10 to &#36;20 per month, which is not possible without overselling.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">5. The control panel of your Windows VPS</span> <br />
You should look for a VPS with control panel, which allows you to reboot, shutdown and re-install an OS in emergency. <br />
<br />
<br />
There are more ways to check it like using the phone support or just look for a well-established company. New technology upgrades are being introduced on almost a daily basis so it is advisable to determine what technology they are using and how they are capable of delivering it to you. Examine how they handle complains and inform yourself on the history of the company.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="GIF Image" border="0" alt=".gif" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=88" target="_blank" title="">windows-2008r2.gif</a> (Size: 52.45 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Windows is an operating system like Linux and people use it because it is loaded with tons of features, a user friendly GUI and it is even possible to run it on 256MB of RAM, although it is recommended to use at least 512MB to 1GB of RAM. <br />
<br />
Finding a great and well-established <a href="http://dewlance.com/cheap-windows-vps" target="_blank" rel="noopener" class="mycode_url"><span style="font-weight: bold;" class="mycode_b">Cheap Windows VPS</span></a> company is not so hard but takes a lot of time. Many hosting companies are not even registered, which poses a high risk that the company itself may close doors at any time.<br />
<br />
<br />
<img src="http://dewlance.com/forum/attachment.php?thumbnail=88" loading="lazy"  alt="[Image: attachment.php?thumbnail=88]" class="mycode_img" /><br />
<br />
<span style="font-weight: bold;" class="mycode_b">1.Only look for registered hosting companies:</span> <br />
You can take legal action against these but if the company you are dealing with is unregistered, you will find it difficult to acquire their office address, let alone sue them.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">2. VPS Uptime</span> <br />
Your business is important and you can be frustrated with Windows VPS, which is frequently down or unstable, so it will be good to introduce yourself to their SLA agreement.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">3.  Robust customer support</span> <br />
For the usual customers, a 6 to 12 hours response time is normal, however, for hosting companies, even 5 minutes are problematic, so better check it before purchasing the service.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">4. Guaranteed Bandwidth</span> <br />
Sellers of hosting services over-commit bandwidth and sell you bandwidth of up to 10TB at a price of between &#36;10 to &#36;20 per month, which is not possible without overselling.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">5. The control panel of your Windows VPS</span> <br />
You should look for a VPS with control panel, which allows you to reboot, shutdown and re-install an OS in emergency. <br />
<br />
<br />
There are more ways to check it like using the phone support or just look for a well-established company. New technology upgrades are being introduced on almost a daily basis so it is advisable to determine what technology they are using and how they are capable of delivering it to you. Examine how they handle complains and inform yourself on the history of the company.<br /><!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="GIF Image" border="0" alt=".gif" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=88" target="_blank" title="">windows-2008r2.gif</a> (Size: 52.45 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Upgrade XEN to 4.1.4 on CentOS?]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-Upgrade-XEN-to-4-1-4-on-CentOS</link>
			<pubDate>Thu, 25 Apr 2013 15:30:15 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=1">DewlanceCTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-Upgrade-XEN-to-4-1-4-on-CentOS</guid>
			<description><![CDATA[Hello,<br />
<br />
First you need to check your Xen Version by typing a command in your SSH Client<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>xm info<br />
xl info</blockquote>
You will get a 10 to 20 line output result but you need to check only this 3 lines..<br />
xen_major              : 4<br />
xen_minor              : 1<br />
xen_extra              : .1<br />
<br />
It means your Xen version is 4.1.1<br />
<br />
If both commands are not working then you can check your Xen version from /etc/grub.conf file.. <br />
<br />
Command:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano /etc/grub.conf</blockquote>
 <br />
output result<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>default=0  &lt;&lt; <span style="font-weight: bold;" class="mycode_b">If set to 3 then check 3rd title</span><br />
timeout=10<br />
splashimage=<br />
hiddenmenu<br />
title CentOS (3.2.12-434.3.2.el5xen)<br />
        root (hd0,0)<br />
        kernel /xen.gz-4.2.1   <span style="font-weight: bold;" class="mycode_b">&lt;&lt;&lt; YOUR XEN VERSION</span><br />
        module /vmlinuz-4.2.1.el5xen ro<br />
        module /initrd-4.2.1.el5xen.img   &lt;&lt; &lt;&lt; Your Xen Version<br />
title CentOS (xyz)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">How to Upgrade Xen?</span> (If you don't want to change your whole version from 3.x to 4.x.<br />
Upgrade Kernel:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum upgrade kernel-xen*</blockquote>
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How to Upgrade Xen Version from 3.x to 4.1.4?</span> (<span style="font-weight: bold;" class="mycode_b"><span style="color: #FF6347;" class="mycode_color">Warning: Do this at your own risk</span></span>)<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Run this command</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>cd /etc/yum.repos.d</blockquote>
<br />
Now download latest version of Xen repo from Gitco: (If you want to install your selected repo then go to &lt;removed&gt; and replace with your repo url in wget command<br />
<br />
Command:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>wget removed</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Now we need to remove Xen:</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum remove xen</blockquote>
<blockquote class="mycode_quote"><cite>Quote:</cite>yum remove kernel-xen*</blockquote>
<br />
Once you remove Xen and Xen kernel then you can install latest Xen by running this command:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum install xen</blockquote>
<br />
Edit /boot/grub/grub.conf and change "default 0" to your new xen kernel line..(Eg: If your newly installed kernel title listed on 1st line then change to "default 0", If listed on 2nd then change  to "default 1")<br />
<br />
For example: (Only for example, don't replace your grub config with this config otherwise your server will stop working)<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano /etc/grub.conf</blockquote>
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #007700">default=</span><span style="color: #0000BB">1<br />timeout</span><span style="color: #007700">=</span><span style="color: #0000BB">5<br />splashimage</span><span style="color: #007700">=(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)/</span><span style="color: #0000BB">grub</span><span style="color: #007700">/</span><span style="color: #0000BB">splash</span><span style="color: #007700">.</span><span style="color: #0000BB">xpm</span><span style="color: #007700">.</span><span style="color: #0000BB">gz<br />hiddenmenu<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">OpenVZ</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">example<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initrd&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">example</span><span style="color: #007700">.</span><span style="color: #0000BB">el5</span><span style="color: #007700">.</span><span style="color: #0000BB">img<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">Xen</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">xen</span><span style="color: #007700">.</span><span style="color: #0000BB">gz</span><span style="color: #007700">-</span><span style="color: #0000BB">4.1.4<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">4.1.4</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen&nbsp;ro&nbsp;root</span><span style="color: #007700">=</span><span style="color: #0000BB">LABE<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">4.1.4</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen</span><span style="color: #007700">.</span><span style="color: #0000BB">img&nbsp;<br /></span></code></div></div></div><br />
<br />
Now reboot your vps/server<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>reboot</blockquote>
<br />
<br />
After rebooting VPS/Server you can verify your Xen Version by running a xm info command or xl info.]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
First you need to check your Xen Version by typing a command in your SSH Client<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>xm info<br />
xl info</blockquote>
You will get a 10 to 20 line output result but you need to check only this 3 lines..<br />
xen_major              : 4<br />
xen_minor              : 1<br />
xen_extra              : .1<br />
<br />
It means your Xen version is 4.1.1<br />
<br />
If both commands are not working then you can check your Xen version from /etc/grub.conf file.. <br />
<br />
Command:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano /etc/grub.conf</blockquote>
 <br />
output result<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>default=0  &lt;&lt; <span style="font-weight: bold;" class="mycode_b">If set to 3 then check 3rd title</span><br />
timeout=10<br />
splashimage=<br />
hiddenmenu<br />
title CentOS (3.2.12-434.3.2.el5xen)<br />
        root (hd0,0)<br />
        kernel /xen.gz-4.2.1   <span style="font-weight: bold;" class="mycode_b">&lt;&lt;&lt; YOUR XEN VERSION</span><br />
        module /vmlinuz-4.2.1.el5xen ro<br />
        module /initrd-4.2.1.el5xen.img   &lt;&lt; &lt;&lt; Your Xen Version<br />
title CentOS (xyz)</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">How to Upgrade Xen?</span> (If you don't want to change your whole version from 3.x to 4.x.<br />
Upgrade Kernel:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum upgrade kernel-xen*</blockquote>
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How to Upgrade Xen Version from 3.x to 4.1.4?</span> (<span style="font-weight: bold;" class="mycode_b"><span style="color: #FF6347;" class="mycode_color">Warning: Do this at your own risk</span></span>)<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Run this command</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>cd /etc/yum.repos.d</blockquote>
<br />
Now download latest version of Xen repo from Gitco: (If you want to install your selected repo then go to &lt;removed&gt; and replace with your repo url in wget command<br />
<br />
Command:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>wget removed</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Now we need to remove Xen:</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum remove xen</blockquote>
<blockquote class="mycode_quote"><cite>Quote:</cite>yum remove kernel-xen*</blockquote>
<br />
Once you remove Xen and Xen kernel then you can install latest Xen by running this command:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum install xen</blockquote>
<br />
Edit /boot/grub/grub.conf and change "default 0" to your new xen kernel line..(Eg: If your newly installed kernel title listed on 1st line then change to "default 0", If listed on 2nd then change  to "default 1")<br />
<br />
For example: (Only for example, don't replace your grub config with this config otherwise your server will stop working)<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano /etc/grub.conf</blockquote>
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #007700">default=</span><span style="color: #0000BB">1<br />timeout</span><span style="color: #007700">=</span><span style="color: #0000BB">5<br />splashimage</span><span style="color: #007700">=(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)/</span><span style="color: #0000BB">grub</span><span style="color: #007700">/</span><span style="color: #0000BB">splash</span><span style="color: #007700">.</span><span style="color: #0000BB">xpm</span><span style="color: #007700">.</span><span style="color: #0000BB">gz<br />hiddenmenu<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">OpenVZ</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">example<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initrd&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">example</span><span style="color: #007700">.</span><span style="color: #0000BB">el5</span><span style="color: #007700">.</span><span style="color: #0000BB">img<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">Xen</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">xen</span><span style="color: #007700">.</span><span style="color: #0000BB">gz</span><span style="color: #007700">-</span><span style="color: #0000BB">4.1.4<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">4.1.4</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen&nbsp;ro&nbsp;root</span><span style="color: #007700">=</span><span style="color: #0000BB">LABE<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">4.1.4</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen</span><span style="color: #007700">.</span><span style="color: #0000BB">img&nbsp;<br /></span></code></div></div></div><br />
<br />
Now reboot your vps/server<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>reboot</blockquote>
<br />
<br />
After rebooting VPS/Server you can verify your Xen Version by running a xm info command or xl info.]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Install Xen Virtualization on CentOS?]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-Install-Xen-Virtualization-on-CentOS</link>
			<pubDate>Fri, 13 May 2011 03:36:11 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=1">DewlanceCTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-Install-Xen-Virtualization-on-CentOS</guid>
			<description><![CDATA[Hello,<br />
<br />
Note: This tutorial is only for CentOS 5.+ and maybe work on other versions.<br />
<br />
<br />
Xen Installation Commands:<br />
<br />
<span style="font-weight: bold;" class="mycode_b">1. Install Virtualization </span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum groupinstall Virtualization</blockquote>
<br />
<br />
2. Edit grub.conf to reflect the correct default Kernel<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano /etc/grub.conf</blockquote>
  <br />
# grub.conf generated by anaconda<br />
#<br />
# Note that you do not have to rerun grub after making changes to this file<br />
# NOTICE:  You have a /boot partition.  This means that<br />
#          all kernel and initrd paths are relative to /boot/, eg.<br />
#          root (hd0,0)<br />
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00<br />
#          initrd /initrd-version.img<br />
#boot=/dev/sda<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #007700">default=</span><span style="color: #0000BB">0<br />timeout</span><span style="color: #007700">=</span><span style="color: #0000BB">1<br />splashimage</span><span style="color: #007700">=(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)/</span><span style="color: #0000BB">grub</span><span style="color: #007700">/</span><span style="color: #0000BB">splash</span><span style="color: #007700">.</span><span style="color: #0000BB">xpm</span><span style="color: #007700">.</span><span style="color: #0000BB">gz<br />hiddenmenu<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">xen</span><span style="color: #007700">.</span><span style="color: #0000BB">gz</span><span style="color: #007700">-</span><span style="color: #0000BB">3.3.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen&nbsp;ro&nbsp;root</span><span style="color: #007700">=/</span><span style="color: #0000BB">dev</span><span style="color: #007700">/</span><span style="color: #0000BB">VolGroup00</span><span style="color: #007700">/</span><span style="color: #0000BB">LogVol00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen</span><span style="color: #007700">.</span><span style="color: #0000BB">img<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5&nbsp;ro&nbsp;root</span><span style="color: #007700">=/</span><span style="color: #0000BB">dev</span><span style="color: #007700">/</span><span style="color: #0000BB">VolGroup00</span><span style="color: #007700">/</span><span style="color: #0000BB">LogVol00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initrd&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5</span><span style="color: #007700">.</span><span style="color: #0000BB">img<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.el5</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.el5&nbsp;ro&nbsp;root</span><span style="color: #007700">=/</span><span style="color: #0000BB">dev</span><span style="color: #007700">/</span><span style="color: #0000BB">VolGroup00</span><span style="color: #007700">/</span><span style="color: #0000BB">LogVol00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initrd&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.el5</span><span style="color: #007700">.</span><span style="color: #0000BB">img&nbsp;<br /></span></code></div></div></div><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Reboot the machine for new XEN kernel to take effect</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>reboot</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">After the reboot check the Kernel to reflect the change</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>uname -r</blockquote>
Result: 2.6.18-53.1.21.el5xen<br />
<br />
<br />
Enjoy <img src="https://www.dewlance.com/forum/images/newsmilies/big-laugh.png" alt="Big Laugh" title="Big Laugh" class="smilie smilie_146" />]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
Note: This tutorial is only for CentOS 5.+ and maybe work on other versions.<br />
<br />
<br />
Xen Installation Commands:<br />
<br />
<span style="font-weight: bold;" class="mycode_b">1. Install Virtualization </span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum groupinstall Virtualization</blockquote>
<br />
<br />
2. Edit grub.conf to reflect the correct default Kernel<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano /etc/grub.conf</blockquote>
  <br />
# grub.conf generated by anaconda<br />
#<br />
# Note that you do not have to rerun grub after making changes to this file<br />
# NOTICE:  You have a /boot partition.  This means that<br />
#          all kernel and initrd paths are relative to /boot/, eg.<br />
#          root (hd0,0)<br />
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00<br />
#          initrd /initrd-version.img<br />
#boot=/dev/sda<br />
<div class="codeblock phpcodeblock"><div class="title">PHP Code:</div><div class="body"><div dir="ltr"><code><span style="color: #007700">default=</span><span style="color: #0000BB">0<br />timeout</span><span style="color: #007700">=</span><span style="color: #0000BB">1<br />splashimage</span><span style="color: #007700">=(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)/</span><span style="color: #0000BB">grub</span><span style="color: #007700">/</span><span style="color: #0000BB">splash</span><span style="color: #007700">.</span><span style="color: #0000BB">xpm</span><span style="color: #007700">.</span><span style="color: #0000BB">gz<br />hiddenmenu<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">xen</span><span style="color: #007700">.</span><span style="color: #0000BB">gz</span><span style="color: #007700">-</span><span style="color: #0000BB">3.3.0<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen&nbsp;ro&nbsp;root</span><span style="color: #007700">=/</span><span style="color: #0000BB">dev</span><span style="color: #007700">/</span><span style="color: #0000BB">VolGroup00</span><span style="color: #007700">/</span><span style="color: #0000BB">LogVol00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5xen</span><span style="color: #007700">.</span><span style="color: #0000BB">img<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5&nbsp;ro&nbsp;root</span><span style="color: #007700">=/</span><span style="color: #0000BB">dev</span><span style="color: #007700">/</span><span style="color: #0000BB">VolGroup00</span><span style="color: #007700">/</span><span style="color: #0000BB">LogVol00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initrd&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.1.10</span><span style="color: #007700">.</span><span style="color: #0000BB">el5</span><span style="color: #007700">.</span><span style="color: #0000BB">img<br />title&nbsp;CentOS&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.el5</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">root&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">hd0</span><span style="color: #007700">,</span><span style="color: #0000BB">0</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">kernel&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">vmlinuz</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.el5&nbsp;ro&nbsp;root</span><span style="color: #007700">=/</span><span style="color: #0000BB">dev</span><span style="color: #007700">/</span><span style="color: #0000BB">VolGroup00</span><span style="color: #007700">/</span><span style="color: #0000BB">LogVol00<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;initrd&nbsp;</span><span style="color: #007700">/</span><span style="color: #0000BB">initrd</span><span style="color: #007700">-</span><span style="color: #0000BB">2.6.18</span><span style="color: #007700">-</span><span style="color: #0000BB">92.el5</span><span style="color: #007700">.</span><span style="color: #0000BB">img&nbsp;<br /></span></code></div></div></div><br />
<br />
<span style="font-weight: bold;" class="mycode_b">Reboot the machine for new XEN kernel to take effect</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>reboot</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">After the reboot check the Kernel to reflect the change</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>uname -r</blockquote>
Result: 2.6.18-53.1.21.el5xen<br />
<br />
<br />
Enjoy <img src="https://www.dewlance.com/forum/images/newsmilies/big-laugh.png" alt="Big Laugh" title="Big Laugh" class="smilie smilie_146" />]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to Install Firefox by SSH Command? - CentOS or Ubuntu]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-Install-Firefox-by-SSH-Command-CentOS-or-Ubuntu</link>
			<pubDate>Wed, 27 Apr 2011 14:27:51 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=1">DewlanceCTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-Install-Firefox-by-SSH-Command-CentOS-or-Ubuntu</guid>
			<description><![CDATA[Tutorial: How to install firefox by SSH command.<br />
<br />
Sometimes I can't install firefox through "Add/Remove Software"  so lots of time I install Firefox though SSH on CentOS or Ubuntu.<br />
<br />
<br />
Install Firefox on CentOS by SSH:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum install firefox</blockquote>
If ask for a permission to install then press y<br />
<br />
<br />
On Ubuntu<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>sudo apt-get update</blockquote>
<blockquote class="mycode_quote"><cite>Quote:</cite>sudo apt-get install firefox-3.0</blockquote>
<br />
If last command not work then try this command<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>sudo apt-get install firefox</blockquote>
<br />
<br />
Also you can use this command <br />
<blockquote class="mycode_quote"><cite>Quote:</cite>apt-get install firefox</blockquote>
<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=23" target="_blank" title="">Screenshot_1.png</a> (Size: 36.74 KB / Downloads: 4)
<!-- end: postbit_attachments_attachment -->]]></description>
			<content:encoded><![CDATA[Tutorial: How to install firefox by SSH command.<br />
<br />
Sometimes I can't install firefox through "Add/Remove Software"  so lots of time I install Firefox though SSH on CentOS or Ubuntu.<br />
<br />
<br />
Install Firefox on CentOS by SSH:<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>yum install firefox</blockquote>
If ask for a permission to install then press y<br />
<br />
<br />
On Ubuntu<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>sudo apt-get update</blockquote>
<blockquote class="mycode_quote"><cite>Quote:</cite>sudo apt-get install firefox-3.0</blockquote>
<br />
If last command not work then try this command<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>sudo apt-get install firefox</blockquote>
<br />
<br />
Also you can use this command <br />
<blockquote class="mycode_quote"><cite>Quote:</cite>apt-get install firefox</blockquote>
<br />
<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="PNG Image" border="0" alt=".png" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=23" target="_blank" title="">Screenshot_1.png</a> (Size: 36.74 KB / Downloads: 4)
<!-- end: postbit_attachments_attachment -->]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to secure SSH/SSHD?]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-secure-SSH-SSHD</link>
			<pubDate>Fri, 25 Feb 2011 09:48:50 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=0">DXMP</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-secure-SSH-SSHD</guid>
			<description><![CDATA[Hi,<br />
<br />
I heard that the most common way for a linux machine to be hacked is through SSH/SSHD. How can I secure my SSH using keys?<br />
<br />
]]></description>
			<content:encoded><![CDATA[Hi,<br />
<br />
I heard that the most common way for a linux machine to be hacked is through SSH/SSHD. How can I secure my SSH using keys?<br />
<br />
]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to change root password from ssh command?]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-change-root-password-from-ssh-command</link>
			<pubDate>Thu, 24 Feb 2011 08:14:43 -0500</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=1">DewlanceCTO</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-change-root-password-from-ssh-command</guid>
			<description><![CDATA[If you've a root permission then you can change anyone's account password.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How to change root password from ssh command?</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>passwd root</blockquote>
<br />
<br />
You can change any account's password, <br />
<br />
You can change any user's password, for example If I have a account "admins" then I can change "admins" account password with this command:<br />
<br />
<span style="font-weight: bold;" class="mycode_b">passwd <span style="color: #FF0000;" class="mycode_color">admins</span></span>]]></description>
			<content:encoded><![CDATA[If you've a root permission then you can change anyone's account password.<br />
<br />
<span style="font-weight: bold;" class="mycode_b">How to change root password from ssh command?</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>passwd root</blockquote>
<br />
<br />
You can change any account's password, <br />
<br />
You can change any user's password, for example If I have a account "admins" then I can change "admins" account password with this command:<br />
<br />
<span style="font-weight: bold;" class="mycode_b">passwd <span style="color: #FF0000;" class="mycode_color">admins</span></span>]]></content:encoded>
		</item>
		<item>
			<title><![CDATA[How to login in SSH? and TOP useful SSH Commands]]></title>
			<link>https://www.dewlance.com/forum/Thread-How-to-login-in-SSH-and-TOP-useful-SSH-Commands</link>
			<pubDate>Sat, 31 Jul 2010 23:12:04 -0400</pubDate>
			<dc:creator><![CDATA[<a href="https://www.dewlance.com/forum/member.php?action=profile&uid=0">dewlance</a>]]></dc:creator>
			<guid isPermaLink="false">https://www.dewlance.com/forum/Thread-How-to-login-in-SSH-and-TOP-useful-SSH-Commands</guid>
			<description><![CDATA[Hello,<br />
<br />
First you need to Install SSH Client Software on your PC.<br />
<br />
You can use Open Source Putty<br />
<br />
Download <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank" rel="noopener" class="mycode_url">Putty(Open Source)</a><br />
<br />
Open Putty and then enter your main IP address in "<span style="font-weight: bold;" class="mycode_b">Host Name(or IP Address)</span>"<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=16" target="_blank" title="">putty-config.jpg</a> (Size: 33.85 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
click on "<span style="font-weight: bold;" class="mycode_b">ok</span>"<br />
<br />
<br />
Now Enter your user name and password (Your Default user name is: root)<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=17" target="_blank" title="">putty-login.jpg</a> (Size: 6.83 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
<br />
<br />
If you login successfully then show this type of message in putty "~root@examle"<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=18" target="_blank" title="">putty-logged-in.jpg</a> (Size: 14.08 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Some SSH useful commands:</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">1. Directory Access</span><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cd /YourDirectory</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">2. Delete File/folder</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>rm examplefile.ext</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">Delete file &amp; folders without conformation</span>(be careful)<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>rm -rf ExampleFile</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">Create File:</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>touch Filename.EXT</blockquote>
(.EXT = File Extension Name)<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Edit File:</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano Filename.txt</blockquote>
or<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>pico /home/username/public_html/index.html</blockquote>
 <br />
(edit the index page for the user's website)<br />
or<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>vi /home/username/public_html/index.html</blockquote>
 <br />
(edit the index page for the user's website)<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Change File Permission</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>chmod 775</blockquote>
0 = ---  No permission<br />
1 = --X  Execute only<br />
2 = -W-  Write only<br />
3 = -WX  Write and execute<br />
4 = R--  Read only<br />
5 = R-X  Read and execute<br />
6 = RW-  Read and write<br />
7 = RWX  Read, write and execute<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Change Owner and Group Permission</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>chown username:username Filename</blockquote>
 - ChangeGroup Permission<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>chown username Filename</blockquote>
 - Change Owner Permission<br />
For Example:  chown root:root myfile.txt<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Move File</span><br />
mv oldfilename newfilename<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Download Files from Internet to your VPS</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>wget <a href="http://example.com/filename/file.tar.gz" target="_blank" rel="noopener" class="mycode_url">http://example.com/filename/file.tar.gz</a></blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Extract &amp; Create TAR Files</span><br />
tar -zxvf file.tar.gz: Extracts the file<br />
tar -xvf file.tar: Extracts the file<br />
tar -cf archive.tar contents/ : Takes everything from contents/ and puts it into archive.tar<br />
<br />
<span style="font-weight: bold;" class="mycode_b">shows who logged in and when...</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>last -20</blockquote>
(shows only the last 40 logins)<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>last -40 -a</blockquote>
 <br />
(shows last 40 logins, with the hostname in the last field)<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Currently Loggid in User</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>w</blockquote>
 <br />
(shows who is currently logged in and where they are logged in from)<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>who</blockquote>
 <br />
(This also shows who is on the server in an shell)]]></description>
			<content:encoded><![CDATA[Hello,<br />
<br />
First you need to Install SSH Client Software on your PC.<br />
<br />
You can use Open Source Putty<br />
<br />
Download <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html" target="_blank" rel="noopener" class="mycode_url">Putty(Open Source)</a><br />
<br />
Open Putty and then enter your main IP address in "<span style="font-weight: bold;" class="mycode_b">Host Name(or IP Address)</span>"<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=16" target="_blank" title="">putty-config.jpg</a> (Size: 33.85 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
click on "<span style="font-weight: bold;" class="mycode_b">ok</span>"<br />
<br />
<br />
Now Enter your user name and password (Your Default user name is: root)<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=17" target="_blank" title="">putty-login.jpg</a> (Size: 6.83 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
<br />
<br />
If you login successfully then show this type of message in putty "~root@examle"<br />
<!-- start: postbit_attachments_attachment -->
<br /><!-- start: attachment_icon -->
<img src="https://www.dewlance.com/forum/images/attachtypes/image.gif" title="JPG Image" border="0" alt=".jpg" />
<!-- end: attachment_icon -->&nbsp;&nbsp;<a href="attachment.php?aid=18" target="_blank" title="">putty-logged-in.jpg</a> (Size: 14.08 KB / Downloads: 0)
<!-- end: postbit_attachments_attachment --><br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Some SSH useful commands:</span><br />
<br />
<span style="font-weight: bold;" class="mycode_b">1. Directory Access</span><br />
<div class="codeblock"><div class="title">Code:</div><div class="body" dir="ltr"><code>cd /YourDirectory</code></div></div><br />
<span style="font-weight: bold;" class="mycode_b">2. Delete File/folder</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>rm examplefile.ext</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">Delete file &amp; folders without conformation</span>(be careful)<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>rm -rf ExampleFile</blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b">Create File:</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>touch Filename.EXT</blockquote>
(.EXT = File Extension Name)<br />
<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Edit File:</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>nano Filename.txt</blockquote>
or<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>pico /home/username/public_html/index.html</blockquote>
 <br />
(edit the index page for the user's website)<br />
or<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>vi /home/username/public_html/index.html</blockquote>
 <br />
(edit the index page for the user's website)<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Change File Permission</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>chmod 775</blockquote>
0 = ---  No permission<br />
1 = --X  Execute only<br />
2 = -W-  Write only<br />
3 = -WX  Write and execute<br />
4 = R--  Read only<br />
5 = R-X  Read and execute<br />
6 = RW-  Read and write<br />
7 = RWX  Read, write and execute<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Change Owner and Group Permission</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>chown username:username Filename</blockquote>
 - ChangeGroup Permission<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>chown username Filename</blockquote>
 - Change Owner Permission<br />
For Example:  chown root:root myfile.txt<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Move File</span><br />
mv oldfilename newfilename<br />
<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Download Files from Internet to your VPS</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>wget <a href="http://example.com/filename/file.tar.gz" target="_blank" rel="noopener" class="mycode_url">http://example.com/filename/file.tar.gz</a></blockquote>
<br />
<span style="font-weight: bold;" class="mycode_b"><br />
Extract &amp; Create TAR Files</span><br />
tar -zxvf file.tar.gz: Extracts the file<br />
tar -xvf file.tar: Extracts the file<br />
tar -cf archive.tar contents/ : Takes everything from contents/ and puts it into archive.tar<br />
<br />
<span style="font-weight: bold;" class="mycode_b">shows who logged in and when...</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>last -20</blockquote>
(shows only the last 40 logins)<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>last -40 -a</blockquote>
 <br />
(shows last 40 logins, with the hostname in the last field)<br />
<br />
<span style="font-weight: bold;" class="mycode_b">Currently Loggid in User</span><br />
<blockquote class="mycode_quote"><cite>Quote:</cite>w</blockquote>
 <br />
(shows who is currently logged in and where they are logged in from)<br />
<br />
<blockquote class="mycode_quote"><cite>Quote:</cite>who</blockquote>
 <br />
(This also shows who is on the server in an shell)]]></content:encoded>
		</item>
	</channel>
</rss>