<?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>ittutorial.net</title>
	<atom:link href="http://www.ittutorial.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ittutorial.net</link>
	<description>IT Tutorial</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:00:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>How To Change SSH Default Port</title>
		<link>http://www.ittutorial.net/how-to-change-ssh-default-port/</link>
		<comments>http://www.ittutorial.net/how-to-change-ssh-default-port/#comments</comments>
		<pubDate>Thu, 26 Jan 2012 15:44:17 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[SSH]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=390</guid>
		<description><![CDATA[Here we will change the ssh default port from 22 TCP to 3310 TCP. For SSH port change kindly login into your server, as root user via putty or console. After that edit /etc/ssh/sshd_config #vi /etc/ssh/sshd_config ######Look for the following line: #Port 22 ######Change the port to Port 3210 #### Save sshd_config file with this [...]]]></description>
			<content:encoded><![CDATA[<p>Here we will change the ssh default port from 22 TCP to 3310 TCP. For SSH port change kindly login into your server, as root user via putty or console.<br />
After that edit /etc/ssh/sshd_config</p>
<pre name="code" class="c">
#vi /etc/ssh/sshd_config
######Look for the following line:
#Port 22
######Change the port to
Port 3210
#### Save sshd_config file with this command
:wq!</pre>
<p>Restart SSH services with this command</p>
<pre name="code" class="c">#service sshd restart
or
#/etc/init.d/sshd restart</pre>
<p>Try to connect to your server via putty, but you need to change the ssh default port to 3310.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/how-to-change-ssh-default-port/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Find a Hidden Process and Port in Linux Operating System</title>
		<link>http://www.ittutorial.net/how-to-find-a-hidden-process-and-port-in-linux-operating-system/</link>
		<comments>http://www.ittutorial.net/how-to-find-a-hidden-process-and-port-in-linux-operating-system/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 17:43:05 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Hidden Process and Port in Linux]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Operating System]]></category>
		<category><![CDATA[Operating System]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=386</guid>
		<description><![CDATA[There are a lot of tools that can be used to check the hidden process and port; the tools are rootkits, lkms, unhide etc. In this tutorial a tool name as UNHIDE will be used for this purpose. Unhide is basically used to find hidden processes and TCP/UDP ports by rootkits / LKMs or by [...]]]></description>
			<content:encoded><![CDATA[<p>There are a lot of tools that can be used to check the hidden process and port; the tools are rootkits, lkms, unhide etc. In this tutorial a tool name as UNHIDE will be used for this purpose.<br />
Unhide is basically used to find hidden processes and TCP/UDP ports by rootkits / LKMs or by another hidden technique. This tools works under both Linux / Unix, and MS-Windows operating systems.</p>
<p>It detects hidden processes by using three techniques:</p>
<ul>
<li>The proc technique consists of comparing /proc with the output of /bin/ps.<br />
The sys technique consists of comparing information gathered from /bin/ps with information gathered from system calls.</li>
<li>The brute technique consists of bruteforcing the all process IDs. This technique is only available on Linux 2.6 kernels.</li>
<li>Most rootkits use the power of the kernel to hide themselves, they are only visible from within the kernel. You can use unhide or tool such as rkhunter to scan for rootkits, backdoors and possible local exploits.</li>
</ul>
<h6><strong>Install UNHIDE</strong></h6>
<p>If you are using ubuntu / debian linux you can enter this command below:</p>
<pre class="c" name="code">#apt-get install unhide</pre>
<p>If you are using FreeBSD / unix you can install it using this command below :</p>
<pre class="c" name="code">#cd /usr/ports/security/unhide
#make install clean</pre>
<p><strong><strong></strong></strong></p>
<h6><strong><strong>How to use UNHIDE</strong></strong></h6>
<p>unhide-tcp is a tool that identifies TCP/UDP ports that are listening but are not listed in /bin/netstat through brute forcing of all TCP/UDP ports available.</p>
<p>You can use it as follows:</p>
<pre class="c" name="code"># unhide-posix proc
# unhide-posix sys
OR
# unhide-linux26 proc
# unhide-linux26 sys
# unhide-linux26 brute</pre>
<p><strong></strong></p>
<h6>Sample outputs:</h6>
<pre class="c" name="code">Unhide 20100201
<a title="http://www.security-projects.com/?Unhide" href="http://www.security-projects.com/?Unhide">http://www.security-projects.com/?Unhide</a>
[*]Searching for Hidden processes through kill(..,0) scanning
[*]Searching for Hidden processes through  comparison of results of system calls
[*]Searching for Hidden processes through getpriority() scanning
[*]Searching for Hidden processes through getpgid() scanning
[*]Searching for Hidden processes through getsid() scanning
[*]Searching for Hidden processes through sched_getaffinity() scanning
[*]Searching for Hidden processes through sched_getparam() scanning
[*]Searching for Hidden processes through sched_getscheduler() scanning
[*]Searching for Hidden processes through sched_rr_get_interval() scanning
[*]Searching for Hidden processes through sysinfo() scanning
HIDDEN Processes Found: 1</pre>
<p><strong><strong></strong></strong></p>
<p><strong><strong>If you found something interesting:</strong></strong></p>
<pre class="c" name="code"># unhide-tcp</pre>
<p>Sample outputs:</p>
<pre class="c" name="code">Unhide 20100201
<a title="http://www.security-projects.com/?Unhide" href="http://www.security-projects.com/?Unhide">http://www.security-projects.com/?Unhide</a>
Starting TCP checking
Found Hidden port that not appears in netstat: 1048
Found Hidden port that not appears in netstat: 1049
Found Hidden port that not appears in netstat: 1050
Starting UDP checking</pre>
<p><strong>The netstat -tulpn or ss commands displayed nothing about the hidden TCP ports # 1048, 1049, and 1050:</strong></p>
<pre class="c" name="code"># netstat -tulpn | grep 1048
# ss -lp
# ss -l | grep 1048</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/how-to-find-a-hidden-process-and-port-in-linux-operating-system/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Disable Linux ExecShield Buffer Overflows Protection</title>
		<link>http://www.ittutorial.net/how-to-disable-linux-execshield-buffer-overflows-protection/</link>
		<comments>http://www.ittutorial.net/how-to-disable-linux-execshield-buffer-overflows-protection/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 17:18:06 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[Buffer Overflow]]></category>
		<category><![CDATA[ExecShield]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Protection]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=380</guid>
		<description><![CDATA[The first step is to know what Exec Shield is. Exec Shield is a patch for Linux kernel security. It helps to avoid from worms and other problems. This project was started at Red Hat, Inc in late 2002 with the aim of reducing the risk of worm or other automated remote attacks on Linux [...]]]></description>
			<content:encoded><![CDATA[<p>The first step is to know what Exec Shield is. Exec Shield is a patch for Linux kernel security. It helps to avoid from worms and other problems. This project was started at Red Hat, Inc in late 2002 with the aim of reducing the risk of worm or other automated remote attacks on Linux systems. The first result of the project was a security patch for the Linux kernel that adds an NX bit to x86 CPUs. While the Exec Shield project has had many other components, some people refer to this first patch as Exec Shield.</p>
<h6>Disable Exec Shield protection</h6>
<p>Login as root<br />
Type the following command below :</p>
<pre class="c" name="code"># sysctl -w kernel.exec-shield=0</pre>
<p>You can disable it permanently by adding following line to /etc/sysctl.conf file:</p>
<pre class="c" name="code"># vi /etc/sysctl.conf
kernel.exec-shield=0</pre>
<p>Save and close the file. <strong></strong></p>
<p><strong>Note :</strong><br />
Exec Shield disabling is not recommended one.</p>
<h6>Exec Shield protection can also simply disabled via GRUB loader</h6>
<p>Add up following lines in grub.conf</p>
<pre class="c" name="code"># vi /etc/grub.conf
Modify / append exec-shield=0 parameter as follows:
kernel /vmlinuz-2.6.8 ro root=LABEL=/ exec-shield=0</pre>
<p>Close and save the file.</p>
<h6>Enable ExecShield Protection Against Buffer Overflows<br />
<strong></strong></h6>
<p>&nbsp;</p>
<p>Open your /etc/sysctl.conf file:<strong><br />
</strong># </p>
<pre class="c" name="code">vi /etc/sysctl.conf</pre>
<p>#### Add the following lines:</p>
<pre class="c" name="code">kernel.exec-shield = 1
kernel.randomize_va_space = 1</pre>
<p>Save and close the file.<br />
The First line will enable ExecShield protection and second line will enable random placement of virtual memory regions protection.</p>
<p><strong>To load sysctl without reboot enter the command given below:<br />
</strong></p>
<pre class="c" name="code"># sysctl -p</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/how-to-disable-linux-execshield-buffer-overflows-protection/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Enable Telnet Client in Windows 7</title>
		<link>http://www.ittutorial.net/how-to-enable-telnet-client-in-windows-7/</link>
		<comments>http://www.ittutorial.net/how-to-enable-telnet-client-in-windows-7/#comments</comments>
		<pubDate>Mon, 26 Dec 2011 14:16:57 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=368</guid>
		<description><![CDATA[what is Telnet ? Telnet is an abbreviation of Telecommunication Network, which is an old network protocol. This protocol is used for remote host connection. It provides a two way interactive command / console line interface. By default telnet is not enabled in windows. Telnet command will produce an error that telnet is not recognized [...]]]></description>
			<content:encoded><![CDATA[<h6>what is Telnet ?</h6>
<p><strong>Telnet</strong> is an abbreviation of Telecommunication Network, which is an old network protocol. This protocol is used for remote host connection. It provides a two way interactive command / console line interface.<br />
By default telnet is not enabled in windows. Telnet command will produce an error that telnet is not recognized as an internal or external command.</p>
<p>Click <strong><em>Start Menu</em></strong>, type “<strong>cmd”</strong> in the search box, right-click <strong><em>cmd </em></strong>command. And choose <strong><em>Run as administrator</em></strong> from the context menu.</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/start_program.png"><img class="size-medium wp-image-369 aligncenter" title="start_program" src="http://www.ittutorial.net/wp-content/uploads/2011/12/start_program-238x300.png" alt="" width="238" height="300" /></a>You will see a command line console then<br />
Type <em>Telnet</em></p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/cmd.jpg"><img class="size-medium wp-image-370 aligncenter" title="cmd" src="http://www.ittutorial.net/wp-content/uploads/2011/12/cmd-300x65.jpg" alt="" width="300" height="65" /></a></p>
<p>Login into your Windows 7 with administrator access<br />
Click Start &gt;&gt; Control Panel &gt;&gt; Programs &gt;&gt; Programs and Features &gt;&gt; Turn Windows Features On or Off &gt;&gt; Check Telnet client &gt;&gt; Press &#8220;Enter&#8221;</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/telnet.jpg"><img class="size-medium wp-image-372 aligncenter" title="telnet" src="http://www.ittutorial.net/wp-content/uploads/2011/12/telnet-300x260.jpg" alt="" width="300" height="260" /></a></p>
<p>After you have Click OK button.<br />
Then verify rather telnet is working or not.</p>
<p>You will see a result as shown below.</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/cmd2.jpg"><img class="size-medium wp-image-373 aligncenter" title="cmd2" src="http://www.ittutorial.net/wp-content/uploads/2011/12/cmd2-300x65.jpg" alt="" width="300" height="65" /></a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/how-to-enable-telnet-client-in-windows-7/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>WordPress MU Installation</title>
		<link>http://www.ittutorial.net/wordpress-mu-installation/</link>
		<comments>http://www.ittutorial.net/wordpress-mu-installation/#comments</comments>
		<pubDate>Tue, 20 Dec 2011 08:11:08 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=359</guid>
		<description><![CDATA[WordPress MU is basically a multi user wordpress, where u can host group of blogs. The prerequisites for WordPress MU installation are mysql db,user and password. For example ; db : wpmu user : wpmu pass : wpmupass Download WordPress MU http://mu.wordpress.org/download/ Extract all files into desired folder ex: http://www.yourdomain.com/blogs/ Begin installation Point your browser [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress MU is basically a multi user wordpress, where u can host group of blogs.<br />
The prerequisites for WordPress MU installation are mysql db,user and password.<br />
For example ;</p>
<p>db : wpmu<br />
user : wpmu<br />
pass : wpmupass</p>
<h6>Download WordPress MU</h6>
<p><a href="http://mu.wordpress.org/download/">http://mu.wordpress.org/download/</a> Extract all files into desired folder</p>
<p>ex: http://www.yourdomain.com/blogs/</p>
<h6>Begin installation</h6>
<p>Point your browser to whichever directory you extracted your files to (ex: http://www.yourdomain.com/blogs/). The index.php file will load automatically “Installing WordPress µ” screen. You required ti fill some forms before proceeding.</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/wpmuinstall.png"><img class="size-medium wp-image-360 aligncenter" title="wp_mu_install" src="http://www.ittutorial.net/wp-content/uploads/2011/12/wpmuinstall-300x206.png" alt="" width="300" height="206" /></a></p>
<h6>change permissions</h6>
<p>Delete .htaccess or move .htaccess to .htaccess-bak. change permissions on the public_html and wp-content directories. If you’re using FileZilla for FireFTP or similar, just right click on the folders and check all the boxes to change to 777</p>
<h6>subdomains or subdirectories</h6>
<p>Select whether you want the blog addresses for the install to be subdomains or subdirectories.</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/wildcard.jpg"><img class="size-medium wp-image-361 aligncenter" title="subdomains " src="http://www.ittutorial.net/wp-content/uploads/2011/12/wildcard-300x34.jpg" alt="" width="300" height="34" /></a></p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/subdirectory.jpg"><img class="size-medium wp-image-362 aligncenter" title="subdirectory" src="http://www.ittutorial.net/wp-content/uploads/2011/12/subdirectory-300x30.jpg" alt="" width="300" height="30" /></a></p>
<h6>Database details required WordPress MU installation</h6>
<p>Fill in your database name, username, and database password, as requested.</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/dbdetails.png"><img class="size-medium wp-image-363 aligncenter" title="dbdetails" src="http://www.ittutorial.net/wp-content/uploads/2011/12/dbdetails-300x293.png" alt="" width="300" height="293" /></a></p>
<h6>installation finished</h6>
<p>If all goes well, you should see this happy screen reminding you to reset your directory permissions to 755.</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/success.png"><img class="size-medium wp-image-364 aligncenter" title="success" src="http://www.ittutorial.net/wp-content/uploads/2011/12/success-300x119.png" alt="" width="300" height="119" /></a></p>
<h6>Copy the password</h6>
<p>Copy the password it generates for you and login. Immediately change your password to something better that you’ll remember.</p>
<h6>Default Display</h6>
<p>You’re finished! Your site should be fully installed now. It will display the default theme and will look something like this</p>
<p><a href="http://www.ittutorial.net/wp-content/uploads/2011/12/defaultdesign.png"><img class="size-medium wp-image-365 aligncenter" title="defaultdesign" src="http://www.ittutorial.net/wp-content/uploads/2011/12/defaultdesign-300x118.png" alt="" width="300" height="118" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/wordpress-mu-installation/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>WordPress Fatal error solution</title>
		<link>http://www.ittutorial.net/wordpress-fatal-error-solution/</link>
		<comments>http://www.ittutorial.net/wordpress-fatal-error-solution/#comments</comments>
		<pubDate>Sun, 18 Dec 2011 06:23:29 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=352</guid>
		<description><![CDATA[After installation of wordpress on my server, when I try to access it from my web browser it shows error as shown below ; Fatal error: Cannot unset string offsets in /home/test/www/wordpress/wp-includes/widgets.php on line 362 After googling more deeper. I found that it is required to turn off magic_quotes_gpc and magic_quotes_runtime. let open your php.ini [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">After installation of wordpress on my server, when I try to access it from my web browser</p>
<h6 style="text-align: justify;">it shows error as shown below ;</h6>
<pre class="c" name="code">Fatal error: Cannot unset string offsets in /home/test/www/wordpress/wp-includes/widgets.php on line 362</pre>
<p style="text-align: justify;">After googling more deeper. I found that it is required to turn off magic_quotes_gpc and magic_quotes_runtime.</p>
<h6 style="text-align: justify;">let open your php.ini and set these lines as shown below :</h6>
<pre class="c" name="code">Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off

Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off</pre>
<p>restart you apache / webserver.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/wordpress-fatal-error-solution/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress 3.3 Visual Editor problem</title>
		<link>http://www.ittutorial.net/wordpress-3-3-visual-editor-problem/</link>
		<comments>http://www.ittutorial.net/wordpress-3-3-visual-editor-problem/#comments</comments>
		<pubDate>Sat, 17 Dec 2011 04:25:43 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=345</guid>
		<description><![CDATA[In some cases after updating word press up to version 3.3. Its visual editor show some problems like toolbar disappearance. This problem can be resolved by this method. disabled all your plugins [optional] reinstall your wordpress [ optional] edit wp-config.php The solution is very simple, we just have a need to add 1 line into [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">In some cases after updating word press up to version 3.3. Its visual editor show some problems like toolbar disappearance.</p>
<p style="text-align: justify;">This problem can be resolved by this method.</p>
<ul style="text-align: justify;">
<li>disabled all your plugins [optional]</li>
<li>reinstall your wordpress [ optional]</li>
<li>edit wp-config.php</li>
</ul>
<p style="text-align: justify;">The solution is very simple, we just have a need to add 1 line into wp-config.php like below.</p>
<p style="text-align: justify;">Log in through putty and open file this command</p>
<pre class="c" name="code">$vi /home/testing/public_html/wp-config.php

### add 1 line below ####

define( ‘CONCATENATE_SCRIPTS’, false );

### save wp-config.php ###</pre>
<p style="text-align: justify;">Try to refresh your wordpress site. This will fix your wordpress visual toolbar.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/wordpress-3-3-visual-editor-problem/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Remove USB Device MBR</title>
		<link>http://www.ittutorial.net/how-to-remove-usb-device-mbr/</link>
		<comments>http://www.ittutorial.net/how-to-remove-usb-device-mbr/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 09:50:59 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=339</guid>
		<description><![CDATA[In this tutorial we will discuss how MBR is remove in Linux for USB device. What is MBR ? MBR is the abbreviation of master boot recorded. In M-DOS environtment we can just simply type fdisk/mbr command but this is different, in LINUX/ UNIX please follow this step below : Login into server and type [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial we will discuss how MBR is remove in Linux for USB device.</p>
<p><strong>What is MBR ?</strong><br />
MBR is the abbreviation of master boot recorded.</p>
<p>In M-DOS environtment we can just simply type fdisk/mbr command<br />
but this is different, in LINUX/ UNIX please follow this step below :</p>
<p>Login into server and type command below</p>
<pre class="c" name="code">[code]$dd if=/dev/zero of=/dev/sdc bs=512 count=1[/code]</pre>
<p>The output will be like below</p>
<pre class="c" name="code">1+0 records in
1+0 records out
512 bytes (512 B) copied, 0.00308483 s, 166 kB/s</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/how-to-remove-usb-device-mbr/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Mount To NTFS Windows Partition in CentOS</title>
		<link>http://www.ittutorial.net/how-to-mount-to-ntfs-windows-partition-in-centos/</link>
		<comments>http://www.ittutorial.net/how-to-mount-to-ntfs-windows-partition-in-centos/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 09:19:36 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=326</guid>
		<description><![CDATA[In this tutorial it will be elaborated that how to mount ntfs partition or enable NTFS support in CentOS5and 6 . Preparing and Installing EPEL repository Login as root into the server #cd /root #wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noa... #rpm -ivh epel-release-6-5.noarch.rpm What is NTFS-3g ? NTFS-3G is a opensource GPL Licensed, POSIX, read and write NTFS driver [...]]]></description>
			<content:encoded><![CDATA[<p>In this tutorial it will be elaborated that how to mount ntfs partition or enable NTFS support in CentOS5and 6 .</p>
<p><strong>Preparing and Installing EPEL repository</strong></p>
<p>Login as root into the server</p>
<pre class="c" name="code">#cd /root
#wget http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-5.noa...
#rpm -ivh epel-release-6-5.noarch.rpm</pre>
<p><strong>What is NTFS-3g ?</strong></p>
<p>NTFS-3G is a opensource GPL Licensed, POSIX, read and write NTFS driver for linux.<br />
It Provides a very safe handling of the windows XP, 2003 and all other windows variants NTFS file systems.</p>
<p>NTFS-3G also can help you create, remove, rename, moved directories, hard links, streams etc.<br />
it&#8217;s handle a special files like symbolic links, devices and FIFOs, ACL, extended attributes.</p>
<p><strong>Install NTFS-3G</strong></p>
<p>Still with root access<br />
type the command below to install it</p>
<pre class="c" name="code">#yum install ntfs-3g</pre>
<p>You will see an output like below</p>
<pre class="c" name="code">============= Quote From Linux Console ===========================
#yum install ntfs-3g
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
Setting up Install Process
Resolving Dependencies
--&gt; Running transaction check
---&gt; Package ntfs-3g.x86_64 2:2011.4.12-3.el6 will be installed
--&gt; Finished Dependency Resolution

Dependencies Resolved

===============================================================================
Package         Arch           Version                     Repository    Size
===============================================================================
Installing:
ntfs-3g         x86_64         2:2011.4.12-3.el6           epel         247 k

Transaction Summary
===============================================================================
Install       1 Package(s)

Total download size: 247 k
Installed size: 624 k
Is this ok [y/N]:Y

================== END ==================================</pre>
<p>Next We need to Find out the NTFS Partition Name</p>
<p><strong>Find NTFS Partitions Name</strong></p>
<p>We can simply type the command below :</p>
<pre class="c" name="code">#fdisk -l /dev/sda
#fdisk -l /dev/sdb</pre>
<p>You will see an output like below</p>
<pre class="c" name="code">=========== Quote From Linux Console =============

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf0000000

Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      102400    7  HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2              14       60802   488281089    5  Extended
/dev/sda5              14       59767   479970304   83  Linux
/dev/sda6           59767       60802     8309760   82  Linux swap / Solaris
================ END ======================</pre>
<p>From the output above you can see /dev/sda1 with filesystem HPFS/NTFS<br />
Next, We need to mount the NTFS Partition in /mnt/ntfs</p>
<p><strong>Mount Partition in /mnt/ntfs</strong></p>
<p>First we need to load the fuse driver<br />
type the following command below to load the driver</p>
<p><strong>Load fuse Driver</strong></p>
<pre class="c" name="code">#modprobe fuse</pre>
<p><strong>Create a mount point directory </strong></p>
<pre class="c" name="code">#mkdir /mnt/ntfs</pre>
<p><strong>Mount the NTFS partition</strong></p>
<pre class="c" nmae="code">#mount -f ntfs-3g /dev/sda1 /mnt/ntfs</pre>
<p>After that you can access the /mnt/ntfs<br />
You can use a linux command below to copy or access any files on the directory</p>
<pre class="c" name="code">#cd /mnt/ntfs
#ls -al</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/how-to-mount-to-ntfs-windows-partition-in-centos/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Automation Using Linux Crontab to Schedule Task</title>
		<link>http://www.ittutorial.net/automation-using-linux-crontab-to-schedule-task/</link>
		<comments>http://www.ittutorial.net/automation-using-linux-crontab-to-schedule-task/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 08:55:49 +0000</pubDate>
		<dc:creator>faisal</dc:creator>
				<category><![CDATA[centos]]></category>

		<guid isPermaLink="false">http://www.ittutorial.net/?p=321</guid>
		<description><![CDATA[If it is required to run some processes automatically like backup , generate image thumbnail etc.. The best way in Linux is use of crontab. We  can using Crontab to handle this task so it will automatically do the job in your schedule task. What is Crontab ? Cron derives from chronos greek time and [...]]]></description>
			<content:encoded><![CDATA[<p>If it is required to run some processes automatically like backup , generate image thumbnail etc..<br />
The best way in Linux is use of crontab. We  can using Crontab to handle this task so it will automatically do the job in your schedule task.</p>
<h6>
What is Crontab ?</h6>
<p>Cron derives from chronos greek time and it used to schedule command or execute it periodically.</p>
<h6>How to Verify Crontab Running in The System ?</h6>
<p>Login into your server and type this command below :</p>
<pre class="c">#crontab -l</pre>
<p>### you will see someline like example below ###</p>
<pre class="c">* * * * * /bin/example-path/example-script.sh</pre>
<p>So How To Add a Schedule Task to Crontab ?<br />
In terminal type  command, which is given below</p>
<pre class="c">#crontab -e</pre>
<p>You will see a blank screen, you can press I button and start type your crontab command<br />
after that don&#8217;t forget to save your crontab, press ESC button and type :wq! this will help you save your crontab to the schedule task</p>
<p>Crontab Schedule Explain</p>
<pre class="c">Example : * * * * * /bin/testing-path/testing-script.sh</pre>
<p>You can see a 5 stars there, the stars will present a different minute, hour, day of month, month and day of week.<br />
1.    minute (from 0 to 59)<br />
2.    hour (from 0 to 23)<br />
3.    day of month (from 1 to 31)<br />
4.    month (from 1 to 12)<br />
5.    day of week (from 0 to 6) (0=Sunday)<br />
From the example above the crontab will execute every minute.</p>
<p>Note :<br />
* / star/ asterisk mean EVERY</p>
<p>Another Crontab Example<br />
If you want to run a schedule script at 2AM every Thursday, then you need a following cronjob</p>
<pre class="c">0 2 * * 4  /bin/testing-path/testing-script.sh</pre>
<p>Example Star Description above:<br />
1.    minute: 0<br />
2.    of hour: 1<br />
3.    of day of month: * (every day of month)<br />
4.    of month: * (every month)<br />
5.    and</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ittutorial.net/automation-using-linux-crontab-to-schedule-task/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

