<?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>Dedicated Servers &#124; VPS Hosting &#187; Linux server hosting</title>
	<atom:link href="http://organizedhost.com/category/linux-server-hosting/feed/" rel="self" type="application/rss+xml" />
	<link>http://organizedhost.com</link>
	<description>Blog Providing complete information on dedicated servers and Virtual private server hosting packages</description>
	<lastBuildDate>Sat, 29 May 2010 17:39:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to keep log of daily network traffic on Dedicated servers?</title>
		<link>http://organizedhost.com/linux-server-hosting/how-to-keep-log-of-daily-network-traffic-on-dedicated-server/</link>
		<comments>http://organizedhost.com/linux-server-hosting/how-to-keep-log-of-daily-network-traffic-on-dedicated-server/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 23:05:14 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Servers]]></category>
		<category><![CDATA[Linux server hosting]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/26/how-to-keep-log-of-daily-network-traffic-on-dedicated-server/</guid>
		<description><![CDATA[Here is how to keep log of daily network traffic on Dedicated Servers : * It is a console-base network traffic monitor for Linux (perfect tool for remote Linux box hosted at ISP) * It keeps a log of daily and monthly network traffic for the selected network interface(s). * It collects all data from [...]]]></description>
			<content:encoded><![CDATA[<p>Here is how to keep log of daily network traffic on <a href="http://www.bodhost.co.uk/dedicated-servers-hosting.shtml">Dedicated Servers</a> :</p>
<p>* It is a console-base network traffic monitor for Linux (perfect tool for remote Linux box hosted at ISP)<br />
* It keeps a log of daily and monthly network traffic for the selected network interface(s).<br />
* It collects all data from /proc file system it means normal user can monitor traffic (no need to run vnstat as a root user)<br />
* Easy to setup &amp; configure<br />
* Ease of use</p>
<p>Step # 1: Install vnstat<br />
Debian user can install vnstat using apt-get command</p>
<p># apt-get install vnstat</p>
<p>Step # 2: Enable vnstat<br />
Once installed you need to create a database with following command:</p>
<p># vnstat -u -i eth0</p>
<p>Where,<br />
u :forces a database update for interface or creates the database if it doesn’t exist<br />
i eth0 : use to specify interface</p>
<p>Please note that it will start to collect data via cronjob</p>
<p>0-55/5 * * * *   root    /usr/bin/vnstat -u</p>
<p>You do not have to install cronjob yourself; it should be automatically configure by apt-get.</p>
<p>Step # 3 View statistics<br />
Display default traffic statistics</p>
<p>$ vnstat</p>
<p>Display daily traffic statistics</p>
<p>$ vnstat -d</p>
<p>Display monthly traffic statistics:</p>
<p>$ vnstat -m</p>
<p>Display all time top10 traffic days:</p>
<p>$ vnstat -t</p>
<p>Try help option to get all query options:</p>
<p>$ vnstat &#8211;help</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/steps-to-install-aw-stats-on-your-server/' rel='bookmark' title='Permanent Link: Steps to Install AW-stats on your server'>Steps to Install AW-stats on your server</a></li>
<li><a href='http://organizedhost.com/dedicated-hosting/exact-need-of-dedicated-servers/' rel='bookmark' title='Permanent Link: Exact Need of Dedicated Servers'>Exact Need of Dedicated Servers</a></li>
<li><a href='http://organizedhost.com/linux-server-hosting/linux-password-trick-by-using-linux-second-extended-file-system-attributes/' rel='bookmark' title='Permanent Link: Linux Password trick by using Linux second extended file system attributes'>Linux Password trick by using Linux second extended file system attributes</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/linux-server-hosting/how-to-keep-log-of-daily-network-traffic-on-dedicated-server/feed/</wfw:commentRss>
		<slash:comments>5196</slash:comments>
		</item>
		<item>
		<title>Optimization of MySQL Server</title>
		<link>http://organizedhost.com/dedicated-hosting/optimization-of-linux-server/</link>
		<comments>http://organizedhost.com/dedicated-hosting/optimization-of-linux-server/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:50:02 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Compilation of MySQL server]]></category>
		<category><![CDATA[how to configure linux for MySQL server]]></category>
		<category><![CDATA[linux with MYSQL server]]></category>
		<category><![CDATA[MySQL server]]></category>
		<category><![CDATA[MySQL server Hosting]]></category>
		<category><![CDATA[Optimization of MySQL on Linux server]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/optimization-of-linux-server/</guid>
		<description><![CDATA[By following the below steps you can decrease the CPU load of a server,it decreases the page loading time of a website, and it also enhances the overall performance of the server. You can use some steps from the below compilation methods to optimize a web server,so that you can serve web pages faster and [...]]]></description>
			<content:encoded><![CDATA[<p>By following the below steps you can decrease the CPU load of a server,it decreases the page loading time of a website, and it also enhances the overall performance of the server. You can use some steps from the below compilation methods to optimize a web server,so that you can serve web pages faster and also decrease the overall CPU load on the box. Few best procedures a web host can do to optimize your web server</p>
<p><strong>1) Basic Config File Editing</strong></p>
<p>Before starting you must make a backup of your /etc/my.cnf file by simply typing copy &#8220;cp#&#8221; /etc/my.cnf /etc/my.cnf.back , and after that you can perform the following via SSH:</p>
<p>pico /etc/my.cnf<br />
Now replace the current existing lines:</p>
<p>[mysqld]<br />
datadir=/var/lib/mysql<br />
socket=/var/lib/mysql/mysql.sock<br />
skip-locking<br />
skip-innodb<br />
query_cache_limit=8M<br />
query_cache_size=256M<br />
query_cache_type=1<br />
max_connections=500<br />
max_user_connections=10<br />
interactive_timeout=20<br />
wait_timeout=20<br />
connect_timeout=6<br />
thread_cache_size=128<br />
key_buffer=16M<br />
join_buffer=1M<br />
max_allowed_packet=16M<br />
table_cache=1024<br />
record_buffer=1M<br />
sort_buffer_size=2M<br />
read_buffer_size=2M<br />
max_connect_errors=10<br />
# Try number of CPU&#8217;s*2 for thread_concurrency<br />
thread_concurrency=4<br />
myisam_sort_buffer_size=64M<br />
#log-bin<br />
server-id=1</p>
<p>[mysql.server]<br />
user=mysql<br />
basedir=/var/lib</p>
<p>[safe_mysqld]<br />
err-log=/var/log/mysqld.log<br />
pid-file=/var/lib/mysql/mysql.pid<br />
open_files_limit=8192</p>
<p>[mysqldump]<br />
quick<br />
max_allowed_packet=16M</p>
<p>[mysql]<br />
no-auto-rehash<br />
#safe-updates</p>
<p>[isamchk]<br />
key_buffer=32M<br />
sort_buffer=32M<br />
read_buffer=16M<br />
write_buffer=16M</p>
<p>[myisamchk]<br />
key_buffer=32M<br />
sort_buffer=32M<br />
read_buffer=16M<br />
write_buffer=16M</p>
<p>After that hit CTRL + X to exit and save the file</p>
<p>Once it is done Edit the httpd.conf:</p>
<p>pico /usr/local/apache/conf/httpd.conf (or wherever your httpd.conf is located)</p>
<p>Set &#8220;Timeout&#8221; value to &#8220;Timeout 300&#8243;<br />
Change &#8220;KeepAlive on&#8221; to &#8220;KeepAlive off&#8221;<br />
Set &#8220;MinSpareServers&#8221; to &#8220;MinSpareServers 8&#8243;<br />
Set &#8220;MaxSpareServers&#8221; to &#8220;MaxSpareServers 13&#8243;<br />
Set &#8220;MaxRequestsPerChild&#8221; to &#8220;MaxRequestsPerChild 50&#8243;<br />
Set &#8220;HostnameLookups&#8221; to &#8220;HostnameLookups Off&#8221;</p>
<p>CTRL + X to exit and save the file</p>
<p>Restart Apache and MySQL with:<br />
service httpd restart<br />
service mysql restart OR service mysqld restart</p>
<p>People may need to restart the services with /etc/rc.d/init.d/httpd restart and /etc/rc.d/init.d/mysql restart</p>
<p>The above changes can be modified and configured according to your server&#8217;s needs .</p>
<p><strong>2) Installing Mod_Perl</strong></p>
<p><strong>What is Mod_Perl?</strong></p>
<p>mod_perl gives you a persistent Perl interpreter embedded in your web server. This lets you avoid the overhead of starting an external interpreter and avoids the penalty of Perl start-up time, giving you super-fast dynamic content.</p>
<p>YOu should Run these commands via SSH:</p>
<p>wget http://perl.apache.org/dist/mod_perl-1.0-current.tar.gz</p>
<p>tar zxvf tar zxvf mod_perl-1.0-current.tar.gz</p>
<p>cd mod_perl-1.29</p>
<p>perl Makefile.PL</p>
<p>If in case you face any errors about missing dependencies like CGI.pm, LWP::UserAgent &amp; HTML::HeadParser which is required by mod_perl you may install them with:</p>
<p>perl -MCPAN -e shell<br />
install HTML::HeadParser</p>
<p>If you had to install any dependencies you must re-run &#8220;perl Makefile.PL&#8221;. Back to setting up mod_perl, after perl Makefile.PL run:</p>
<p>make<br />
make install</p>
<p>Now, you have just installed mod_perl. Restart Apache with:</p>
<p>service httpd restart<br />
OR<br />
/etc/rc.d/init.d/httpd restart</p>
<p><strong>3) Install Turck MMCache for PHP</strong></p>
<p><strong>What is Turck MMCache for PHP?</strong></p>
<p>Turck MMCache is a free open source PHP accelerator, optimizer, encoder and dynamic content cache for PHP. It increases performance of PHP scripts by caching them in compiled state, so that the overhead of compiling is almost completely eliminated. And it also uses some optimizations to speed up execution of PHP scripts. Turck MMCache typically reduces server load and increases the speed of your PHP code by 1-10 times.</p>
<p>Turck MMCache requires: apache 1.3, mod_php 4.1, autoconf, automake, libtool, m4. You should already have most of these on your server if not use the &#8220;apt-get install &#8221; command to get them installed. I</p>
<p>To install Turck MMCache, perform the following commands via SSH:</p>
<p>wget http://aleron.dl.sourceforge.net/sou&#8230;e-2.4.6.tar.gz</p>
<p>export PHP_PREFIX=&#8221;/usr&#8221;</p>
<p>$PHP_PREFIX/bin/phpize</p>
<p>./configure &#8211;enable-mmcache=shared &#8211;with-php-config=$PHP_PREFIX/bin/php-config</p>
<p>(You must specify the real prefix where PHP is installed in the &#8220;export&#8221; command. It may be &#8220;/usr&#8221; &#8220;/usr/local&#8221;, or something else.)</p>
<p>make</p>
<p>make install</p>
<p>Turck MMCache can be installed both as Zend or PHP extension, so you need to edit your php.ini file (usually /etc/php.ini).<br />
To install as Zend extension:</p>
<p>zend_extension=&#8221;/usr/lib/php4/mmcache.so&#8221;<br />
mmcache.shm_size=&#8221;16&#8243;<br />
mmcache.cache_dir=&#8221;/tmp/mmcache&#8221;<br />
mmcache.enable=&#8221;1&#8243;<br />
mmcache.optimizer=&#8221;1&#8243;<br />
mmcache.check_mtime=&#8221;1&#8243;<br />
mmcache.debug=&#8221;0&#8243;<br />
mmcache.filter=&#8221;"<br />
mmcache.shm_max=&#8221;0&#8243;<br />
mmcache.shm_ttl=&#8221;0&#8243;<br />
mmcache.shm_prune_period=&#8221;0&#8243;<br />
mmcache.shm_only=&#8221;0&#8243;<br />
mmcache.compress=&#8221;1&#8243;</p>
<p>To install as PHP extension:</p>
<p>extension=&#8221;mmcache.so&#8221;<br />
mmcache.shm_size=&#8221;16&#8243;<br />
mmcache.cache_dir=&#8221;/tmp/mmcache&#8221;<br />
mmcache.enable=&#8221;1&#8243;<br />
mmcache.optimizer=&#8221;1&#8243;<br />
mmcache.check_mtime=&#8221;1&#8243;<br />
mmcache.debug=&#8221;0&#8243;<br />
mmcache.filter=&#8221;"<br />
mmcache.shm_max=&#8221;0&#8243;<br />
mmcache.shm_ttl=&#8221;0&#8243;<br />
mmcache.shm_prune_period=&#8221;0&#8243;<br />
mmcache.shm_only=&#8221;0&#8243;<br />
mmcache.compress=&#8221;1&#8243;</p>
<p>You may need to copy the mmcache.so file to the directory specified to the above paths in the configuration entries.</p>
<p>Create the cache directory:<br />
mkdir /tmp/mmcache<br />
chmod 0777 /tmp/mmcache</p>
<p>Restart Apache with:</p>
<p>service httpd restart<br />
OR<br />
/etc/rc.d/init.d/httpd restart</p>
<p><strong>4) Tuning sysctl.conf</strong></p>
<p><strong>What sysctl.conf?</strong></p>
<p>The sysctl.conf of a server is something that is seldom optimized for performance. You can get a tremendous boost in throughput by adjusting these settings. This configuration has been written by Steve from Rack911. I have applied this configuration to servers ranging from Celeron 1.7Ghz to Dual Xeon 2.8Ghz servers, and on the whole, the load on each lowered after making the changes.</p>
<p>First make a backup of your old /etc/sysctl.conf file by running the following command, logged in as root:</p>
<p>cp /etc/sysctl.conf /etc/sysctl.conf.bak</p>
<p>Now enter:<br />
pico /etc/sysctl.conf</p>
<p>and replace the contents of the file with the following:</p>
<p># Kernel sysctl configuration file for Red Hat Linux<br />
#<br />
# For binary values, 0 is disabled, 1 is enabled. See sysctl(8) and<br />
# sysctl.conf(5) for more details.</p>
<p># Disables packet forwarding<br />
net.ipv4.ip_forward=0</p>
<p># Disables IP source routing<br />
net.ipv4.conf.all.accept_source_route = 0<br />
net.ipv4.conf.lo.accept_source_route = 0<br />
net.ipv4.conf.eth0.accept_source_route = 0<br />
net.ipv4.conf.default.accept_source_route = 0</p>
<p># Enable IP spoofing protection, turn on source route verification<br />
net.ipv4.conf.all.rp_filter = 1<br />
net.ipv4.conf.lo.rp_filter = 1<br />
net.ipv4.conf.eth0.rp_filter = 1<br />
net.ipv4.conf.default.rp_filter = 1</p>
<p># Disable ICMP Redirect Acceptance<br />
net.ipv4.conf.all.accept_redirects = 0<br />
net.ipv4.conf.lo.accept_redirects = 0<br />
net.ipv4.conf.eth0.accept_redirects = 0<br />
net.ipv4.conf.default.accept_redirects = 0</p>
<p># Enable Log Spoofed Packets, Source Routed Packets, Redirect Packets<br />
net.ipv4.conf.all.log_martians = 0<br />
net.ipv4.conf.lo.log_martians = 0<br />
net.ipv4.conf.eth0.log_martians = 0</p>
<p># Disables IP source routing<br />
net.ipv4.conf.all.accept_source_route = 0<br />
net.ipv4.conf.lo.accept_source_route = 0<br />
net.ipv4.conf.eth0.accept_source_route = 0<br />
net.ipv4.conf.default.accept_source_route = 0</p>
<p># Enable IP spoofing protection, turn on source route verification<br />
net.ipv4.conf.all.rp_filter = 1<br />
net.ipv4.conf.lo.rp_filter = 1<br />
net.ipv4.conf.eth0.rp_filter = 1<br />
net.ipv4.conf.default.rp_filter = 1</p>
<p># Disable ICMP Redirect Acceptance<br />
net.ipv4.conf.all.accept_redirects = 0<br />
net.ipv4.conf.lo.accept_redirects = 0<br />
net.ipv4.conf.eth0.accept_redirects = 0<br />
net.ipv4.conf.default.accept_redirects = 0</p>
<p># Disables the magic-sysrq key<br />
kernel.sysrq = 0</p>
<p># Decrease the time default value for tcp_fin_timeout connection<br />
net.ipv4.tcp_fin_timeout = 15</p>
<p># Decrease the time default value for tcp_keepalive_time connection<br />
net.ipv4.tcp_keepalive_time = 1800</p>
<p># Turn off the tcp_window_scaling<br />
net.ipv4.tcp_window_scaling = 0</p>
<p># Turn off the tcp_sack<br />
net.ipv4.tcp_sack = 0</p>
<p># Turn off the tcp_timestamps<br />
net.ipv4.tcp_timestamps = 0</p>
<p># Enable TCP SYN Cookie Protection<br />
net.ipv4.tcp_syncookies = 1</p>
<p># Enable ignoring broadcasts request<br />
net.ipv4.icmp_echo_ignore_broadcasts = 1</p>
<p># Enable bad error message Protection<br />
net.ipv4.icmp_ignore_bogus_error_responses = 1</p>
<p># Log Spoofed Packets, Source Routed Packets, Redirect Packets<br />
net.ipv4.conf.all.log_martians = 1</p>
<p># Increases the size of the socket queue (effectively, q0).<br />
net.ipv4.tcp_max_syn_backlog = 1024</p>
<p># Increase the tcp-time-wait buckets pool size<br />
net.ipv4.tcp_max_tw_buckets = 1440000</p>
<p># Allowed local port range<br />
net.ipv4.ip_local_port_range = 16384 65536</p>
<p>CTRL + X to exit and save the file</p>
<p>To make your changes take effect immediately, type this command:<br />
/sbin/sysctl -p</p>
<p>You can easily watch your server load by entering &#8220;uptime&#8221; command via SSH.</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/steps-to-install-aw-stats-on-your-server/' rel='bookmark' title='Permanent Link: Steps to Install AW-stats on your server'>Steps to Install AW-stats on your server</a></li>
<li><a href='http://organizedhost.com/linux-server-hosting/how-to-keep-log-of-daily-network-traffic-on-dedicated-server/' rel='bookmark' title='Permanent Link: How to keep log of daily network traffic on Dedicated servers?'>How to keep log of daily network traffic on Dedicated servers?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/dedicated-hosting/optimization-of-linux-server/feed/</wfw:commentRss>
		<slash:comments>5172</slash:comments>
		</item>
		<item>
		<title>Define RAID-4 and it&#8217;s advantages</title>
		<link>http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/</link>
		<comments>http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:22:45 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[Advantages of RAID-4]]></category>
		<category><![CDATA[Define RAID RAID-4]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID level]]></category>
		<category><![CDATA[RAID mirroring]]></category>
		<category><![CDATA[RAID-4]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/define-raid-4-and-its-advantages/</guid>
		<description><![CDATA[Each entire block is written onto a data disk. Parity for same rank blocks is generated on Writes, recorded on the parity disk and checked on Reads.RAID Level 4 requires a minimum of 3 drives to implement. 1)Very high Read data transaction rate 2)Low ratio of ECC (Parity) disks to data disks means high efficiency [...]]]></description>
			<content:encoded><![CDATA[<p>Each entire block is written onto a data disk. Parity for same rank blocks is generated on Writes, recorded on the parity disk and checked on Reads.RAID Level 4 requires a minimum of 3 drives to implement.</p>
<p>1)Very high Read data transaction rate</p>
<p>2)Low ratio of ECC (Parity) disks to data disks means high efficiency</p>
<p>3)High aggregate Read transfer rate</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/define-raid-3-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-3 and it&#8217;s advantages'>Define RAID-3 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-1 and it&#8217;s advantages'>Define RAID-1 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-2 and it&#8217;s advantages'>Define RAID-2 and it&#8217;s advantages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/feed/</wfw:commentRss>
		<slash:comments>3139</slash:comments>
		</item>
		<item>
		<title>Define RAID-3 and it&#8217;s advantages</title>
		<link>http://organizedhost.com/web-hosting/define-raid-3-and-its-advantages/</link>
		<comments>http://organizedhost.com/web-hosting/define-raid-3-and-its-advantages/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:21:57 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[Advantages of RAID-3]]></category>
		<category><![CDATA[Define RAID RAID-3]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID level]]></category>
		<category><![CDATA[RAID mirroring]]></category>
		<category><![CDATA[RAID-3]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/define-raid-3-and-its-advantages/</guid>
		<description><![CDATA[The data block is subdivided and written on the data disks. Stripe parity is generated on Writes, recorded on the parity disk and checked on Reads.It requires a minimum of 3 drives to implement. 1)Very high Read data transfer rate 2)Very high Write data transfer rate 3)Disk failure has an insignificant impact on throughput 4)Low [...]]]></description>
			<content:encoded><![CDATA[<p>The data block is subdivided and written on the data disks. Stripe parity is generated on Writes, recorded on the parity disk and checked on Reads.It requires a minimum of 3 drives to implement.</p>
<p>1)Very high Read data transfer rate</p>
<p>2)Very high Write data transfer rate</p>
<p>3)Disk failure has an insignificant impact on throughput</p>
<p>4)Low ratio of ECC (Parity) disks to data disks means high efficiency</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-4 and it&#8217;s advantages'>Define RAID-4 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-1 and it&#8217;s advantages'>Define RAID-1 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-2 and it&#8217;s advantages'>Define RAID-2 and it&#8217;s advantages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/define-raid-3-and-its-advantages/feed/</wfw:commentRss>
		<slash:comments>4988</slash:comments>
		</item>
		<item>
		<title>Define RAID-2 and it&#8217;s advantages</title>
		<link>http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/</link>
		<comments>http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:19:53 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[Advantages of RAID-2]]></category>
		<category><![CDATA[Define RAID RAID-2]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID level]]></category>
		<category><![CDATA[RAID mirroring]]></category>
		<category><![CDATA[RAID-2]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/define-raid-2-and-its-advantages/</guid>
		<description><![CDATA[Every single bit of data word is written to a data disk drive. Each data word has its Hamming Code ECC word recorded on the ECC disks. On Read, the ECC code verifies correct data or corrects single disk errors. 1)On the fly&#8221; data error correction 2)Very high data transfer rates possible 3)The higher the [...]]]></description>
			<content:encoded><![CDATA[<p>Every single bit of data word is written to a data disk drive. Each data word has its Hamming Code ECC word recorded on the ECC disks. On Read, the ECC code verifies correct data or corrects single disk errors.</p>
<p>1)On the fly&#8221; data error correction</p>
<p>2)Very high data transfer rates possible</p>
<p>3)The higher the data transfer rate required, the better the ratio of data disks to ECC disks</p>
<p>4)Relatively simple controller design as compared to RAID levels 3,4 &amp; 5</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-1 and it&#8217;s advantages'>Define RAID-1 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-4 and it&#8217;s advantages'>Define RAID-4 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-3-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-3 and it&#8217;s advantages'>Define RAID-3 and it&#8217;s advantages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/feed/</wfw:commentRss>
		<slash:comments>8229</slash:comments>
		</item>
		<item>
		<title>Define RAID-1 and it&#8217;s advantages</title>
		<link>http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/</link>
		<comments>http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 19:19:11 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[Advantages of RAID-1]]></category>
		<category><![CDATA[Define RAID RAID-1]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID level]]></category>
		<category><![CDATA[RAID mirroring]]></category>
		<category><![CDATA[RAID-1]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/define-raid-1-and-its-advantages/</guid>
		<description><![CDATA[RAID-1 requires atleast 2 drives to implement.One writes or two Reads possible per mirrored pair 1)Doubled the Reading transaction rate of single disks, same Write transaction rate as single disks. 2)complete 100% redundancy of data means no rebuild is necessary in case of a disk failure, just a copy to the replacement disk. 3)Transfer rate [...]]]></description>
			<content:encoded><![CDATA[<p><strong>RAID-1</strong> requires atleast 2 drives to implement.One writes or two Reads possible per mirrored pair</p>
<p>1)Doubled the Reading transaction rate of single disks, same Write transaction rate as single disks.</p>
<p>2)complete 100% redundancy of data means no rebuild is necessary in case of a disk failure, just a copy to the replacement disk.</p>
<p>3)Transfer rate per block is equal to that of a single disk</p>
<p>4) Under certain circumstances, RAID-1 can sustain multiple simultaneous drive failures.</p>
<p>5) Simplest RAID storage subsystem design.</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-2 and it&#8217;s advantages'>Define RAID-2 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-4 and it&#8217;s advantages'>Define RAID-4 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-3-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-3 and it&#8217;s advantages'>Define RAID-3 and it&#8217;s advantages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/feed/</wfw:commentRss>
		<slash:comments>4186</slash:comments>
		</item>
		<item>
		<title>Define RAID-0 and it&#8217;s advantages</title>
		<link>http://organizedhost.com/web-hosting/define-raid-0-and-its-advantages/</link>
		<comments>http://organizedhost.com/web-hosting/define-raid-0-and-its-advantages/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 01:02:04 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[Advantages of RAID-0]]></category>
		<category><![CDATA[Define RAID RAID-0]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[RAID-0]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/define-raid-0-and-its-advantages/</guid>
		<description><![CDATA[RAID (Redundant array of independent disks) 0 implements a striped disk array, the data is broken down into different blocks and each block is written to a separate disk drive. Advantages of RAID &#8220;0&#8243; are as follows:- 1) I/O performance is greatly enhanced by spreading the I/O load among many channels and drives 2) Best [...]]]></description>
			<content:encoded><![CDATA[<p>RAID (Redundant array of independent disks) 0 implements a striped disk array, the data is broken down into different blocks and each block is written to a separate disk drive.<br />
<img src="file:///C:/DOCUME%7E1/shoaib/LOCALS%7E1/Temp/moz-screenshot-13.jpg" /><br />
Advantages of RAID &#8220;0&#8243; are as follows:-</p>
<p>1) I/O performance is greatly enhanced by spreading the I/O load among many channels and drives</p>
<p>2) Best performance is achieved when data is striped across multiple controllers with only one drive per controller</p>
<p>3) No parity calculation overhead is involved</p>
<p>4) Very simple design</p>
<p>5) It is very easy to implement.</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/define-raid-4-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-4 and it&#8217;s advantages'>Define RAID-4 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/defineraid-and-it-uses/' rel='bookmark' title='Permanent Link: Define::RAID and it uses'>Define::RAID and it uses</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-1 and it&#8217;s advantages'>Define RAID-1 and it&#8217;s advantages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/define-raid-0-and-its-advantages/feed/</wfw:commentRss>
		<slash:comments>3653</slash:comments>
		</item>
		<item>
		<title>Define::RAID and it uses</title>
		<link>http://organizedhost.com/web-hosting/defineraid-and-it-uses/</link>
		<comments>http://organizedhost.com/web-hosting/defineraid-and-it-uses/#comments</comments>
		<pubDate>Wed, 27 Aug 2008 00:58:03 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[Define RAID]]></category>
		<category><![CDATA[RAID]]></category>
		<category><![CDATA[Redundant array of independent disks]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/27/defineraid-and-it-uses/</guid>
		<description><![CDATA[RAID stands for Redundant array of independent disks refers to a data storage scheme using multiple hard drives to share or replicate data among the drives. 1) No matter which RAID array you use backup regularly. 2) For performance always use hardware based RAID controller. If you are tight on budget go for software based [...]]]></description>
			<content:encoded><![CDATA[<p>RAID stands for Redundant array of independent disks refers to a data storage scheme using multiple hard drives to share or replicate data among the drives.</p>
<p>1) No matter which RAID array you use backup regularly.</p>
<p>2) For performance always use hardware based RAID controller. If you are tight on budget go for software based RAID. For any production environment I recommend hardware based RAID controller.</p>
<p>3) To make your decision final regarding RAID consider following points:<br />
* Fault tolerant<br />
* Speed vs performance vs overhead<br />
* Your application and required bandwidth<br />
* Final Cost</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/web-hosting/define-raid-0-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-0 and it&#8217;s advantages'>Define RAID-0 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-2-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-2 and it&#8217;s advantages'>Define RAID-2 and it&#8217;s advantages</a></li>
<li><a href='http://organizedhost.com/web-hosting/define-raid-1-and-its-advantages/' rel='bookmark' title='Permanent Link: Define RAID-1 and it&#8217;s advantages'>Define RAID-1 and it&#8217;s advantages</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/defineraid-and-it-uses/feed/</wfw:commentRss>
		<slash:comments>5033</slash:comments>
		</item>
		<item>
		<title>Steps to Install AW-stats on your server</title>
		<link>http://organizedhost.com/web-hosting/steps-to-install-aw-stats-on-your-server/</link>
		<comments>http://organizedhost.com/web-hosting/steps-to-install-aw-stats-on-your-server/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 20:38:52 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Dedicated Hosting]]></category>
		<category><![CDATA[Linux server hosting]]></category>
		<category><![CDATA[Web-hosting]]></category>
		<category><![CDATA[apache installation]]></category>
		<category><![CDATA[how to installation]]></category>
		<category><![CDATA[installation guide]]></category>
		<category><![CDATA[installation server]]></category>
		<category><![CDATA[installing installation]]></category>
		<category><![CDATA[linux installation]]></category>
		<category><![CDATA[package installation]]></category>
		<category><![CDATA[php installation]]></category>
		<category><![CDATA[setup installation]]></category>
		<category><![CDATA[stats records]]></category>
		<category><![CDATA[stats statistics]]></category>
		<category><![CDATA[web server installation]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/25/steps-to-install-aw-stats-on-your-server/</guid>
		<description><![CDATA[Step # 1 1) Visit AWStats project home page http://awstats.sourceforge.net/ to download source code or RPM file of awstats. I prefer to use RPM. At the time of writing this latest version of awstats was stable 6.2-1. Here is wget command to download file (make sure you replace appropriate version number in download): # wget [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Step # 1</strong><br />
1) Visit AWStats project home page http://awstats.sourceforge.net/ to download source code or RPM file of awstats. I prefer to use RPM. At the time of writing this latest version of awstats was stable 6.2-1. Here is wget command to download file (make sure you replace appropriate version number in download):<br />
# wget http://prdownloads.sourceforge.net/awstats/awstats-6.2-1.noarch.rpm</p>
<p><strong>Step # 2</strong><br />
Now Install awstats the easiest way to install awstats is use rpm command:<br />
# rpm -ivh awstats-6.2-1.noarch.rpm</p>
<p><strong>Step # 3</strong><br />
Once AWstats installed, it is time to configure it. Fortunately it comes with nice configuration perl script:<br />
1) Change current directory to /usr/local/awstats/tools where awstats configuration tools installed:<br />
# cd /usr/local/awstats/tools</p>
<p>2) Make sure you know the domain&#8217;s access log file. Check apache configuration file /etc/httpd/conf/httpd.conf and look for access_log parameter. A quick grep will help you to find out your access log file:<br />
# grep &#8220;CustomLog&#8221; etc/httpd/conf/httpd.conf</p>
<p>3) Run awstats_configure.pl script to configure awstats (this perl script will do little modification to your httpd.conf file. Here is typical session from above script [required input shown in BOLD + UNDERLINE text]):<br />
# ./awstats_configure.pl<br />
&#8212;&#8211;&gt; Check and complete web server config file \&#8217;/etc/httpd/conf/httpd.conf\&#8217;<br />
Add &#8216;Alias /awstatsclasses &#8220;/usr/local/awstats/wwwroot/classes/&#8221;&#8216;<br />
Add &#8216;Alias /awstatscss &#8220;/usr/local/awstats/wwwroot/css/&#8221;&#8216;<br />
Add &#8216;Alias /awstatsicons &#8220;/usr/local/awstats/wwwroot/icon/&#8221;&#8216;<br />
Add &#8216;ScriptAlias /awstats/ &#8220;/usr/local/awstats/wwwroot/cgi-bin/&#8221;&#8216;<br />
Add &#8221; directive<br />
AWStats directives added to Apache config file.</p>
<p>&#8212;&#8211;&gt; Update model config file &#8216;/etc/awstats/awstats.model.conf&#8217;<br />
File awstats.model.conf updated.</p>
<p>&#8212;&#8211;&gt; Need to create a new config file ?<br />
Do you want me to build a new AWStats config/profile<br />
file (required if first install) [y/N] ? y</p>
<p>&#8212;&#8211;&gt; Define config file name to create<br />
What is the name of your web site or profile analysis ?<br />
Example: www.mysite.com<br />
Example: demo<br />
Your web site, virtual server or profile name:<br />
&gt; www.cyberciti.biz</p>
<p>&#8212;&#8211;&gt; Define config file path<br />
In which directory do you plan to store your config file(s) ?<br />
Default: /etc/awstats<br />
Directory path to store config file(s) (Enter for default): &lt;PRESS ENTER KEY&gt;</p>
<p>&#8212;&#8211;&gt; Create config file &#8216;/etc/awstats/awstats.www.cyberciti.biz.conf&#8217;<br />
Config file /etc/awstats/awstats.www.cyberciti.biz.conf created.<br />
&#8212;&#8211;&gt; Restart Web server with &#8216;/sbin/service httpd restart&#8217;<br />
Stopping httpd:              [ OK ]<br />
Starting httpd:              [ OK ]<br />
&#8212;&#8211;&gt; Add update process inside a scheduler</p>
<p>Sorry, configure.pl does not support automatic add to cron yet.<br />
You can do it manually by adding the following command to your cron:<br />
/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=www.cyberciti.biz<br />
Or if you have several config files and prefer having only one command:<br />
/usr/local/awstats/tools/awstats_updateall.pl now<br />
Press ENTER to continue&#8230;</p>
<p>A SIMPLE config file has been created: /etc/awstats/awstats.www.cyberciti.biz.conf<br />
You should have a look inside to check and change manually main parameters.<br />
You can then manually update your statistics for &#8216;www.cyberciti.biz&#8217; with command:<br />
&gt; perl awstats.pl -update -config=www.cyberciti.biz<br />
You can also read your statistics for &#8216;www.cyberciti.biz&#8217; with URL:<br />
&gt; http://localhost/awstats/awstats.pl?config=www.cyberciti.biz</p>
<p>Press ENTER to finish&#8230;</p>
<p>In above session you need to input three different things.<br />
(A) Answer question &#8220;Do you want me to build a new AWStats config/profile file (required if first install) [y/N] ?&#8221; with y<br />
(B) Answer question &#8220;Your web site, virtual server or profile name:&#8221; with your domain name. For example www.cyberciti.biz.<br />
(C) Answer question &#8220;Directory path to store config file(s) (Enter for default):&#8221; Press enter key to accept default /etc/awstats directory to store configuration for domain.</p>
<p>5) Open your configuration file created by previous script using text editor:<br />
# vi /etc/awstats/awstats.www.cyberciti.biz.conf</p>
<p>6) Look for LogFile parameter and set value to your actual access_log file:<br />
For example:<br />
LogFile=&#8221;/home/httpd/vhosts/cyberciti.biz/statistics/logs/access_log&#8221;</p>
<p>7) Create directory to store some initial data:<br />
# mkdir -p /var/lib/awstats</p>
<p> <img src='http://organizedhost.com/wp-includes/images/smilies/icon_cool.gif' alt='8)' class='wp-smiley' /> Create directory to store awstats html pages so that it can be viewed/analyzed from web browser(create appropriate directory according to your need):<br />
# mkdir -p /home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats</p>
<p>9) Build all sorts of webpage&#8217;s by running command:<br />
(a) Change Directory:<br />
# cd /usr/local/awstats/tools</p>
<p>(b) Run perl script to build stats:<br />
# ./awstats_buildstaticpages.pl   -config=www.cyberciti.biz   -update   -awstatsprog=/usr/local/awstats/wwwroot/cgi-bin/awstats.pl   -dir=/home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats/</p>
<p>Where<br />
-config : Name of file for your domain stored in /etc/awstats or file which you modified step # 3 (5)<br />
-update : Update statistics<br />
-awstatsprog : Path to awstats.pl script to generate all statistics<br />
-dir : Directory in which you need to store generated html statistics</p>
<p>10) It is time to test generated web pages aka stats. Fire FireFox (upgrade Internet explorer to FireFox!) and type url http://www.yourdomain.com/path/to/awstats/.</p>
<p>11) Tip you may find that you lost old month statistics with Awstats. To get your old stats you simply need to run following command:<br />
/usr/local/awstats/tools/awstats_buildstaticpages.pl   -config=www.cyberciti.biz   -update   -awstatsprog=/usr/local/awstats/wwwroot/cgi-bin/awstats.pl   -dir=/home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats/ -month=12 -year=2004</p>
<p>Please replace values of month and year according to your need.</p>
<p><strong>Step # 4: Setup cron job</strong><br />
1) Edit existing contrab:<br />
# crontab -e</p>
<p>2) Add entry to it (here I am generating stats every 10 minutes; generally, you should setup cron, according to your own requirements):<br />
# 10 * * * *   /usr/local/awstats/tools/awstats_buildstaticpages.pl   -config=www.cyberciti.biz   -update   -awstatsprog=/usr/local/awstats/wwwroot/cgi-bin/awstats.pl   -dir=/home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats/   &gt;/dev/null   2&gt;&amp;1<br />
Note command must type in one line or spanned using \</p>
<p>3) Once cron job saved, you need to make sure that crond service running following command ensures that:<br />
a) See if crond running or not:<br />
# service crond status<br />
crond (pid 1519) is running&#8230;</p>
<p>b) If it is not running then start it:<br />
# service crond start</p>
<p>c) Make sure crond starts everytime linux comes up after reboot/shutdow:<br />
# chkconfig crond on</p>
<p><strong>Step # 5 Security</strong><br />
Well awstats does not open any port or open any major security risks. However, generally you should consider two important things:<br />
1) Protect your AWstats html pages with password-protected directory. Use apache&#8217;s simple directory protection mechanism. This can easily accomplished with .htaccess file in your /path/to/awstats/ directory. You are going to use directory protection using apache&#8217;s .htaccess and .htpasswd :</p>
<p>(a) Create .htaccess file in /home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats/ directory (add text as follows)<br />
vi /home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats/.htaccess<br />
AuthName &#8220;AWStats restricted access&#8221;<br />
AuthType Basic<br />
AuthUserFile /home/httpd/vhosts/cyberciti.biz/private/.htpasswd<br />
require user awstatsadmin</p>
<p>(b) Create user and password (-c assumes first time you are using .htpasswd file, otherwise skip this directive):<br />
# htpasswd -c /home/httpd/vhosts/cyberciti.biz/private/.htpasswd awstatsadmin</p>
<p>For more information please read documents:<br />
Authentication and access control<br />
.htaccess other options/directives</p>
<p>2) Remember all logs rotated on regular basis including apache. Therefore, it is necessary to make sure that awstats does not misses your statistics. In logrotate httpd configuration file you need to add following 3 lines after /var/log/httpd/*log {:<br />
(a) Open /etc/logrotate.d/httpd in vi text editor:<br />
/etc/logrotate.d/httpd</p>
<p>(b) Add following following 3 lines after /var/log/httpd/*log {:<br />
sharedscripts<br />
prerotate<br />
/usr/local/awstats/tools/awstats_buildstaticpages.pl -config=www.cyberciti.biz &#8211; update -awstatsprog=/usr/local/awstats/wwwroot/cgi-bin/awstats.pl -dir=/home/httpd/vhosts/cyberciti.biz/httpdocs/tools/awstats/ &gt;/dev/null 2&gt;&amp;1<br />
endscript<br />
As a result, before log rotating take place our perl script will be execute to generate html stats.</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/dedicated-hosting/optimization-of-linux-server/' rel='bookmark' title='Permanent Link: Optimization of MySQL Server'>Optimization of MySQL Server</a></li>
<li><a href='http://organizedhost.com/linux-server-hosting/steps-to-mount-remote-windows-partition-under-linux/' rel='bookmark' title='Permanent Link: Steps to mount remote windows partition under Linux'>Steps to mount remote windows partition under Linux</a></li>
<li><a href='http://organizedhost.com/web-hosting/how-to-install-and-configure-the-csf/' rel='bookmark' title='Permanent Link: How to install and configure the CSF ?'>How to install and configure the CSF ?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/web-hosting/steps-to-install-aw-stats-on-your-server/feed/</wfw:commentRss>
		<slash:comments>3946</slash:comments>
		</item>
		<item>
		<title>Linux Password trick by using Linux second extended file system attributes</title>
		<link>http://organizedhost.com/linux-server-hosting/linux-password-trick-by-using-linux-second-extended-file-system-attributes/</link>
		<comments>http://organizedhost.com/linux-server-hosting/linux-password-trick-by-using-linux-second-extended-file-system-attributes/#comments</comments>
		<pubDate>Mon, 25 Aug 2008 20:35:47 +0000</pubDate>
		<dc:creator></dc:creator>
				<category><![CDATA[Linux server hosting]]></category>

		<guid isPermaLink="false">http://organizedhost.com/index.php/2008/08/25/linux-password-trick-by-using-linux-second-extended-file-system-attributes/</guid>
		<description><![CDATA[1) Login as root user 2) Run command: # chattr +i /etc/shadow Above command will write protect the /etc/shadow file. 3) Now lets test it with user Laurel. Login as laurel: $passwd Changing password for user laurel. Changing password for laurel (current) UNIX password: OLDPASSWED New password: NEWPASSWD Retype new password:NEWPASSWD passwd: all authentication tokens [...]]]></description>
			<content:encoded><![CDATA[<p>1) Login as root user</p>
<p>2) Run command:<br />
# chattr +i /etc/shadow<br />
Above command will write protect the /etc/shadow file.</p>
<p>3) Now lets test it with user Laurel. Login as laurel:<br />
$passwd<br />
Changing password for user laurel.<br />
Changing password for laurel<br />
(current) UNIX password: OLDPASSWED<br />
New password: NEWPASSWD<br />
Retype new password:NEWPASSWD<br />
passwd: all authentication tokens updated successfully.</p>
<p>4) Now logout and try to login with new password. What you can’t? Yup use the old password you can login now.</p>
<p>5) Get the list of Linux second extended file system using the lsatter command (run as root user <img src='http://organizedhost.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  )<br />
# lsattr /etc/shadow<br />
&#8212;-i&#8212;&#8212;&#8211; /etc/shadow</p>
<p>Note:Even root user is not allowed to change password. Before doing this root need to remove the attribute using command:<br />
#chattr –i /etc/shadow<br />
# lsattr /etc/shadow<br />
&#8212;&#8212;&#8212;&#8212;- /etc/shadow</p>


<p>Related posts:<ol><li><a href='http://organizedhost.com/linux-server-hosting/steps-to-mount-remote-windows-partition-under-linux/' rel='bookmark' title='Permanent Link: Steps to mount remote windows partition under Linux'>Steps to mount remote windows partition under Linux</a></li>
<li><a href='http://organizedhost.com/linux-server-hosting/how-to-mount-iso-image-under-linux/' rel='bookmark' title='Permanent Link: How to mount ISO image under Linux?'>How to mount ISO image under Linux?</a></li>
<li><a href='http://organizedhost.com/linux-server-hosting/how-to-keep-log-of-daily-network-traffic-on-dedicated-server/' rel='bookmark' title='Permanent Link: How to keep log of daily network traffic on Dedicated servers?'>How to keep log of daily network traffic on Dedicated servers?</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://organizedhost.com/linux-server-hosting/linux-password-trick-by-using-linux-second-extended-file-system-attributes/feed/</wfw:commentRss>
		<slash:comments>5261</slash:comments>
		</item>
	</channel>
</rss>

