<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Web Hosting &#187; Linux hosting</title>
	<atom:link href="http://artse.com/category/linux-hosting/feed" rel="self" type="application/rss+xml" />
	<link>http://artse.com</link>
	<description>cPanel Hosting, Website Hosting, Hosting Tutorial, Hosting Tools</description>
	<lastBuildDate>Thu, 24 Sep 2009 03:21:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Data Recovery from Crashed Disk</title>
		<link>http://artse.com/linux-hosting/data-recovery-from-crashed-disk</link>
		<comments>http://artse.com/linux-hosting/data-recovery-from-crashed-disk#comments</comments>
		<pubDate>Mon, 12 May 2008 09:12:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux hosting]]></category>

		<guid isPermaLink="false">http://artse.com/?p=25</guid>
		<description><![CDATA[ If you use Linux based Operating system and your disk is crashed,  you can retrieve data from ddrescue commands in following easy steps.
Ddrescue: Ddrescue  is data recovery tool that copy data from one file or block device (hard disc, cdrom etc) and help out you to save data from crashed partition. It has decent [...]]]></description>
			<content:encoded><![CDATA[<p> If you use Linux based Operating system and your disk is crashed,  you can retrieve data from ddrescue commands in following easy steps.</p>
<p><strong>Ddrescue</strong>: Ddrescue  is data recovery tool that copy data from one file or block device (hard disc, cdrom etc) and help out you to save data from crashed partition. It has decent ability to read the data and if it fails it will go on with the next possible sectors, where tools like dd will fail. If the copying process is interrupted by the user it is possible to continue at any position later. It can copy backwards too.</p>
<p>Install first the dd_rescue or ddrescue</p>
<p>If you are using RedHat/Fedora Core Linux, type the following command:</p>
<p># yum -y install ddrescue</p>
<p>If you are using Debian Linux:# apt-get install ddrescue<br />
Or directly download ddrescue from official GNU Web site. http://www.gnu.org/software/ddrescue/ddrescue.html</p>
<p>Make sure that Debian install ddrescue binary as /bin/dd_rescue and other distribution as /usr/bin/ddrescue</p>
<p>To make exact copy of /dev/sda (damaged) to /dev/sdb (make sure sdb is empty) you need to type following command:</p>
<p># ddrescue /dev/hda /dev/hdb</p>
<p>Your further step is to run fsck on /dev/sdb partition to recover/save data. Remember do not touch originally damaged /dev/sda. If this procedure fails you can send your disk to professional data recovery service. For example if /home (user data) is on /dev/sda2, you need to run a command on /dev/sdb2:<br />
# fsck /dev/sdb2<br />
Once fsck run, mount /dev/sdb2 somewhere and see if you can access data:<br />
# mount /dev/sdb2 /mnt/data<br />
Now it is time to take backup using tar command.<br />
ddrescue command supports many options. Just to remind you, Don’t forget to read man page:<br />
# man ddrescue OR # man dd_rescue</p>
]]></content:encoded>
			<wfw:commentRss>http://artse.com/linux-hosting/data-recovery-from-crashed-disk/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Network Defination</title>
		<link>http://artse.com/linux-hosting/network-defination</link>
		<comments>http://artse.com/linux-hosting/network-defination#comments</comments>
		<pubDate>Tue, 29 Apr 2008 11:35:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux hosting]]></category>

		<guid isPermaLink="false">http://artse.com/?p=29</guid>
		<description><![CDATA[Here are the different networks which are generally used for networking through linux machine;
* IPv4:  Internet Protocol version 4 (IPv4) is widely used by most of the Internet servers and personal computers. This uses 32 bits to assign a network address as defined by the four octets of an IP address up to 255.255.255.255. Which [...]]]></description>
			<content:encoded><![CDATA[<p>Here are the different networks which are generally used for networking through linux machine;</p>
<p>* IPv4:  Internet Protocol version 4 (IPv4) is widely used by most of the Internet servers and personal computers. This uses 32 bits to assign a network address as defined by the four octets of an IP address up to 255.255.255.255. Which is the representation of four 8 bit numbers thus totaling 32 bits.</p>
<p>* IPv6: Internet Protocol version 6 (IPv6) uses a 128 bit address and thus billions of potential addresses. The protocol regularly upgraded to include new quality of service features and security. Linux supports both IPv6 but IPv4.</p>
<p>* TCP/IP: (Transmission Control Protocol/Internet Protocol) uses a client &#8211; server model for communications. The protocol defines the data packets transmitted, re-transmission. data integrity verification (error detection bytes), connection and acknowledgement protocol.</p>
<p>* TCP/IP time to live (TTL): This is a counting system to determine how long a packet is valid before it reaches its destination. Each time a TCP/IP packet passes through a router it will decrease its TTL count. After the count reaches zero the packet is dropped by the router. This ensures that delinquent routing and looping aimless packets will not flood the network.</p>
<p>* MAC Address: (media access control) is the network card address used for communication between other network devices on the subnet. This info is not routable. The ARP table maps TCP/IP address (global internet) to the local hardware on the local network. Use the command /sbin/ifconfig to view both the IP address and the MAC address. The MAC address distinctively recognizes each node of a network and is used by the Ethernet protocol.</p>
<p>* OSI 7 Layer Model: The ISO (International Standards Organization) has defined the OSI (Open Systems Interconnection) model for current networking protocols.</p>
<p>* Full Duplex:  Full Duplex allow sending and receiving of packets instantaneously. Most modern modems support full duplex.</p>
<p>* Half Duplex: Allows the sending and receiving of packets in one direction at a time only.</p>
]]></content:encoded>
			<wfw:commentRss>http://artse.com/linux-hosting/network-defination/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Install Shoutcast on Linux</title>
		<link>http://artse.com/linux-hosting/install-shoutcast-on-linux</link>
		<comments>http://artse.com/linux-hosting/install-shoutcast-on-linux#comments</comments>
		<pubDate>Wed, 12 Mar 2008 12:40:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux hosting]]></category>

		<guid isPermaLink="false">http://artse.com/?p=18</guid>
		<description><![CDATA[SHOUTcast is a multi platform streaming audio system developed by Nullsoft which allows audio content, primarily in MP3 or HE-AAC format, to be broadcast through web radio, it blend together the audio data with metadata such as song titles and the station name.
SHOUTcast consists of a client-server model, however you should not run it as [...]]]></description>
			<content:encoded><![CDATA[<p>SHOUTcast is a multi platform streaming audio system developed by Nullsoft which allows audio content, primarily in MP3 or HE-AAC format, to be broadcast through web radio, it blend together the audio data with metadata such as song titles and the station name.</p>
<p>SHOUTcast consists of a client-server model, however you should not run it as root because it can prone to security issue, instead you should create a shoutcast user:</p>
<p>How do we install shoutcast?</p>
<p>1.) Login to root through SSH on the server.<br />
2.) adduser shoutcast<br />
3.) passwd shoutcast<br />
Login as the new shoutcast user, or you can su to the user.</p>
<p>su shoutcast</p>
<p>Download shoutcast from nullsoft:<br />
1.  http://www.shoutcast.com/downloads/sc1-9-2/shoutcast-1-9-2-linux-glibc6.tar.gz<br />
Lets extract shoutcast:<br />
2.  tar -zxvf shoutcast-1-9-2-linux-glibc6.tar.gz<br />
Lets tidy up the directory:<br />
3.  rm -rf shoutcast-1-9-2-linux-glibc6.tar.gz<br />
mv shoutcast-1-9-2-linux-glibc6 shoutcast<br />
cd shoutcast<br />
Shoutcast has now been installed!</p>
<p>configure shoutcast on following step;</p>
<p>Now edit the configuration file.<br />
pico sc_serv.conf<br />
or you can use vi which I prefer, a bit more advanced to use.<br />
vi sc_serv.conf<br />
You can set some important configureation options. Change these settings in the file:<br />
MaxUser<br />
Password<br />
PortBase<br />
uncomment AdminPassword and set an admin password.</p>
<p>Now going through the settings, you can change them to what you want or you can save and start shoutcast and it will work now.<br />
to save crtl+x (if using pico) or :wq if using vi<br />
Now you can start shoutcast here;</p>
<p>./sc_serv sc_serv.conf</p>
]]></content:encoded>
			<wfw:commentRss>http://artse.com/linux-hosting/install-shoutcast-on-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Transfer Data using Command rsync</title>
		<link>http://artse.com/linux-hosting/using-command-rsync-to-transfer-data</link>
		<comments>http://artse.com/linux-hosting/using-command-rsync-to-transfer-data#comments</comments>
		<pubDate>Tue, 26 Feb 2008 08:43:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux hosting]]></category>

		<guid isPermaLink="false">http://artse.com/?p=4</guid>
		<description><![CDATA[What is rsync?
rsync is a software application for Unix systems which synchronizes files and directories from one location to another and at the same time minimize  data transfer using delta encoding when pertinent.
How to transfer data with rsync;
To take back up or transfer data of one or more folder here is the guideline by [...]]]></description>
			<content:encoded><![CDATA[<p>What is rsync?<br />
rsync is a software application for Unix systems which synchronizes files and directories from one location to another and at the same time minimize  data transfer using delta encoding when pertinent.</p>
<p>How to transfer data with rsync;</p>
<p>To take back up or transfer data of one or more folder here is the guideline by which you can do it using command rsync. A folder of which you want to take back up is called as source directory and folder where you are taking the backup is called as destination folder.<br />
Let&#8217;s assume that you have two folders. First one is backup_source and another is backup_destination.<br />
backup_source is a folder of which you have to take backup into folder backup_destination.<br />
run the simple command to accomplish the task.<br />
rsync -ave backup_source/ backup_destination/<br />
This is simple way from which you can take backup.<br />
Now let us understand the options use in command<br />
1)-a, –archive archive mode; same as -rlptgoD (no -H)<br />
Instead of using several options like -rlptgoD, you can use just a option which is equivalent to the said options.<br />
-r, –recursive recurse into directories<br />
-l, –links copy symlinks as symlinks<br />
-p, –perms preserve permissions<br />
-t, –times preserve times<br />
-g, –group preserve group<br />
-o, –owner preserve owner (super-user only)<br />
-D same as –devices –specials<br />
2)-v, –verbose increase verbosity<br />
3)-e, –rsh=COMMAND specify the remote shell to use</p>
<p>Use the following command especially if you want to take backup from another machine over secure shell.<br />
rsync -ave ssh username@anothermachine/backup_source/ backup_destination</p>
]]></content:encoded>
			<wfw:commentRss>http://artse.com/linux-hosting/using-command-rsync-to-transfer-data/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
