<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-7464283476920101126</id><updated>2024-12-31T04:37:20.726+05:30</updated><category term="ssh"/><category term="PHP"/><category term="cpanel"/><category term="ffmpeg-php"/><category term="ffmpeg"/><category term="putty"/><category term="centos 6"/><category term="linux"/><category term="root"/><category term="CentOS | Fedora"/><category term="centos 5"/><category term="whm"/><category term="apache"/><category term="copy"/><category term="mysql"/><category term="password"/><category term="projects"/><category term="scp"/><category term="update"/><category term="Ubuntu"/><category term="backup"/><category term="centos"/><category term="facebook"/><category term="files"/><category term="ftp"/><category term="github"/><category term="html"/><category term="varnish"/><category term="CSS3"/><category term="DDOS"/><category term="Debian"/><category term="Enable ffmpeg-php in cpanel"/><category term="Enable ffmpeg-php in linux"/><category term="FreeBSD"/><category term="HP-UX"/><category term="Kubuntu"/><category term="Linux Servers"/><category term="Linux Tutorials"/><category term="OpenBSD"/><category term="OpenSUSE"/><category term="PHP Tutorials"/><category term="RHEL"/><category term="Slackware"/><category term="Trustix"/><category term="Unix Servers"/><category term="Unix Tutorials"/><category term="Web Development"/><category term="Wget"/><category term="anti ddos"/><category term="cache"/><category term="change"/><category term="compression"/><category term="css"/><category term="earning"/><category term="fast"/><category term="fb"/><category term="free"/><category term="g+"/><category term="google"/><category term="google plus"/><category term="google+"/><category term="gzip"/><category term="javascript"/><category term="large files"/><category term="move"/><category term="new"/><category term="nginx"/><category term="permissions"/><category term="required by ./utserver"/><category term="security"/><category term="user"/><category term="utserver"/><category term="utserver.conf"/><category term="virtual host"/><category term="windows"/><category term="100$ a month"/><category term="15 tips"/><category term="22"/><category term="888media"/><category term="BASH"/><category term="CEO"/><category term="Database Connection"/><category term="GLIBC_2.11 not found"/><category term="Learning Web"/><category term="MOD_PAGESPEED"/><category term="Mark Zuckerberg"/><category term="TTL"/><category term="adsense"/><category term="apachebooster"/><category term="async"/><category term="auto ffmpeg"/><category term="backupbox"/><category term="basic"/><category term="birthday"/><category term="blogger gdata guide"/><category term="boss"/><category term="bypass"/><category term="captcha"/><category term="cdn"/><category term="certificate"/><category term="challenge"/><category term="cheap"/><category term="chetan hacker"/><category term="chetan soni"/><category term="chitika"/><category term="class"/><category term="cloud"/><category term="cloud backup"/><category term="control"/><category term="control panel"/><category term="csr"/><category term="daily backup"/><category term="database"/><category term="dbORM"/><category term="domains"/><category term="dropbox"/><category term="easy tweaking of firefox"/><category term="edit"/><category term="effects"/><category term="expire"/><category term="extract"/><category term="facebook password case"/><category term="facebook passwords"/><category term="ffmpeg_frame.c:421: error"/><category term="filezilla"/><category term="firefox spell checker for input box"/><category term="firewall"/><category term="fix"/><category term="flash"/><category term="free cloud backup"/><category term="free cpanel"/><category term="getID3"/><category term="god"/><category term="godaddy"/><category term="google adsense"/><category term="grep"/><category term="hack"/><category term="handyman"/><category term="haproxy"/><category term="hover"/><category term="htaccess"/><category term="htaccess style authentication via php"/><category term="html5"/><category term="https"/><category term="images"/><category term="infolinks"/><category term="injection"/><category term="input"/><category term="install"/><category term="interface"/><category term="itseasy21"/><category term="js"/><category term="just do hackers"/><category term="justdohackers"/><category term="kloxo"/><category term="leech"/><category term="license"/><category term="lijit"/><category term="litespeed"/><category term="loadbalancer"/><category term="localhost"/><category term="locate"/><category term="lvm"/><category term="make: *** [ffmpeg_movie.lo] Error 1"/><category term="memcache"/><category term="mencoder"/><category term="movers"/><category term="mp3 script"/><category term="mplayer"/><category term="nameservers"/><category term="nano"/><category term="node"/><category term="openvz"/><category term="optimize"/><category term="panel"/><category term="parked domain"/><category term="partition"/><category term="pascal"/><category term="performance"/><category term="php - lame mp3 script"/><category term="php compile"/><category term="php http authentication"/><category term="plus"/><category term="port"/><category term="port scanner"/><category term="ptc"/><category term="query"/><category term="rajinikanth"/><category term="rdp"/><category term="recover"/><category term="referesh"/><category term="remote"/><category term="remove"/><category term="reset"/><category term="restart"/><category term="restore"/><category term="revenue"/><category term="rsync"/><category term="sanitize"/><category term="scache"/><category term="search"/><category term="serial"/><category term="server"/><category term="setup"/><category term="sftp"/><category term="sharethis"/><category term="simple"/><category term="single user"/><category term="snippet"/><category term="soa"/><category term="social"/><category term="solusvm"/><category term="split"/><category term="sql"/><category term="ssl"/><category term="tar"/><category term="technology updates"/><category term="terminal"/><category term="tf"/><category term="timeline"/><category term="timer"/><category term="torrent"/><category term="torrific"/><category term="torrific limit"/><category term="torrific.com"/><category term="tpb"/><category term="trial"/><category term="utorrent"/><category term="utorrent on 64bit"/><category term="utorrent on centos"/><category term="utorrent on fedora"/><category term="utorrent on linux"/><category term="utorrent server"/><category term="validator"/><category term="vi"/><category term="video"/><category term="vim"/><category term="w3c"/><category term="w3tools"/><category term="webserver"/><category term="website"/><category term="webvz"/><category term="yahoo"/><category term="yieldads"/><title type='text'>W3 TOOLS - Making Web Easier..!</title><subtitle type='html'>Making Web Simpler and Easier..!</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default?start-index=26&amp;max-results=25'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>88</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-6276480915003622175</id><published>2016-10-18T10:33:00.000+05:30</published><updated>2016-10-18T10:33:13.038+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cdn"/><category scheme="http://www.blogger.com/atom/ns#" term="haproxy"/><category scheme="http://www.blogger.com/atom/ns#" term="loadbalancer"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>How To Set Nginx as Load Balancer for CDN</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
Before Starting to set HaProxy, we need to setup 2 or more servers to set in the Load Balancer. Lets assume that we have set 3 servers with Nginx on them. In all servers&lt;span style=&quot;font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif;&quot;&gt;modify the “add_header X-Proxy-Serve” line in order to name each server.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Now we have 3 servers and named them as CDN1, CDN2 and CDN3, we can now put a load balancer in front of them to complete our CDN setup.&lt;br /&gt;
&lt;br /&gt;
Even though Nginx itself can be used as load balancer, we prefer to use HaProxy for our load balancer. On a new server, simply install Haproxy and modify haproxy.conf as follows:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;script src=&quot;//pastebin.com/embed_js/UK02Z5M7&quot;&gt;&lt;/script&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
When we start our HaProxy with this configuration, the requests will be equally distributed to our three Nginx servers. The configuration above assumes that Haproxy can communicate with Nginx servers on a private LAN. You can change these to public IPs if you don’t have a private network. In addition, you can view statistics of Haproxy on 9000 port to verify that each Nginx server is working on our simple CDN setup.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #353535; font-family: Merriweather, &amp;quot;Times New Roman&amp;quot;, Times, serif; margin-bottom: 1em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/6276480915003622175/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2016/10/how-to--nginx-load-balancer-haproxy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6276480915003622175'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6276480915003622175'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2016/10/how-to--nginx-load-balancer-haproxy.html' title='How To Set Nginx as Load Balancer for CDN'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-2525249439453424245</id><published>2016-08-20T21:57:00.000+05:30</published><updated>2016-08-20T21:58:10.794+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="async"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="html5"/><category scheme="http://www.blogger.com/atom/ns#" term="javascript"/><category scheme="http://www.blogger.com/atom/ns#" term="sharethis"/><title type='text'>ShareThis Asynchronous Javascript Loading</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, &amp;quot;Bitstream Charter&amp;quot;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
Unfortunately the ShareThis service has a lot of known issues, like loading a lot of data from their tracking site,&amp;nbsp;&lt;code style=&quot;background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, serif; font-size: 13px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;b.scorecardresearch.com&lt;/code&gt;&amp;nbsp;and other types of bloat when initializing their icons.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, &amp;quot;Bitstream Charter&amp;quot;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
Because calling&amp;nbsp;&lt;code style=&quot;background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, serif; font-size: 13px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;stLight.options&lt;/code&gt;&amp;nbsp;depends on having the&amp;nbsp;&lt;code style=&quot;background: rgb(238, 238, 238); border: 0px; font-family: Consolas, Menlo, Monaco, &amp;quot;Lucida Console&amp;quot;, &amp;quot;Liberation Mono&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, monospace, serif; font-size: 13px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;buttons.js&lt;/code&gt;&amp;nbsp;script already loaded, it is not really feasible to initialize the code like this:&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;//pastebin.com/embed_js/6L00Nve5&quot;&gt;&lt;/script&gt;

However, you could use an onload function to do the&amp;nbsp;&lt;code style=&quot;background: rgb(238, 238, 238); border: 0px; font-family: consolas, menlo, monaco, &amp;quot;lucida console&amp;quot;, &amp;quot;liberation mono&amp;quot;, &amp;quot;dejavu sans mono&amp;quot;, &amp;quot;bitstream vera sans mono&amp;quot;, &amp;quot;courier new&amp;quot;, monospace, serif; font-size: 13px; margin: 0px; padding: 1px 5px; vertical-align: baseline;&quot;&gt;stLight.options&lt;/code&gt;, and then wrap the entire thing inside of a function that won’t interfere with the global namespace, like this:&lt;br /&gt;
&lt;br /&gt;
&lt;script src=&quot;//pastebin.com/embed_js/pMWHSRfT&quot;&gt;&lt;/script&gt;
&lt;br /&gt;
Make sure to update your publisher ID in the code above if you copy / paste it.&lt;/div&gt;
&lt;div style=&quot;background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, &amp;quot;Bitstream Charter&amp;quot;, serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;&quot;&gt;
Source:&amp;nbsp;&lt;a href=&quot;https://techblog.willshouse.com/2014/06/07/sharethis-asynchronous-javascript-loading/&quot; rel=&quot;nofollow&quot;&gt;https://techblog.willshouse.com/2014/06/07/sharethis-asynchronous-javascript-loading/&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/2525249439453424245/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2016/08/sharethis-asynchronous-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/2525249439453424245'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/2525249439453424245'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2016/08/sharethis-asynchronous-javascript.html' title='ShareThis Asynchronous Javascript Loading'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-1545067724850438188</id><published>2014-09-23T23:23:00.001+05:30</published><updated>2014-09-23T23:26:18.912+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="database"/><category scheme="http://www.blogger.com/atom/ns#" term="input"/><category scheme="http://www.blogger.com/atom/ns#" term="mysql"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><category scheme="http://www.blogger.com/atom/ns#" term="sanitize"/><title type='text'>Sanitize Inputs in PHP</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3&gt;
1) Function for stripping out malicious bits&lt;/h3&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre class=&quot; language-javascript&quot; rel=&quot;PHP&quot;&gt;&lt;code class=&quot; language-javascript&quot;&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;?&lt;/span&gt;php
&lt;span class=&quot;token keyword&quot;&gt;function&lt;/span&gt; cleanInput&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
 
  $search &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; array&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;
    &lt;span class=&quot;token string&quot;&gt;&#39;@&lt;script&gt;]*?&gt;.*?&lt;/script&gt;@si&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;   &lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;// Strip out javascript
&lt;/span&gt;    &lt;span class=&quot;token string&quot;&gt;&#39;@&amp;lt;[\/\!]*?[^&amp;lt;&amp;gt;]*?&amp;gt;@si&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;            &lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;// Strip out HTML tags
&lt;/span&gt;    &lt;span class=&quot;token string&quot;&gt;&#39;@&lt;style&gt;]*?&gt;.*?&lt;/style&gt;@siU&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt;    &lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;// Strip style tags properly
&lt;/span&gt;    &lt;span class=&quot;token string&quot;&gt;&#39;@&amp;lt;![\s\S]*?--[ \t\n\r]*&amp;gt;@&#39;&lt;/span&gt;         &lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;// Strip multi-line comments
&lt;/span&gt;  &lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
 
    $output &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; preg_replace&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$search&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; &lt;span class=&quot;token string&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;,&lt;/span&gt; $input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; $output&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
  &lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;token operator&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
2) Sanitization function &lt;/h3&gt;
Uses the function above, as well as adds slashes as to not screw up database functions.&lt;br /&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre class=&quot; language-javascript&quot; rel=&quot;PHP&quot;&gt;&lt;code class=&quot; language-javascript&quot;&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;?&lt;/span&gt;php
&lt;span class=&quot;token keyword&quot;&gt;function&lt;/span&gt; sanitize&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;is_array&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
        foreach&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input as $&lt;span class=&quot;token keyword&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;=&amp;gt;&lt;/span&gt;$val&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
            $output&lt;span class=&quot;token punctuation&quot;&gt;[&lt;/span&gt;$&lt;span class=&quot;token keyword&quot;&gt;var&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;]&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; sanitize&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$val&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot;&gt;else&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
        &lt;span class=&quot;token keyword&quot;&gt;if&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;get_magic_quotes_gpc&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt; &lt;span class=&quot;token punctuation&quot;&gt;{&lt;/span&gt;
            $input &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; stripslashes&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
        &lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
        $input  &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; cleanInput&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
        $output &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; mysql_real_escape_string&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$input&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
    &lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
    &lt;span class=&quot;token keyword&quot;&gt;return&lt;/span&gt; $output&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token punctuation&quot;&gt;}&lt;/span&gt;
&lt;span class=&quot;token operator&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;h3&gt;
Usage&lt;/h3&gt;
&lt;pre class=&quot; language-javascript&quot; rel=&quot;PHP&quot;&gt;&lt;code class=&quot; language-javascript&quot;&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;?&lt;/span&gt;php
  $bad_string &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; &quot;Hi&lt;span class=&quot;token operator&quot;&gt;!&lt;/span&gt; &lt;span class=&quot;token operator&quot;&gt;&amp;lt;&lt;/span&gt;script src&lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt;&#39;http&lt;span class=&quot;token punctuation&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;//www.evilsite.com/bad_script.js&#39;&amp;gt;&amp;lt; /script&amp;gt; It&#39;s a good day!&quot;;
&lt;/span&gt;  $good_string &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; sanitize&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$bad_string&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;token comment&quot; spellcheck=&quot;true&quot;&gt;
&lt;/span&gt;  $_POST &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; sanitize&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$_POST&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
  $_GET  &lt;span class=&quot;token operator&quot;&gt;=&lt;/span&gt; sanitize&lt;span class=&quot;token punctuation&quot;&gt;(&lt;/span&gt;$_GET&lt;span class=&quot;token punctuation&quot;&gt;)&lt;/span&gt;&lt;span class=&quot;token punctuation&quot;&gt;;&lt;/span&gt;
&lt;span class=&quot;token operator&quot;&gt;?&lt;/span&gt;&lt;span class=&quot;token operator&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h3&gt;
&lt;/h3&gt;
&lt;span class=&quot;token operator&quot;&gt;&lt;/span&gt;&lt;a href=&quot;http://css-tricks.com/snippets/php/sanitize-database-inputs/&quot; rel=&quot;nofollow&quot; target=&quot;_blank&quot;&gt;Reference URL&lt;/a&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/1545067724850438188/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/09/sanitize-inputs-in-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1545067724850438188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1545067724850438188'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/09/sanitize-inputs-in-php.html' title='Sanitize Inputs in PHP'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-2161248953001185962</id><published>2014-09-23T22:21:00.003+05:30</published><updated>2014-09-23T22:21:45.047+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="auto ffmpeg"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Enable ffmpeg-php in cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg-php"/><title type='text'>Auto-FFmpeg-cPanel :: Auto FFMpeg Installer for cPanel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;Auto FFMpeg Installer for cPanel&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
Auto FFMpeg Installer for cPanel w/CentOS 6+&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/auto-ffmpeg-cpanel#requirements&quot; name=&quot;user-content-requirements&quot;&gt;&lt;/a&gt;Requirements:&lt;/h4&gt;
&lt;ul class=&quot;task-list&quot;&gt;
&lt;li&gt;CentOS 6+&lt;/li&gt;
&lt;li&gt;PuTTY&lt;/li&gt;
&lt;li&gt;cPanel&lt;/li&gt;
&lt;/ul&gt;
That&#39;s all! Did you expected more? &lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/auto-ffmpeg-cpanel#why-use-this-&quot; name=&quot;user-content-why-use-this-&quot;&gt;&lt;/a&gt;Why use this ?&lt;/h4&gt;
Installation of FFMPEG is treated as the toughest installations as it has many dependencies.
So I made this script, to simply the issues.
Check with the below steps for easy installation.&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/auto-ffmpeg-cpanel#installation&quot; name=&quot;user-content-installation&quot;&gt;&lt;/a&gt;Installation:&lt;/h4&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; yum update -y
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; yum install wget -y
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; wget --no-check-certificate &lt;span class=&quot;s2&quot;&gt;&quot;https://raw.githubusercontent.com/itseasy21/auto-ffmpeg-cpanel/master/install-ffmpeg.sh&quot;&lt;/span&gt; -O /root/install-ffmpeg.sh
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; /root
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; chmod +x install-ffmpeg.sh
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; ./install-ffmpeg.sh
&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/2161248953001185962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/09/auto-ffmpeg-cpanel-auto-ffmpeg.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/2161248953001185962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/2161248953001185962'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/09/auto-ffmpeg-cpanel-auto-ffmpeg.html' title='Auto-FFmpeg-cPanel :: Auto FFMpeg Installer for cPanel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-690018741296676418</id><published>2014-09-23T22:19:00.004+05:30</published><updated>2014-09-23T22:19:50.140+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Enable ffmpeg-php in linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg-php"/><category scheme="http://www.blogger.com/atom/ns#" term="github"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Auto-FFmpeg :: Auto FFMpeg Installer for CentOS 6+</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;auto-ffmpeg&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://travis-ci.org/itseasy21/auto-ffmpeg&quot;&gt;&lt;img alt=&quot;Build Status&quot; data-canonical-src=&quot;https://travis-ci.org/itseasy21/auto-ffmpeg.svg?branch=master&quot; src=&quot;https://camo.githubusercontent.com/3fc351207e668af407b973392ab3f7bdb06711ca/68747470733a2f2f7472617669732d63692e6f72672f6974736561737932312f6175746f2d66666d7065672e7376673f6272616e63683d6d6173746572&quot; style=&quot;max-width: 100%;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;


Auto FFMpeg Installer for CentOS 6+ and other Control Panel that support CentOS 6+ (eg Kloxo, ZPanel etc)&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/auto-ffmpeg#requirements&quot; name=&quot;user-content-requirements&quot;&gt;&lt;/a&gt;Requirements:&lt;/h4&gt;
&lt;ul class=&quot;task-list&quot;&gt;
&lt;li&gt;CentOS 6+&lt;/li&gt;
&lt;li&gt;PuTTY&lt;/li&gt;
&lt;/ul&gt;
That&#39;s all! Did you expected more? &lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/auto-ffmpeg#why-use-this-&quot; name=&quot;user-content-why-use-this-&quot;&gt;&lt;/a&gt;Why use this ?&lt;/h4&gt;
Installation of FFMPEG is treated as the toughest installations as it has many dependencies.
So I made this script, to simply the issues.
Check with the below steps for easy installation.&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/auto-ffmpeg#installation&quot; name=&quot;user-content-installation&quot;&gt;&lt;/a&gt;Installation:&lt;/h4&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; yum update -y
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; yum install wget -y
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; wget --no-check-certificate &lt;span class=&quot;s2&quot;&gt;&quot;https://raw.githubusercontent.com/itseasy21/auto-ffmpeg/master/install-ffmpeg.sh&quot;&lt;/span&gt; -O /root/install-ffmpeg.sh
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; /root
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; chmod +x install-ffmpeg.sh
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; ./install-ffmpeg.sh
&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/690018741296676418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/09/auto-ffmpeg-auto-ffmpeg-installer-for.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/690018741296676418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/690018741296676418'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/09/auto-ffmpeg-auto-ffmpeg-installer-for.html' title='Auto-FFmpeg :: Auto FFMpeg Installer for CentOS 6+'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-4536175375038555067</id><published>2014-09-23T22:17:00.001+05:30</published><updated>2014-09-23T22:17:29.558+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="github"/><category scheme="http://www.blogger.com/atom/ns#" term="varnish"/><category scheme="http://www.blogger.com/atom/ns#" term="w3tools"/><category scheme="http://www.blogger.com/atom/ns#" term="whm"/><title type='text'>W3tools-Varnish : Varnish Cache Inegration in cPanel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1 style=&quot;text-align: center;&quot;&gt;
&lt;span style=&quot;background-color: #cfe2f3;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;u&gt;w3tools-varnish&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;
&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/w3tools-varnish#varnish-cache-integration-in-cpanel&quot; name=&quot;user-content-varnish-cache-integration-in-cpanel&quot;&gt;&lt;/a&gt;&lt;u&gt;Varnish Cache Integration in cPanel&lt;/u&gt;&lt;/h4&gt;
Varnish Cache is a web application accelerator also known as a 
caching HTTP reverse proxy. You install it in front of any server that 
speaks HTTP and configure it to cache the contents.&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/w3tools-varnish#installation&quot; name=&quot;user-content-installation&quot;&gt;&lt;/a&gt;&lt;u&gt;Installation:&lt;/u&gt;&lt;/h4&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; yum update -y
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; yum install wget -y
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; wget &lt;span class=&quot;s2&quot;&gt;&quot;https://raw.githubusercontent.com/itseasy21/w3tools-varnish/master/install.sh&quot;&lt;/span&gt; -O /root/varnish-install.sh
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;cd&lt;/span&gt; /root
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; chmod +x varnish-install.sh
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; ./varnish-install.sh
&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/4536175375038555067/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/09/w3tools-varnish-varnish-cache.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4536175375038555067'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4536175375038555067'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/09/w3tools-varnish-varnish-cache.html' title='W3tools-Varnish : Varnish Cache Inegration in cPanel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-8028851186455890828</id><published>2014-09-22T18:55:00.000+05:30</published><updated>2014-09-22T20:27:25.937+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="apachebooster"/><category scheme="http://www.blogger.com/atom/ns#" term="github"/><category scheme="http://www.blogger.com/atom/ns#" term="itseasy21"/><category scheme="http://www.blogger.com/atom/ns#" term="nginx"/><category scheme="http://www.blogger.com/atom/ns#" term="varnish"/><title type='text'>ApacheBooster v2.3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h1&gt;
ApacheBooster&lt;/h1&gt;
NOTE: This is the only working version of ApacheBooster found on GitHub :D&lt;br /&gt;


Current Release: V2.3&lt;br /&gt;


&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre&gt;&lt;code&gt;Nginx Version : 1.6.2
Varnish Version : 3.0.5
&lt;/code&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
ApacheBooster is a integration of nginx and varnish, this Plugin will
 reduce the server load spike and memory usage. Also the plugin will 
provide the maximum performance of your websites.&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/ApacheBooster#varnish&quot; name=&quot;user-content-varnish&quot;&gt;&lt;/a&gt;Varnish&lt;/h4&gt;
Varnish Cache is a web application accelerator also known as a 
caching HTTP reverse proxy. You install it in front of any server that 
speaks HTTP and configure it to cache the contents. Varnish Cache is 
really, really fast. It typically speeds up delivery with a factor of 
300 – 1000x, depending on your architecture. A high level overview of 
what Varnish does can be seen in the video attached to this web. Varnish
 performs really, really well. It is usually bound by the speed of the 
network, effectivly turning performance into a non-issue. We’ve seen 
Varnish delivering 20 Gbps on regular off-the-shelf hardware.&lt;br /&gt;


&lt;h4&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/ApacheBooster#nginx&quot; name=&quot;user-content-nginx&quot;&gt;&lt;/a&gt;Nginx&lt;/h4&gt;
Nginx is known for its high performance, stability, rich feature set, simple configuration, and low resource consumption.&lt;br /&gt;


Unlike traditional servers, Nginx doesn’t rely on threads to handle 
requests. Instead it uses a much more scalable event-driven 
(asynchronous) architecture. This architecture uses small, but more 
importantly, predictable amounts of memory under load.&lt;br /&gt;


&lt;h2&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/ApacheBooster#installationupgrade-instructions&quot; name=&quot;user-content-installationupgrade-instructions&quot;&gt;&lt;/a&gt;Installation/Upgrade instructions&lt;/h2&gt;
&lt;ol class=&quot;task-list&quot;&gt;
&lt;li&gt;Clone the installation folder onto your CPanel server:&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; git clone https://github.com/itseasy21/ApacheBooster.git
              OR
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; wget https://github.com/itseasy21/ApacheBooster/archive/master.zip -O ApacheBooster.zip
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; unzip ApacheBooster.zip
&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ol class=&quot;task-list&quot;&gt;
&lt;li&gt;Change the working directory to cloned or extracted folder:&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;ApacheBooster/apachebooster
              OR
&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; &lt;span class=&quot;nb&quot;&gt;cd &lt;/span&gt;ApacheBooster-master/apachebooster
&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;ol class=&quot;task-list&quot;&gt;
&lt;li&gt;Execute installation script and wait for it to finish:&lt;/li&gt;
&lt;/ol&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; sh install.sh
&lt;/pre&gt;
&lt;/div&gt;
&lt;/blockquote&gt;
&lt;h2&gt;
&lt;a class=&quot;anchor&quot; href=&quot;https://github.com/itseasy21/ApacheBooster#uninstallation-instructions&quot; name=&quot;user-content-uninstallation-instructions&quot;&gt;&lt;/a&gt;Uninstallation instructions:&lt;/h2&gt;
&lt;div class=&quot;highlight highlight-bash&quot;&gt;
&lt;pre&gt;1. Clone the ApacheBooster files onto your server.
2. Change the working directory to cloned folder.
&lt;span class=&quot;m&quot;&gt;3&lt;/span&gt;  execute uninstall script.&lt;/pre&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre&gt;&amp;nbsp;&lt;span class=&quot;nv&quot;&gt;$&amp;gt;&lt;/span&gt; sh uninstall
&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/8028851186455890828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/09/apachebooster-v23.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/8028851186455890828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/8028851186455890828'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/09/apachebooster-v23.html' title='ApacheBooster v2.3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-5414884379277235097</id><published>2014-09-10T21:25:00.002+05:30</published><updated>2014-09-10T21:25:56.697+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Enable ffmpeg-php in cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="Enable ffmpeg-php in linux"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg-php"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg_frame.c:421: error"/><category scheme="http://www.blogger.com/atom/ns#" term="make: *** [ffmpeg_movie.lo] Error 1"/><title type='text'>Enable ffmpeg-php in linux</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div class=&quot;entry&quot;&gt;
   The ffmpeg-php is a php extension used for accessing and 
retrieving information from media files both audio and vedio. Now 
ffmpeg-php which is Rarely used in web applications. This php extension 
is used for creating thumbnail images from movie files.&amp;nbsp; If you want to 
enable “ffmpeg-php” in the server, you have to manually download 
“ffmpeg-php” source files and compile it.&amp;nbsp; For enabling “ffmpeg-php” the
 server needs to have “&lt;a href=&quot;http://ffmpeg.sourceforge.net/index.php&quot;&gt;ffmpeg&lt;/a&gt;“, “GD” enabled and php version needs to be grater than 4.3.&lt;br /&gt;

The “ffmpeg-php” source files can be downloaded from the link http://sourceforge.net/projects/ffmpeg-php/files/ffmpeg-php/&lt;br /&gt;

You have to make sure your server is enabled with “ffmpeg” and “gd”&amp;nbsp; before proceeding with below steps.&lt;br /&gt;

&lt;blockquote&gt;
wget http://downloads.sourceforge.net/project/ffmpeg-php/ffmpeg-php/0.6.0/ffmpeg-php-0.6.0.tbz2?use_mirror=biznetnetworks&lt;br /&gt;
tar -jxvf ffmpeg-php-0.6.0.tbz2&lt;br /&gt;
cd ffmpeg-php-0.6.0&lt;br /&gt;
yum install php-devel gcc gcc-c++&lt;br /&gt;
/usr/bin/phpize&lt;/blockquote&gt;
Replace every instance of PIX_FMT_RGBA32 with PIX_FMT_RGB32 in 
ffmpeg_frame.c file in order to prevent compilation error like 
“ffmpeg_frame.c:421: error”.&amp;nbsp; Follow the below steps.&lt;br /&gt;

&lt;blockquote&gt;
perl -pi -e “s/PIX_FMT_RGBA32/PIX_FMT_RGB32/” ffmpeg_frame.c&lt;br /&gt;
./configure&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
echo “extension=ffmpeg.so” &amp;gt;&amp;gt; /etc/php.ini&lt;br /&gt;
service httpd restart&lt;br /&gt;
php -i | grep -i ffmpeg&lt;/blockquote&gt;
Sometimes you can also met with the error “make: *** 
[ffmpeg_movie.lo] Error 1″ while proceeding with compilation as below, 
you have to make changes accordingly in “ffmpeg_movie.c” file as 
described below.&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_open_movie_file’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:258: warning: 
‘av_open_input_file’ is deprecated (declared at 
/usr/local/include/libavformat/avformat.h:1170)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie___construct’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:311: error: ‘list_entry’ undeclared (first use in this function)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:311: error: (Each undeclared identifier is reported only once&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:311: error: for each function it appears in.)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:311: error: ‘le’ undeclared (first use in this function)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:346: error: expected ‘;’ before ‘new_le’&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:356: error: ‘new_le’ undeclared (first use in this function)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getComment’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:531: warning: ‘comment’ 
is deprecated (declared at 
/usr/local/include/libavformat/avformat.h:745)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:531: warning: ‘comment’ 
is deprecated (declared at 
/usr/local/include/libavformat/avformat.h:745)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getTitle’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:546: warning: ‘title’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:742)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:546: warning: ‘title’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:742)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAuthor’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:561: warning: ‘author’ is
 deprecated (declared at /usr/local/include/libavformat/avformat.h:743)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:561: warning: ‘author’ is
 deprecated (declared at /usr/local/include/libavformat/avformat.h:743)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getCopyright’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:575: warning: ‘copyright’
 is deprecated (declared at 
/usr/local/include/libavformat/avformat.h:744)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:575: warning: ‘copyright’
 is deprecated (declared at 
/usr/local/include/libavformat/avformat.h:744)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getAlbum’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:590: warning: ‘album’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:746)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:590: warning: ‘album’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:746)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getGenre’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:604: warning: ‘genre’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:749)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:604: warning: ‘genre’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:749)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getTrackNumber’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:619: warning: ‘track’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:748)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getYear’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:632: warning: ‘year’ is 
deprecated (declared at /usr/local/include/libavformat/avformat.h:747)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘zim_ffmpeg_movie_getPixelFormat’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:868: warning: 
‘avcodec_get_pix_fmt_name’ is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:3467)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_read_av_frame’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:1215: warning: 
‘avcodec_decode_video’ is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:3930)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c: In function ‘_php_get_av_frame’:&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:1282: warning: ‘hurry_up’
 is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:1389)&lt;br /&gt;
/usr/local/src/ffmpeg-php-0.6.0/ffmpeg_movie.c:1284: warning: ‘hurry_up’
 is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:1389)&lt;br /&gt;
make: *** [ffmpeg_movie.lo] Error 1&lt;br /&gt;

Make changes in ffmpeg_movie.c file as below and try again:&lt;br /&gt;

&lt;blockquote&gt;
row 311:&amp;nbsp; list_entry *le;&amp;nbsp;&amp;nbsp;&amp;nbsp; TO &amp;nbsp; &amp;nbsp;&amp;nbsp; zend_rsrc_list_entry *le;&lt;br /&gt;
row 346:&amp;nbsp; list_entry new_le;&amp;nbsp; TO &amp;nbsp;&amp;nbsp; zend_rsrc_list_entry new_le;&lt;br /&gt;
row 360:&amp;nbsp; hashkey_length+1, (void *)&amp;amp;new_le, sizeof(list_entry),&amp;nbsp;&amp;nbsp; 
TO &amp;nbsp; &amp;nbsp;&amp;nbsp; hashkey_length+1, (void 
*)&amp;amp;new_le,sizeof(zend_rsrc_list_entry),&lt;/blockquote&gt;
Verify if “ffmpeg” extension for php is enabled in the server.&lt;br /&gt;

&lt;blockquote&gt;
$ php -i | grep -i ffmpeg&lt;br /&gt;

You will get the below result if everything is fine.&lt;br /&gt;

ffmpeg&lt;br /&gt;
ffmpeg-php version =&amp;gt; 0.6.0-svn&lt;br /&gt;
ffmpeg-php built on =&amp;gt; Mar 24 2014 19:02:49&lt;br /&gt;
ffmpeg-php gd support&amp;nbsp; =&amp;gt; enabled&lt;br /&gt;
ffmpeg libavcodec version =&amp;gt; Lavc52.123.0&lt;br /&gt;
ffmpeg libavformat version =&amp;gt; Lavf52.111.0&lt;br /&gt;
ffmpeg swscaler version =&amp;gt; SwS0.14.1&lt;br /&gt;
ffmpeg.allow_persistent =&amp;gt; 0 =&amp;gt; 0&lt;br /&gt;
ffmpeg.show_warnings =&amp;gt; 0 =&amp;gt; 0&lt;br /&gt;
PWD =&amp;gt; /usr/local/src/ffmpeg-php-0.6.0&lt;br /&gt;
_SERVER[&quot;PWD&quot;] =&amp;gt; /usr/local/src/ffmpeg-php-0.6.0&lt;br /&gt;
_ENV[&quot;PWD&quot;] =&amp;gt; /usr/local/src/ffmpeg-php-0.6.0&lt;/blockquote&gt;
&lt;br /&gt;

     &lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/5414884379277235097/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/09/enable-ffmpeg-php-in-linux.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5414884379277235097'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5414884379277235097'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/09/enable-ffmpeg-php-in-linux.html' title='Enable ffmpeg-php in linux'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-5702391010235684712</id><published>2014-08-24T14:18:00.003+05:30</published><updated>2014-08-24T14:18:59.256+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos 5"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS | Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="varnish"/><category scheme="http://www.blogger.com/atom/ns#" term="whm"/><title type='text'>How to install Varnish Cache [CPANEL]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;Varnish Cache is a web accelerator&lt;/span&gt;, sometimes referred to as a HTTP accelerator or a reverse HTTP proxy, that will significantly enhance your web performance.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Varnish speeds up a website by storing a copy of the page served by the web server the first time a user visits that page. The next time a user requests the same page, Varnish will serve the copy instead of requesting the page from the web server.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
This means that your web server needs to handle less traffic and your website’s performance and scalability go through the roof. In fact Varnish Cache is often the single most critical piece of software in a web based business.&lt;/div&gt;
&lt;h3 style=&quot;background-color: #eeeeee; color: #26475e; font-family: Arial, &#39;Trebuchet MS&#39;, Verdana; font-size: 22px; letter-spacing: -0.3px; margin: 20px 0px 0px; padding: 0px;&quot;&gt;
How to install varnish cache on cpanel&lt;/h3&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
First, you need to change Apache listening port to another port 82 or anything else.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;vi /etc/httpd/conf/httpd.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
or you can change via&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;WHM -&amp;gt; Tweak Settings -&amp;gt;&lt;/span&gt;&amp;nbsp;set value of field&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;Apache non-SSL IP/port&lt;/span&gt;&amp;nbsp;to 82.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
You can install varnish through YUM or manually download varnish RPM.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;yum install varnish&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
or&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
for EL6&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;wget http://repo.varnish-cache.org/redhat/varnish-3.0/el6/noarch/varnish-release-3.0-1.el6.noarch.rpm&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;rpm ivh varnish-release-3.0-1.el6.noarch.rpm&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Once installation completed, Edit configuration file and change listening port to&amp;nbsp;&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: green;&quot;&gt;80&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;vi /etc/sysconfig/varnish&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: green;&quot;&gt;VARNISH_LISTEN_PORT=80&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Edit proxy settings in varnish&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;vi /etc/varnish/default.vcl&lt;/span&gt;&amp;nbsp;or check with&amp;nbsp;&lt;span style=&quot;color: maroon;&quot;&gt;/usr/local/varnish/etc/varnish/vhost.vcl&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background: rgb(238, 238, 238); border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;backend default {
.host = &quot;184.82.165.4&quot;;
.port = &quot;82&quot;;
}

sub vcl_recv {
if (req.url ~ &quot;\.(png|gif|jpg|swf|css|js)$&quot;) {
return(lookup);
}
}

# strip the cookie before the image is inserted into cache.

sub vcl_fetch {
if (req.url ~ &quot;\.(png|gif|jpg|swf|css|js)$&quot;) {
unset beresp.http.set-cookie;
}
}&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Enable&amp;nbsp;&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;chkconfig&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/span&gt;and restart varnish service&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;chkconfig varnish on&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: maroon;&quot;&gt;service varnish start&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Thats all… You can monitor varnish cache through this&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;monitoring tool&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;varnishstat&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/5702391010235684712/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/08/how-to-install-varnish-cache-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5702391010235684712'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5702391010235684712'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/08/how-to-install-varnish-cache-cpanel.html' title='How to install Varnish Cache [CPANEL]'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-7803932152602484795</id><published>2014-08-24T11:41:00.000+05:30</published><updated>2014-08-24T11:41:00.154+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos 5"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><title type='text'>Auto fix for file permissions and ownership [CPANEL]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
suPHP and FastCGI require files and folders to have a specific set of permissions/ownership from other handlers. Without these permissions set you will see a lot of errors such as: “403 Forbidden”, “500 Internal Server Error”, or simply generic errors that commonly have the word ‘permission’ in them.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
It can be very time consuming to track down and check file permissions across a whole server. Luckily, fixing this on a cPanel box can be scripted. This gives us a quick and very easy script you can wget to any cPanel server. Simply run the ‘fixperms’ script, specifying the user (or all users), sit back and watch the errors just disappear. I use this script daily in my administrative work and it never fails! It is simply a good generic fix if you cannot find your permission problem, or if you have just switched your handler and need a quick way to change every user account on the server.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; float: none; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 10px 0px; text-align: center; word-wrap: break-word;&quot;&gt;
&lt;div id=&quot;google-ads-link-unit&quot; style=&quot;word-wrap: break-word;&quot;&gt;
&lt;ins id=&quot;aswift_0_expand&quot; style=&quot;background-color: transparent; border: none; display: inline-table; height: 15px; margin: 0px; padding: 0px; position: relative; text-decoration: none; visibility: visible; width: 468px; word-wrap: break-word;&quot;&gt;&lt;ins id=&quot;aswift_0_anchor&quot; style=&quot;background-color: transparent; border: none; display: block; height: 15px; margin: 0px; padding: 0px; position: relative; text-decoration: none; visibility: visible; width: 468px; word-wrap: break-word;&quot;&gt;&lt;iframe __idm_frm__=&quot;6&quot; allowfullscreen=&quot;true&quot; allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;15&quot; hspace=&quot;0&quot; id=&quot;aswift_0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;aswift_0&quot; scrolling=&quot;no&quot; style=&quot;left: 0px; position: absolute; top: 0px; word-wrap: break-word;&quot; vspace=&quot;0&quot; width=&quot;468&quot;&gt;&lt;/iframe&gt;&lt;/ins&gt;&lt;/ins&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
Credit does not go to me though. A good buddy of mine,&amp;nbsp;&lt;a href=&quot;http://colinrd.com/&quot; style=&quot;color: #4d8b97; text-decoration: none; word-wrap: break-word;&quot; target=&quot;_blank&quot;&gt;Colin R.&lt;/a&gt;, wrote this for ServInt. Thanks Colin for making lives easier!&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;word-wrap: break-word;&quot;&gt;***WARNING!!!&lt;/strong&gt;&amp;nbsp;The following scripts are intended for&amp;nbsp;&lt;strong style=&quot;word-wrap: break-word;&quot;&gt;suPHP&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong style=&quot;word-wrap: break-word;&quot;&gt;FastCGI&lt;/strong&gt;. If you are not running either of these two handlers, be aware of how the script works and the changes it makes. The code is posted at the end of this article; please take a moment to review it. For example, when running DSO, some files/folders may need to be owned by ‘nobody’ in order to function properly (such as in certain WordPress functions or PHP based file uploads). Running this fixperms will set everything to USER:USER. Under DSO, this is potentially not a problem for most sites, except a few core functions may not work. You can always change specific files later if any errors pop up.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
Furthermore, it is highly recommended that you run a full backup of your server before running fixperms or any other script that makes changes to multiple files.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
This ‘fixperms’ script is intended for cPanel servers only. It is dependent on cPanel’s internal scripts and file structure. If you’re on anything else (such as Plesk), it will simply fail to run. It won’t be able to do anything.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
I know that criteria sounds very specific, but those two conditions cover a large number of the reseller/multi-user hosting servers out there. And that’s really the crowd that would benefit most from an automated script such as this.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
That all being said, if you are running suPHP or FastCGI, press on; for this script will work flawlessly for you and potentially save you a TON of time &amp;amp; hassle.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 30px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
Fixperms – for one single user&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
To use the fixperms script, simply log into your server as root, wget the file from our server, then run it. Type in the cPanel username and it will run only for that particular account.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
It does not matter which directory you are in when you run fixperms. You can be in the user’s home directory, the server root, etc. The script will not affect anything outside of the particular user’s folder.&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-53f980f5ec81e665047823&quot; style=&quot;background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #333333; direction: ltr !important; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-weight: inherit !important; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background: -24px 0px no-repeat rgb(188, 188, 188); border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button crayon-pressed&quot; style=&quot;background: -24px 0px no-repeat rgb(188, 188, 188); border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) -24px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;click&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 40px; line-height: 20px !important; margin: 0px; opacity: 1; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; white-space: pre; width: 578px; word-wrap: normal; z-index: 1;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px 50%; border: 0px; margin: 0px; opacity: 0; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 0;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; white-space: nowrap; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-53f980f5ec81e665047823-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-53f980f5ec81e665047823-2&quot; style=&quot;background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-53f980f5ec81e665047823-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;wget &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;boomshadow&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.net&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;utils&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.sh&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-53f980f5ec81e665047823-2&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;USER&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;NAME&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 30px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
Fixperms – for all of the users&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
If you would like fix the permissions for every user on your cPanel server, simply use the ‘-all’ option:&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-53f980f5ec834010874197&quot; style=&quot;background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #333333; direction: ltr !important; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-weight: inherit !important; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background: -24px 0px no-repeat rgb(188, 188, 188); border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;click&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 65px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; white-space: pre; width: 578px; word-wrap: normal; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px 50%; border: 0px; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; white-space: nowrap; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-53f980f5ec834010874197-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-53f980f5ec834010874197-2&quot; style=&quot;background: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-53f980f5ec834010874197-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;wget &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;boomshadow&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.net&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;utils&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.sh&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-53f980f5ec834010874197-2&quot; style=&quot;background: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;all&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 20px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
Verbosity of Fixperms&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
By default, the script runs in a ‘quiet’ mode with minimal display. However, if you’re like me, you may want to see everything that is happening. You can turn on verbosity and have the script print to the screen everything that is being changed. I find this extremely useful when fixing large accounts that have many files. You can watch the changes as a sort of ‘progress bar’ of completion. The ‘-v’ option can be used per account or with all accounts.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
For one single account:&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-53f980f5ec845114823575&quot; style=&quot;background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #333333; direction: ltr !important; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-weight: inherit !important; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background: -24px 0px no-repeat rgb(188, 188, 188); border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;click&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 45px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; white-space: pre; width: 578px; word-wrap: normal; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px 50%; border: 0px; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; white-space: nowrap; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-53f980f5ec845114823575-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-53f980f5ec845114823575-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;USER&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;NAME&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
For all accounts:&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes notranslate&quot; data-settings=&quot; minimize scroll-mouseover&quot; id=&quot;crayon-53f980f5ec850129444310&quot; style=&quot;background: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; color: #333333; direction: ltr !important; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background: 0px 50%; border: 0px; float: right !important; font-family: inherit; font-weight: inherit !important; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-nums-button crayon-pressed&quot; style=&quot;background: -24px 0px no-repeat rgb(188, 188, 188); border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Numbers&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) -24px -32px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -112px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Copy&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: 0px 50%; background-repeat: no-repeat; background-size: initial; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png) 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;click&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 45px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; white-space: pre; width: 578px; word-wrap: normal; z-index: 0;&quot; wrap=&quot;soft&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background: 0px 50%; border: 0px; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; white-space: nowrap; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-53f980f5ec850129444310-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-53f980f5ec850129444310-1&quot; style=&quot;background: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; word-wrap: break-word;&quot;&gt;all&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; float: none; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 10px 0px; text-align: center; word-wrap: break-word;&quot;&gt;
&lt;div id=&quot;google-ads-banner-in-posts&quot; style=&quot;word-wrap: break-word;&quot;&gt;
&lt;ins id=&quot;aswift_1_expand&quot; style=&quot;background-color: transparent; border: none; display: inline-table; height: 60px; margin: 0px; padding: 0px; position: relative; text-decoration: none; visibility: visible; width: 468px; word-wrap: break-word;&quot;&gt;&lt;ins id=&quot;aswift_1_anchor&quot; style=&quot;background-color: transparent; border: none; display: block; height: 60px; margin: 0px; padding: 0px; position: relative; text-decoration: none; visibility: visible; width: 468px; word-wrap: break-word;&quot;&gt;&lt;iframe __idm_frm__=&quot;8&quot; allowfullscreen=&quot;true&quot; allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;60&quot; hspace=&quot;0&quot; id=&quot;aswift_1&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;aswift_1&quot; scrolling=&quot;no&quot; style=&quot;left: 0px; position: absolute; top: 0px; word-wrap: break-word;&quot; vspace=&quot;0&quot; width=&quot;468&quot;&gt;&lt;/iframe&gt;&lt;/ins&gt;&lt;/ins&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 30px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
The code itself, what’s in it?&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
I understand that it can be a big security concern to simply ‘wget’ a file from a website you found, and then blindly run it on a production server. I understand your fear; I’m right there with you and would likewise be leery and very hesitant. However, I promise you that there is no malicious intent in this or anything you will ever get from my site. I have pasted the content of the file below for your examination.&lt;/div&gt;
&lt;div class=&quot;scdom-wrapper&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;scdom-accordions-widget&quot; style=&quot;border: 0px; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;scdom-accordions-title&quot; style=&quot;border: 0px; font-family: inherit; font-size: 10px; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 1.5em 0px 0px; padding: 0px; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;h6 class=&quot;scdom-accordions-trigger-green&quot; style=&quot;-webkit-background-clip: padding-box; -webkit-box-shadow: rgb(249, 252, 246) 0px 1px 0px 0px inset; background: url(http://boomshadow.net/wp-content/plugins/sc-domination/img/accordions/arrow_down_green.png) 98% 50% no-repeat, -webkit-linear-gradient(top, rgb(200, 228, 168), rgb(175, 216, 129)) 98% 50% rgb(200, 228, 168); border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(150, 204, 90); box-shadow: rgb(249, 252, 246) 0px 1px 0px 0px inset; color: #75ad35; font-family: ChunkFiveRegular, Tahoma, Verdana, Segoe, Helmet, Freesans, sans-serif; font-size: 1.6em; font-style: inherit; font-variant: inherit; font-weight: normal; line-height: 1em; margin: 0px; padding: 16px 63px 17px 18px; text-rendering: optimizelegibility; text-shadow: rgb(224, 240, 207) 0px 1px 0px; text-transform: capitalize; vertical-align: baseline; word-wrap: break-word;&quot;&gt;
&lt;a href=&quot;http://boomshadow.net/tech/fixes/fixperms-script/#&quot; style=&quot;-webkit-animation: none; border: 0px; color: #75ad35; font-family: inherit; font-size: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; text-transform: none; vertical-align: baseline; white-space: pre-wrap; word-break: break-word; word-wrap: break-word;&quot;&gt;Click here to see the code:&lt;/a&gt;&lt;/h6&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;scdom-clear-fix&quot; style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; word-wrap: break-word; zoom: 1;&quot;&gt;
&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
So there you have it. An effective permissions fix for your cPanel account. When you run this, people will think you’re a hero! So, go forth and save your users from the evils of site errors!&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/7803932152602484795/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/08/auto-fix-for-file-permissions-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/7803932152602484795'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/7803932152602484795'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/08/auto-fix-for-file-permissions-and.html' title='Auto fix for file permissions and ownership [CPANEL]'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-4036688842685310052</id><published>2014-01-31T16:54:00.001+05:30</published><updated>2014-01-31T16:54:45.825+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 5"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="MOD_PAGESPEED"/><title type='text'>How to install mod pagespeed on cpanel server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;mod_pagespeed&lt;/span&gt;&amp;nbsp;speeds up your site and reduces page load time. This open-source Apache HTTP server module automatically applies web performance best practices to pages, and associated assets (CSS, JavaScript, images) without requiring that you modify your existing content or workflow.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Features&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Automatic website and asset optimization&lt;br /&gt;Latest web optimization techniques&lt;br /&gt;40+ configurable optimization filters&lt;br /&gt;Free, open-source, and frequently updated&lt;br /&gt;Deployed by individual sites, hosting providers, CDNs&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;a data-slb-active=&quot;1&quot; data-slb-group=&quot;240&quot; data-slb-internal=&quot;0&quot; href=&quot;http://www.cpanelkb.net/wp-content/uploads/2013/05/mod_pagespeed.jpg&quot; style=&quot;color: #016db9;&quot;&gt;&lt;img alt=&quot;mod_pagespeed&quot; class=&quot;size-medium wp-image-537 alignright&quot; height=&quot;93&quot; src=&quot;http://1-ps.googleusercontent.com/h/www.cpanelkb.net/wp-content/uploads/2013/05/300x93xmod_pagespeed-300x93.jpg.pagespeed.ic.k9HiHHBmMd.webp&quot; style=&quot;border: 0px;&quot; width=&quot;300&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Pagespeed requires mod deflate module. You can verify this module whether installed on your server.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;httpd -l | grep mod_deflate&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
or try to install mod deflate&amp;nbsp;&lt;a href=&quot;http://www.gnutoolbox.com/moddeflate-cpanel/&quot; style=&quot;color: #016db9;&quot;&gt;http://www.gnutoolbox.com/moddeflate-cpanel/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
How to install mod pagespeed on cpanel server?&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution : 1&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Installing mod_pagespeed for cPanel Apache installation on CentOS is really quite easy. Connect your server SSH via root user.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;cd /usr/local/src&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;mkdir mod_pagespeed&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;cd mod_pagespeed&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Download the mod_pagespeed RPM to build. Please make sure which arch is your server. If you have a 32-bit install of CentOS you can find your appropriate package on Google’s Installing mod_pagespeed From Packages page.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;yum install at&amp;nbsp; # if you do not already have ‘at’ installed&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Mostly apache version 2.2 support for this mod pagespeed version&amp;nbsp;&lt;span style=&quot;color: black;&quot;&gt;(h&lt;/span&gt;&lt;/span&gt;ttpd &amp;gt;= 2.2 is needed by mod-pagespeed-stable-1.4.26.4-3396.x86_64)&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;wget https://dl-ssl.google.com/dl/linux/direct/mod-pagespeed-stable_current_x86_64.rpm&lt;/span&gt;

rpm2cpio mod-pagespeed-stable_current_x86_64.rpm | cpio -idmv&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Copy mod pagespeed.so file to apache module directory&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;cp usr/lib64/httpd/modules/mod_pagespeed.so /usr/local/apache/modules/

chmod 755 /usr/local/apache/modules/mod_pagespeed.so

mkdir -p /var/mod_pagespeed/{cache,files}

chown nobody.nobody /var/mod_pagespeed/*&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Open pagespeed configuration file.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;vi /usr/local/apache/conf/pagespeed.conf&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;LoadModule pagespeed_module /usr/local/apache/modules/mod_pagespeed.so

&lt;ifmodule pagespeed_module=&quot;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; ModPagespeed on
ModPagespeedFetchWithGzip on
SetOutputFilter DEFLATE

&amp;nbsp;&amp;nbsp;&amp;nbsp; AddOutputFilterByType MOD_PAGESPEED_OUTPUT_FILTER text/html

ModPagespeedFileCachePath&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/var/mod_pagespeed/cache/&quot;
ModPagespeedGeneratedFilePrefix&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &quot;/var/mod_pagespeed/files/&quot;

ModPagespeedRewriteLevel PassThrough

ModPagespeedFileCacheSizeKb&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 102400
ModPagespeedFileCacheCleanIntervalMs 3600000
ModPagespeedLRUCacheKbPerProcess&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1024
ModPagespeedLRUCacheByteLimit&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16384
ModPagespeedCssInlineMaxBytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048
ModPagespeedImageInlineMaxBytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048
ModPagespeedCssImageInlineMaxBytes&amp;nbsp;&amp;nbsp; 2048
ModPagespeedJsInlineMaxBytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2048
ModPagespeedCssOutlineMinBytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000
ModPagespeedJsOutlineMinBytes&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3000

ModPagespeedEnableFilters extend_cache,combine_css,move_css_to_head,rewrite_javascript,rewrite_images,add_head,rewrite_css,collapse_whitespace,remove_comments,remove_quotes,sprite_images,convert_meta_tags
ModPagespeedRespectVary on

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;location mod_pagespeed_beacon=&quot;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetHandler mod_pagespeed_beacon
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/location&gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;location mod_pagespeed_statistics=&quot;&quot;&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Order allow,deny
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow from localhost
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Allow from 127.0.0.1
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SetHandler mod_pagespeed_statistics
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/location&gt;&lt;/ifmodule&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Make a copy of your apache configuration httpd.conf file.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;cp /usr/local/apache/conf/httpd.conf /usr/local/apache/conf/httpd.conf_back&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Edit and include the pagespeed configuration.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;vi /usr/local/apache/conf/httpd.conf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;Include “/usr/local/apache/conf/pagespeed.conf”&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Save and restart apache service.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;/etc/init.d/httpd restart&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Thats finished… Test your page speed modules on website headers.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
curl -I http://yourwebsite.com&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
HTTP/1.1 200 OK&lt;br /&gt;Date: Wed, 17 Oct 2012 06:58:03 GMT&lt;br /&gt;Server: Apache&lt;br /&gt;X-Mod-Pagespeed: 1.0.22.7-2005&lt;br /&gt;Cache-Control: max-age=0, no-cache&lt;br /&gt;Vary: Accept-Encoding&lt;br /&gt;Connection: close&lt;br /&gt;Content-Type: text/html&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
You have successfully installed mod_pagespeed module on your cPanel server.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;Solution : 2&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: #eeeeee; color: #26475e; font-family: Arial, &#39;Trebuchet MS&#39;, Verdana; font-size: 22px; letter-spacing: -0.3px; margin: 20px 0px 0px; padding: 0px;&quot;&gt;
Mod_Pagespeed&amp;nbsp; install using easyapache&lt;/h3&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
You can install it by using following steps&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;&amp;nbsp;wget http://prajith.in/scripts/mod_pagespeed-cust-opts.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;tar -C /var/cpanel/easy/apache/custom_opt_mods&amp;nbsp; -xzf mod_pagespeed-cust-opts.tar.gz&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Thats it, now you can run and enable mod pagespeed&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;/scripts/easyapache&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;Solution : 3&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: #eeeeee; color: #26475e; font-family: Arial, &#39;Trebuchet MS&#39;, Verdana; font-size: 22px; letter-spacing: -0.3px; margin: 20px 0px 0px; padding: 0px;&quot;&gt;
Install Google’s mod_pagespeed.&lt;/h3&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Create a file called&amp;nbsp;&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;/etc/yum.repos.d/mod-pagespeed.repo&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;For 32-Bit&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;[mod-pagespeed]
name=mod-pagespeed
baseurl=http://dl.google.com/linux/mod-pagespeed/rpm/stable/i386
enabled=1
gpgcheck=0&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;For 64-Bit&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;[mod-pagespeed]
name=mod-pagespeed
baseurl=http://dl.google.com/linux/mod-pagespeed/rpm/stable/x86_64
enabled=1
gpgcheck=0&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Install mod_pagespeed module through Yum&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: maroon;&quot;&gt;yum install at&amp;nbsp; # if you do not already have ‘at’ installed&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;yum --enablerepo=mod-pagespeed install mod-pagespeed&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Above command creates following directories and files.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;/etc/cron.daily/mod-pagespeed&lt;/span&gt;&amp;nbsp;: mod_pagespeed cron script for checking and installing latest updates.&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;/etc/httpd/conf.d/pagespeed.conf&lt;/span&gt;&amp;nbsp;: The main configuration file for Apache.&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;/usr/lib/httpd/modules/mod_pagespeed.so&lt;/span&gt;&amp;nbsp;: mod_pagespeed module for Apache.&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;/var/www/mod_pagespeed/cache&lt;/span&gt;&amp;nbsp;: File caching direcotry for web sites.&lt;br /&gt;&lt;span style=&quot;color: black;&quot;&gt;/var/www/mod_pagespeed/files&lt;/span&gt;&amp;nbsp;: File generate prefix for web sites.&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Please make sure&amp;nbsp;&lt;span style=&quot;font-style: inherit; font-weight: inherit;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;mod_pagespeed.so&lt;/span&gt;&lt;/span&gt;&amp;nbsp;file included in your httpd.conf.&lt;br /&gt;To verify mod_pagespeed module, create php info page anywhere in your domain or localhost and check it.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
You will see “X-Mod-Pagespeed” section in the HTTP header, like&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;X-Mod-Pagespeed&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Turning the Module On and Off&lt;/div&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
If you don’t want to use mod_pagespeed completely, you can Turn Off by inserting the following line to pagespeed.conf file at the top.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;ModPagespeed off&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Turn On module&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; font-size: 12px; overflow: auto;&quot;&gt;&lt;span style=&quot;color: maroon;&quot;&gt;ModPagespeed on&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: #eeeeee; color: #6f6f6f; font-family: Verdana, &#39;Trebuchet MS&#39;, Arial; font-size: 12px; line-height: 20px; margin-bottom: 10px; margin-top: 10px; padding: 0px;&quot;&gt;
Thats all..&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/4036688842685310052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/01/how-to-install-mod-pagespeed-on-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4036688842685310052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4036688842685310052'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/01/how-to-install-mod-pagespeed-on-cpanel.html' title='How to install mod pagespeed on cpanel server'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-6805452709158078805</id><published>2014-01-19T12:07:00.000+05:30</published><updated>2014-01-19T12:07:22.957+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3"/><category scheme="http://www.blogger.com/atom/ns#" term="effects"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="snippet"/><category scheme="http://www.blogger.com/atom/ns#" term="social"/><title type='text'>Social CSS Snippets and Ideas – Live Editable Examples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
We all know the importance of&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Social networks&lt;/strong&gt;, almost every website today has some sort of social media&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;share&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;like&lt;/strong&gt;&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;button&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this post, i will share some interesting&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;social CSS code snippets&lt;/strong&gt;&amp;nbsp;that i have gathered or made myself. You can use them as a starting point to make your own. Some of them are animated using CSS3, others are just buttons or icons.&amp;nbsp;They are easy to customize and you can play with them directly. I hope you will &amp;nbsp;find them useful and enjoy them as much as i did.&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;let the ideas flow&lt;/strong&gt;&amp;nbsp;!&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
CSS Live Editable Examples&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
All of the examples below are hosted on codepen, feel free to customize them to suit your needs.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.6em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Social CSS Snippet – example 1&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_HgrBF&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/HgrBF?height=&amp;amp;type=result&amp;amp;href=HgrBF&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=HgrBF&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.6em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Social CSS Snippet – example 2&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_sIxlq&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/sIxlq?height=&amp;amp;type=result&amp;amp;href=sIxlq&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=sIxlq&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.6em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Social CSS Snippet – example 3&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_jbdFJ&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/jbdFJ?height=&amp;amp;type=result&amp;amp;href=jbdFJ&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=jbdFJ&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.6em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Social CSS Snippet – example 4&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_wpLsi&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/wpLsi?height=&amp;amp;type=result&amp;amp;href=wpLsi&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=wpLsi&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.6em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Social CSS Snippet – example 5&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_hiyJo&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/hiyJo?height=&amp;amp;type=result&amp;amp;href=hiyJo&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=hiyJo&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.6em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Social CSS Snippet – example 6&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;125&quot; id=&quot;cp_embed_yKwHd&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/yKwHd?height=125&amp;amp;type=result&amp;amp;href=yKwHd&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=yKwHd&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.4em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Social CSS Snippets and Ideas – Live Editable Examples&lt;/strong&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
If you like those examples -share them !&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/6805452709158078805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/01/social-css-snippets-and-ideas-live.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6805452709158078805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6805452709158078805'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/01/social-css-snippets-and-ideas-live.html' title='Social CSS Snippets and Ideas – Live Editable Examples'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-8414726282327431744</id><published>2014-01-19T11:17:00.003+05:30</published><updated>2014-01-19T11:17:45.300+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="css"/><category scheme="http://www.blogger.com/atom/ns#" term="CSS3"/><category scheme="http://www.blogger.com/atom/ns#" term="hover"/><category scheme="http://www.blogger.com/atom/ns#" term="html"/><category scheme="http://www.blogger.com/atom/ns#" term="images"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>Simple &amp; Cool Live Examples of Image on hover Css effect</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
We will be playing with&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;Image on hover effects&amp;nbsp;&lt;/strong&gt;using&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/strong&gt;CSS &amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;One image&amp;nbsp;&lt;/strong&gt;only. I’ve created four simple examples that will work in all &amp;nbsp;browsers and another six cooler ones that will work only on webkit browsers.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
They are all hosted on&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Codepen&lt;/strong&gt;&amp;nbsp;so you can directly play with the code and learn in the process. I &amp;nbsp;didn’t &amp;nbsp;even make any extra&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;div&lt;/strong&gt;&amp;nbsp;to confuse you – all the images are in their main&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;IMG tag.&lt;/strong&gt;&amp;nbsp;I’ll try to keep it short and sweet so you can absorb it even if you never touched CSS before.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In all the examples below we use this two simple things&amp;nbsp;&lt;b style=&quot;margin: 0px; padding: 0px;&quot;&gt;:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
For CSS&lt;/div&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #f8f8f8; border: 1px solid rgb(136, 136, 136); color: #400404; font-style: italic; line-height: 24px; margin: 5px; max-height: 300px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;img &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;here &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; margin: 0px; padding: 0px;&quot;&gt;is&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt; the code of the initial state of the image&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
and&lt;/div&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #f8f8f8; border: 1px solid rgb(136, 136, 136); color: #400404; font-style: italic; line-height: 24px; margin: 5px; max-height: 300px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;img&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;hover &lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;{&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt; here &lt;/span&gt;&lt;span class=&quot;kwd&quot; style=&quot;color: #000088; margin: 0px; padding: 0px;&quot;&gt;is&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt; the code of the hover state of the image&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;}&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
For HTML&lt;/div&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #f8f8f8; border: 1px solid rgb(136, 136, 136); color: #400404; font-style: italic; line-height: 24px; margin: 5px; max-height: 300px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; margin: 0px; padding: 0px;&quot;&gt;&lt;img span=&quot;&quot; /&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066; margin: 0px; padding: 0px;&quot;&gt;src&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800; margin: 0px; padding: 0px;&quot;&gt;&quot;http://link to the image&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
This extra div below ↓ is used &amp;nbsp;to center things on the Screen JUST IGNORE IT&lt;/div&gt;
&lt;pre class=&quot;prettyprint prettyprinted&quot; style=&quot;background-color: #f8f8f8; border: 1px solid rgb(136, 136, 136); color: #400404; font-style: italic; line-height: 24px; margin: 5px; max-height: 300px; overflow: auto; padding: 10px;&quot;&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; margin: 0px; padding: 0px;&quot;&gt;&lt;div span=&quot;&quot;&gt;
&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;atn&quot; style=&quot;color: #660066; margin: 0px; padding: 0px;&quot;&gt;style&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;=&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800; margin: 0px; padding: 0px;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;text&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;align&lt;/span&gt;&lt;span class=&quot;pun&quot; style=&quot;color: #666600; margin: 0px; padding: 0px;&quot;&gt;:&lt;/span&gt;&lt;span class=&quot;pln&quot; style=&quot;color: black; margin: 0px; padding: 0px;&quot;&gt;center&lt;/span&gt;&lt;span class=&quot;atv&quot; style=&quot;color: #008800; margin: 0px; padding: 0px;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;color: #000088; margin: 0px; padding: 0px;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
The first four live examples will work in all the modern browsers&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;img alt=&quot;box shadow browser support&quot; class=&quot;size-full wp-image-932 alignnone&quot; height=&quot;46&quot; src=&quot;http://fivera.net/wp-content/uploads/2013/07/box-shadow-browser-support.png&quot; style=&quot;border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-top-left-radius: 5px; border-top-right-radius: 5px; border: 0px; box-shadow: rgb(255, 255, 255) 0px 0px 0px 4px, rgba(10, 10, 0, 0.498039) 2px 1px 6px 4px; box-sizing: border-box; height: auto; margin: 0px 0px 15px; max-width: 100%; padding: 0px;&quot; width=&quot;173&quot; /&gt;&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/em&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;em style=&quot;margin: 0px; padding: 0px;&quot;&gt;Lets get this party started…&lt;/em&gt;&lt;/div&gt;
&lt;div class=&quot;sharedivicj&quot; style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Simple &amp;amp; Cool Live Examples of Image on hover Css effect&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_zheni&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/zheni?height=&amp;amp;type=result&amp;amp;href=zheni&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=zheni&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Shrink Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this example we have &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;:hover&lt;/strong&gt;&amp;nbsp;&amp;nbsp;using&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;height&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;width&lt;/strong&gt;&amp;nbsp;to change the size of the image,&amp;nbsp;by adding &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;transition: all 1s ease; &amp;nbsp;&lt;/strong&gt;to&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;img&amp;nbsp;&lt;/strong&gt;we &amp;nbsp;make that change &amp;nbsp;from bigger- to smaller look smooth, changing the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;1s&amp;nbsp;&lt;/strong&gt;&amp;nbsp;to&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;1,1s&amp;nbsp;&lt;/strong&gt;will make the transition last longer and setting it to&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;0,9s&lt;/strong&gt;&amp;nbsp;will make it last shorter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_KlLAE&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/KlLAE?height=&amp;amp;type=result&amp;amp;href=KlLAE&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=KlLAE&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Enlarge Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this example we just change the &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;height&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;width&lt;/strong&gt;&amp;nbsp;to be bigger rather than smaller. Compare the css with the first example above and you will understand what i mean.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_twjcp&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/twjcp?height=&amp;amp;type=result&amp;amp;href=twjcp&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=twjcp&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Rotate Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this example we have&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;transition&lt;/strong&gt;&amp;nbsp;again but this time in &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;:hover&amp;nbsp;&lt;/strong&gt;instead of the image size we have &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;transform: rotate(360deg);&amp;nbsp;&lt;/strong&gt;which does exactly what it says – it&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;rotates the image 360 degrees&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_uLgyj&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/uLgyj?height=&amp;amp;type=result&amp;amp;href=uLgyj&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=uLgyj&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Tilt Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this example the &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;360&amp;nbsp;&lt;/strong&gt;is changed to&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;15&lt;/strong&gt;&amp;nbsp;degrees so it just tilts a little bit.&lt;/div&gt;
&lt;div class=&quot;sharedivicj&quot; style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Simple &amp;amp; Cool Live Examples of Image on hover Css effect&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px; text-align: center;&quot;&gt;
Now for the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;webkit browsers&lt;/strong&gt;&amp;nbsp;the effects are much more interesting, yet also very simple to create&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_eBgGk&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/eBgGk?height=&amp;amp;type=result&amp;amp;href=eBgGk&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=eBgGk&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Blur Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
Again in the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;img&lt;/strong&gt;&amp;nbsp;we use the&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;transition&amp;nbsp;&lt;/strong&gt;but this time in the&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;:hover&amp;nbsp;&lt;/strong&gt;we have&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;&lt;/strong&gt;added a filter&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;-webkit-filter: blur(5px);&amp;nbsp;&lt;/strong&gt;changing the&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;5px&amp;nbsp;&lt;/strong&gt;to more or less will change the blur strength.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_AHnvp&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/AHnvp?height=&amp;amp;type=result&amp;amp;href=AHnvp&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=AHnvp&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Decolorize Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
This time the filter is&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;-webkit-filter: grayscale(100%);&amp;nbsp;&lt;/strong&gt;again setting the&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;100%&lt;/strong&gt;&amp;nbsp;to less will change the effect&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_CKwpF&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/CKwpF?height=&amp;amp;type=result&amp;amp;href=CKwpF&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=CKwpF&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Darken Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
Here we have &amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-webkit-filter: brightness(100%);&amp;nbsp;&lt;/strong&gt;in&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;&amp;nbsp;img&amp;nbsp;&lt;/strong&gt;again as initial state and than by adding&amp;nbsp;&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-webkit-filter: brightness(0%);&amp;nbsp;&lt;/strong&gt;to&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;:hover&amp;nbsp;&lt;/strong&gt;we trigger the change. and of course again you can set up the filters&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;%&lt;/strong&gt;&amp;nbsp;to your needs.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_xFzKC&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/xFzKC?height=&amp;amp;type=result&amp;amp;href=xFzKC&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=xFzKC&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Hue-rotate Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this cool example we have added the filter&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-webkit-filter: hue-rotate(333deg);&amp;nbsp;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_mhHok&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/mhHok?height=&amp;amp;type=result&amp;amp;href=mhHok&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=mhHok&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Drop shadow Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
For drop shadow we use&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-webkit-filter: drop-shadow(10px 7px 1px grey)&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin: 0px; padding: 0px;&quot;&gt;
&lt;iframe allowtransparency=&quot;true&quot; class=&quot;cp_embed_iframe&quot; frameborder=&quot;0&quot; height=&quot;300&quot; id=&quot;cp_embed_jyemu&quot; scrolling=&quot;no&quot; src=&quot;http://codepen.io/fivera/embed/jyemu?height=&amp;amp;type=result&amp;amp;href=jyemu&amp;amp;user=fivera&amp;amp;safe=true&amp;amp;slug-hash=jyemu&amp;amp;default-tab=result&amp;amp;animations=run&quot; style=&quot;overflow: hidden; width: 594px;&quot;&gt;&lt;/iframe&gt;&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.8em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px; text-align: center;&quot;&gt;
Opacity Image on hover&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
In this last example we have&amp;nbsp;&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-webkit-filter: opacity(0.3);&amp;nbsp;&lt;/strong&gt;as a filter.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
And that concludes my&amp;nbsp;Image on hover Css effect article.&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #347e9b; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 1.4em; font-style: italic; line-height: 1.4em; margin: 20px 0px 0.4em; padding: 0px;&quot;&gt;
&lt;span style=&quot;color: #99cc00; margin: 0px; padding: 0px;&quot;&gt;I suggest that you bookmark this page and use it as a starting point anytime you wish to practice and experiment.&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
You can also check some other cool stuff that i have about&amp;nbsp;CSS.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #400404; font-family: Radley, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 16px; font-style: italic; line-height: 24px; margin-bottom: 1.2em; padding: 0px;&quot;&gt;
If you like this article please be kind to share it on your favorite social networks below.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/8414726282327431744/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2014/01/simple-cool-live-examples-of-image-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/8414726282327431744'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/8414726282327431744'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2014/01/simple-cool-live-examples-of-image-on.html' title='Simple &amp; Cool Live Examples of Image on hover Css effect'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-4123110449624880284</id><published>2013-10-22T20:43:00.000+05:30</published><updated>2013-10-22T20:43:42.603+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="backup"/><category scheme="http://www.blogger.com/atom/ns#" term="backupbox"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud"/><category scheme="http://www.blogger.com/atom/ns#" term="cloud backup"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="daily backup"/><category scheme="http://www.blogger.com/atom/ns#" term="dropbox"/><category scheme="http://www.blogger.com/atom/ns#" term="free cloud backup"/><category scheme="http://www.blogger.com/atom/ns#" term="movers"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>How To (Automatically) Backup Your Website Into Dropbox or Copy.com</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
As owners of websites, one of the more important things you should do is to regularly&amp;nbsp;backup the website. Most web hosting providers will enable daily or weekly backups, mainly for their disaster recovery purpose only. If you want to personally oversee a backup of your website, you can do it by yourself using the Backup function in hosting control panels like cPanel, Plesk and DirectAdmin. As a webmaster or domain owner, you are responsible for this task.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
A good backup should have following criteria:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; margin: 0px 0px 30px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;Backup your data as frequently as possible.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;Give higher priority to critical data like database and web contents. Try to exclude temporary files.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;Your backup should NOT be saved inside the same server.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;Your backup should be retrievable and accessible anytime, anywhere.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;You should get notified for every backup status which has been scheduled.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;Your backup should be compressed, if disk space or bandwidth is your concern.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
It is good if you can have your one FTP server to store backup remotely. But, what if the FTP server is down? How can we automate the backup task with limited access to the server? How can you be sure that the availability is always there? Cloud storage is your answer.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Cloud storage&amp;nbsp;is becoming the best way to store files. Popular providers like Amazon S3, Dropbox, iCloud and Box.net are offering these facilities for free with some limitations. But, none of them are supporting FTP as the medium to transfer while almost all of webhosting providers only allow this transfer method.&lt;/div&gt;
&lt;div class=&quot;recommended_top&quot; style=&quot;background-color: #f9f9f9; border-left-color: rgb(191, 202, 218); border-left-style: solid; border-width: 0px 0px 0px 8px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 10px; vertical-align: baseline;&quot;&gt;
&lt;span style=&quot;background-color: white; color: #252525; font-family: &#39;Droid Serif&#39;, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 2.3em; line-height: 1.25em; text-transform: capitalize;&quot;&gt;Backup Box / Movers.io&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Here’s where&amp;nbsp;&lt;strong&gt;Backup Box/Movers.io&lt;/strong&gt;&amp;nbsp;comes in. Backup Box helps you securely transfer anything on an FTP server to your Dropbox account. Actually, Backup Box can integrate your FTP account with cloud storage providers like Amazon, GitHub, Box.net and Flickr as well. At this very moment, only Dropbox integration is supported while the others are still under development. It is free to use, with limited features like monthly backup schedule and immediate transfer schedule. In this post, I am focusing on preparing the backup data for weekly backup while running on cPanel server.&lt;/div&gt;
&lt;div class=&quot;sw&quot; style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img alt=&quot;Backup Box&quot; height=&quot;321&quot; src=&quot;http://media02.hongkiat.com/auto-backup-website-dropbox/backup-box.jpg&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; max-width: 640px; padding: 0px; vertical-align: baseline;&quot; width=&quot;500&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
We can use this tool with various ways of implementation such as 1, directly copying the web directory using FTP and transferring to Dropbox (compressed or uncompressed) or 2, creating a compressed backup (cPanel backup) and using FTP to fetch the backup to&amp;nbsp;Dropbox.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Before we proceed with the tutorial, ensure that you have following required information:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 18px; margin: 0px 0px 30px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;An FTP account which is mapped to your web directory. Get it from your hosting control panel.&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;A Dropbox account. You can register here for&amp;nbsp;&lt;a href=&quot;https://db.tt/4mhN3WkU&quot; rel=&quot;external&quot; style=&quot;border: 0px; color: #133c9a; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;free&lt;/a&gt;.&amp;nbsp;&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;Or A Copy account. You can register here for &lt;a href=&quot;https://copy.com/?r=RBf34U&quot; target=&quot;_blank&quot;&gt;free&lt;/a&gt;. (Recommended)&lt;/li&gt;
&lt;li style=&quot;border: 0px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; list-style-type: square; margin: 0px 0px 10px; padding: 0px; vertical-align: baseline;&quot;&gt;A Backup Box account. You can register here for&amp;nbsp;&lt;a href=&quot;https://mybackupbox.com/&quot; rel=&quot;external&quot; style=&quot;border: 0px; color: #133c9a; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;free&lt;/a&gt;&amp;nbsp;or movers account at&amp;nbsp;&lt;a href=&quot;http://movers.io/&quot; target=&quot;_blank&quot;&gt;http://movers.io/&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #252525; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; line-height: 1.25em; margin: 35px 0px 0px; padding: 0px; text-transform: capitalize; vertical-align: baseline;&quot;&gt;
Web Directory &amp;gt; FTP &amp;gt; Dropbox&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Since the database is also important, we need to prepare the database backup and put it into our web directory. If you are running on Linux hosting, you can use a task scheduler called a cron job with some help from&amp;nbsp;&lt;strong&gt;&lt;code style=&quot;background-color: #ececec; border: 0px; font-family: &#39;andale mono&#39;, &#39;lucida console&#39;, monospace; font-size: 0.95em; font-weight: normal; line-height: 1.5; margin: 0px; padding: 0px; text-shadow: rgb(255, 255, 255) 1px 1px; vertical-align: baseline;&quot;&gt;mysqldump&lt;/code&gt;&lt;/strong&gt;. In cPanel, it is located under&amp;nbsp;&lt;strong&gt;cPanel &amp;gt; Advanced &amp;gt; Cron jobs.&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Let’s use the following data as an example:&lt;/div&gt;
&lt;div class=&quot;dp-highlighter&quot; style=&quot;background-color: #e7e5dc; border: 0px; color: #3c3c3c; font-family: Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 12px; line-height: 18px; margin: 18px 0px; overflow: auto; padding: 1px 0px 0px; vertical-align: baseline; width: 633.59375px;&quot;&gt;
&lt;ol class=&quot;dp-xml&quot; start=&quot;1&quot; style=&quot;background-color: white; border: 0px; color: #5c5c5c; font-family: inherit; font-style: inherit; list-style: decimal-leading-zero; margin: 0px 0px 30px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;Web&amp;nbsp;directory&amp;nbsp;path:&amp;nbsp;/home/username/public_html&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cPanel&amp;nbsp;username:&amp;nbsp;mycpanel&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cPanel&amp;nbsp;password:&amp;nbsp;mypass123$&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Create a new weekly cron job and use the following command:&lt;/div&gt;
&lt;div class=&quot;dp-highlighter&quot; style=&quot;background-color: #e7e5dc; border: 0px; color: #3c3c3c; font-family: Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 12px; line-height: 18px; margin: 18px 0px; overflow: auto; padding: 1px 0px 0px; vertical-align: baseline; width: 633.59375px;&quot;&gt;
&lt;div class=&quot;bar&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px 0px 0px 45px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;tools&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; color: silver; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; line-height: normal; margin: 0px; padding: 3px 8px 10px 10px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-xml&quot; start=&quot;1&quot; style=&quot;background-color: white; border: 0px; color: #5c5c5c; font-family: inherit; font-style: inherit; list-style: decimal-leading-zero; margin: 0px 0px 30px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;mysqldump&amp;nbsp;--opt&amp;nbsp;-Q&amp;nbsp;-u&amp;nbsp;mycpanel&amp;nbsp;-p&#39;mypass123$&#39;&amp;nbsp;--all-databases&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;tag&quot; style=&quot;border: 0px; color: #006699; font-family: inherit; font-style: inherit; font-weight: bold; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;/home/username/public_html/databases.sql&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; border: 0px; color: #252525; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.8em; line-height: 1.25em; margin: 35px 0px 0px; padding: 0px; text-transform: capitalize; vertical-align: baseline;&quot;&gt;
Here’s An Example:&lt;/h4&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
This will create an SQL backup file which includes all the databases under your cPanel account. Login into Backup Box. On the left panel, login into the FTP account by clicking the ‘gear’ icon. On the right panel, login into your Dropbox account.&lt;/div&gt;
&lt;div class=&quot;sw&quot; style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;289&quot; src=&quot;http://media02.hongkiat.com/auto-backup-website-dropbox/transfer-public-html.jpg&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; max-width: 640px; padding: 0px; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
You can choose&amp;nbsp;&lt;strong&gt;Transfer public_html as a folder&lt;/strong&gt;&amp;nbsp;in the Transfer Options. This will transfer the whole public_html folder including all files into your Dropbox account. You can now start the immediate transfer by clicking Review. This will transfer the public_html folder to Dropbox. Once done, you can create Monthly schedule to automate this backup task monthly.&amp;nbsp;&lt;strong&gt;Just click Monthly &amp;gt; select Date and Time &amp;gt; Finalize and Run&lt;/strong&gt;. Note: If you want to use weekly or daily backup, you need to upgrade your subscription as stated in the website. Do not forget to change the cron job setting based on when you want the backup schedule to happen&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; border-bottom-color: rgb(0, 0, 0); border-bottom-style: solid; border-width: 0px 0px 1px; color: #252525; font-family: &#39;Droid Serif&#39;, Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 2.3em; font-weight: normal; line-height: 1.25em; margin: 35px 0px 10px; padding: 0px; text-transform: capitalize; vertical-align: baseline;&quot;&gt;
CPanel Backup &amp;gt; FTP &amp;gt; Dropbox&lt;/h3&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
The good thing about cPanel is you can generate your own backup automatically using cPanel API. In this case, we will use PHP script to run on schedule to generate backup. Since the backup location needs to be exclusively for Backup Box, we will need to create an FTP account which is mapped to a new backup folder.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Go to&lt;strong&gt;&amp;nbsp;cPanel &amp;gt; FTP&lt;/strong&gt;&amp;nbsp;and create an FTP account as the screenshot below. Do not create the FTP directory under public_html because it is accessible publicly via web browser (unless you protect the directory with a password):&lt;/div&gt;
&lt;div class=&quot;sw&quot; style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;251&quot; src=&quot;http://media02.hongkiat.com/auto-backup-website-dropbox/add-ftp-account.jpg&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; max-width: 640px; padding: 0px; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
We need to use PHP with cPanel API to trigger the backup process. Download&amp;nbsp;&lt;a href=&quot;http://www.box.com/s/ec8103dc9400e6eb857c&quot; rel=&quot;external&quot; style=&quot;border: 0px; color: #133c9a; font-family: inherit; font-size: 14px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;this file&lt;/a&gt;&amp;nbsp;(cpanel-php-backup.zip) and unzip it. You should see 2 files,&amp;nbsp;&lt;strong&gt;cpanel-backup.php&lt;/strong&gt;&amp;nbsp;and&amp;nbsp;&lt;strong&gt;xmlapi.php.inc&lt;/strong&gt;. Change all required information inside&amp;nbsp;&lt;strong&gt;cpanel-backup.php&lt;/strong&gt;&amp;nbsp;as below:&lt;/div&gt;
&lt;div class=&quot;dp-highlighter&quot; style=&quot;background-color: #e7e5dc; border: 0px; color: #3c3c3c; font-family: Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 12px; line-height: 18px; margin: 18px 0px; overflow: auto; padding: 1px 0px 0px; vertical-align: baseline; width: 633.59375px;&quot;&gt;
&lt;div class=&quot;bar&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px 0px 0px 45px; vertical-align: baseline;&quot;&gt;
&lt;div class=&quot;tools&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; color: silver; font-family: Verdana, Geneva, Arial, Helvetica, sans-serif; font-size: 9px; line-height: normal; margin: 0px; padding: 3px 8px 10px 10px; vertical-align: baseline;&quot;&gt;
&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;view plain&lt;/a&gt;&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;copy to clipboard&lt;/a&gt;&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;print&lt;/a&gt;&lt;a href=&quot;http://www.hongkiat.com/blog/auto-backup-website-dropbox/#&quot; style=&quot;border: 0px; color: #a0a0a0; font-family: inherit; font-style: inherit; margin: 0px 10px 0px 0px; padding: 0px; text-decoration: none; vertical-align: baseline;&quot;&gt;?&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;ol class=&quot;dp-xml&quot; start=&quot;1&quot; style=&quot;background-color: white; border: 0px; color: #5c5c5c; font-family: inherit; font-style: inherit; list-style: decimal-leading-zero; margin: 0px 0px 30px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;//&amp;nbsp;Credentials&amp;nbsp;for&amp;nbsp;cPanel&amp;nbsp;account&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;attribute&quot; style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;source_server_ip&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;attribute-value&quot; style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&amp;nbsp;//&amp;nbsp;Server&amp;nbsp;IP&amp;nbsp;or&amp;nbsp;domain&amp;nbsp;name&amp;nbsp;eg:&amp;nbsp;212.122.3.77&amp;nbsp;or&amp;nbsp;cpanel.domain.tld&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;attribute&quot; style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cpanel_account&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;attribute-value&quot; style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&amp;nbsp;//&amp;nbsp;cPanel&amp;nbsp;username&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;attribute&quot; style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cpanel_password&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;attribute-value&quot; style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&amp;nbsp;//&amp;nbsp;cPanel&amp;nbsp;password&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;//&amp;nbsp;Credentials&amp;nbsp;for&amp;nbsp;FTP&amp;nbsp;to&amp;nbsp;Backup&amp;nbsp;Box&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;attribute&quot; style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ftpacct&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;attribute-value&quot; style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&amp;nbsp;//&amp;nbsp;FTP&amp;nbsp;account&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;&quot; style=&quot;background-color: #f8f8f8; border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;attribute&quot; style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ftppass&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;attribute-value&quot; style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&amp;nbsp;//&amp;nbsp;FTP&amp;nbsp;password&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$&lt;span class=&quot;attribute&quot; style=&quot;border: 0px; color: red; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;email_notify&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&amp;nbsp;=&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;attribute-value&quot; style=&quot;border: 0px; color: blue; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;&#39;&lt;/span&gt;&lt;span style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;;&amp;nbsp;//&amp;nbsp;Email&amp;nbsp;address&amp;nbsp;for&amp;nbsp;backup&amp;nbsp;notification&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Save the file and upload both files into your public_html directory using FTP. You can start to generate a backup by accessing the PHP file directly via browser, which is usually&lt;a href=&quot;http://www.yourwebsite.com/cpanel-backup.php&quot; rel=&quot;external&quot; style=&quot;border: 0px; color: #133c9a; font-family: inherit; font-size: 14px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;http://www.yourwebsite.com/cpanel-backup.php&lt;/a&gt;&amp;nbsp;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
In order to automate cPanel backup creation, we need to setup a weekly cron&amp;nbsp;&lt;a href=&quot;http://www.hongkiat.com/blog/out/freelancer&quot; rel=&quot;nofollow&quot; style=&quot;border: 0px; color: #133c9a; font-family: inherit; font-size: 14px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;job&lt;/a&gt;&amp;nbsp;into cPanel and use following command:&lt;/div&gt;
&lt;div class=&quot;dp-highlighter&quot; style=&quot;background-color: #e7e5dc; border: 0px; color: #3c3c3c; font-family: Consolas, &#39;Courier New&#39;, Courier, mono; font-size: 12px; line-height: 18px; margin: 18px 0px; overflow: auto; padding: 1px 0px 0px; vertical-align: baseline; width: 633.59375px;&quot;&gt;
&lt;ol class=&quot;dp-xml&quot; start=&quot;1&quot; style=&quot;background-color: white; border: 0px; color: #5c5c5c; font-family: inherit; font-style: inherit; list-style: decimal-leading-zero; margin: 0px 0px 30px 30px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;li class=&quot;alt&quot; style=&quot;border-left-color: rgb(108, 226, 108); border-left-style: solid; border-width: 0px 0px 0px 3px; font-family: inherit; font-size: 1.15em; font-style: inherit; line-height: 1.65em; margin: 0px 0px 10px; padding: 0px 0px 0px 10px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;border: 0px; color: black; font-family: inherit; font-size: 12px; font-style: inherit; margin: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;php&amp;nbsp;-q&amp;nbsp;/home/username/public_html/cpanel-backup.php&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;Here is a sample:&lt;/strong&gt;&lt;/div&gt;
&lt;div class=&quot;sw&quot; style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;275&quot; src=&quot;http://media02.hongkiat.com/auto-backup-website-dropbox/add-new-cron-job.jpg&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; max-width: 640px; padding: 0px; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Login into Backup Box. On the left panel, login into the FTP account (use the backup box FTP account) and in the right panel, login into your Dropbox account:&lt;/div&gt;
&lt;div class=&quot;sw&quot; style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 12px; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;291&quot; src=&quot;http://media02.hongkiat.com/auto-backup-website-dropbox/transfer-only-content-of.jpg&quot; style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin: 0px; max-width: 640px; padding: 0px; vertical-align: baseline;&quot; width=&quot;600&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
Since we store backup files into a dedicated folder, we can only transfer the contents of it. Select&amp;nbsp;&lt;strong&gt;Transfer only the contents of /&lt;/strong&gt;&amp;nbsp;in the Transfer Options as the transfer method.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
You can now start the immediate transfer by clicking Review. This will transfer the public_html folder to Dropbox. Once done, you can create Monthly schedule to automate this backup task monthly. Just click&amp;nbsp;&lt;strong&gt;Monthly &amp;gt; select Date and Time &amp;gt; Finalize and Run&lt;/strong&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: white; border: 0px; color: #3c3c3c; font-family: &#39;Droid Sans&#39;, Helvetica, Arial, sans-serif; font-size: 1.15em; line-height: 1.65em; margin-bottom: 1.8em; margin-top: 0.55em; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you want to use weekly or daily backup, you need to upgrade your subscription as stated in the website. If you do, do not forget to change the cron job setting according to your backup schedule. Another thing, the PHP script will delete all previous cPanel backup before it generate new backups. This to make sure your backup will not eat up much disk space.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/4123110449624880284/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/10/how-to-automatically-backup-your.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4123110449624880284'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4123110449624880284'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/10/how-to-automatically-backup-your.html' title='How To (Automatically) Backup Your Website Into Dropbox or Copy.com'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-8299115331656238841</id><published>2013-09-19T17:53:00.001+05:30</published><updated>2013-09-19T17:53:17.820+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="lvm"/><category scheme="http://www.blogger.com/atom/ns#" term="partition"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Convert root filesystem to LVM</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17.015625px; margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
I converted root filesystem to lvm since the root partition was huge and I needed more flexibility in managing the partitions. Besides, lvm would also enable for easy backups with lvm snapshots.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17.015625px; margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
I had a sizable swap partition of 2GB which I used to transfer my root files to and rebooted to it, prior to the conversion.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17.015625px; margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
Please know what you are doing prior and make sure to create backups.&lt;/div&gt;
&lt;ol style=&quot;background-color: white; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 17.015625px;&quot;&gt;
&lt;li&gt;This is what the partitions looked like prior to the change:&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); padding: 0.75em 1.5em;&quot;&gt;# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             228G  1.4G  215G   1% /
/dev/sda1              99M   17M   77M  19% /boot
none                 1014M     0 1014M   0% /dev/shm

# fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         267     2040255   82  Linux swap
/dev/sda3             268       30394   241995127+  83  Linux
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;With the current setup, I have a better sized partition, and can further create/resize partitions to add or remove at will:&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); padding: 0.75em 1.5em;&quot;&gt;# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/vg0-lvroot0
                       24G  1.3G   22G   6% /
/dev/sda1              99M   19M   75M  21% /boot
none                 1014M     0 1014M   0% /dev/shm

# fdisk -l
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14         267     2040255   83  Linux swap
/dev/sda3             268       30394   241995127+  8e  Linux LVM
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;I had a sizable swap partition of 2GB, so I turned it off.&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;# swapoff -a&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Formated the swap partition as ext3 and copied over the root files:&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;# mke2fs -j /dev/sda2&lt;br /&gt;# mount /dev/sda2 /mnt/&lt;br /&gt;# find / -xdev | cpio -pvmd /mnt&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Once the files were transfered. I then edited the &quot;/mnt/etc/fstab&quot; file to reflect the new root.&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); padding: 0.75em 1.5em;&quot;&gt;/dev/sda2      /    ext3       defaults 1 1
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Add a grub section to use &quot;/dev/sda2&quot; as the new root.&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); padding: 0.75em 1.5em;&quot;&gt;title CentOS (2.6.9-55.0.9.ELsmp.sda2)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.9.ELsmp ro root=/dev/sda2
        initrd /initrd-2.6.9-55.0.9.ELsmp.img
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;After reboot the original root (/dev/sda3) is no longer mounted and is free to work with.&lt;/li&gt;
&lt;li&gt;Change the partition type from Linux to LVM (8e).&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # fdisk /dev/sda&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Command (m for help): t&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Partition number (1-4): 3&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Hex code (type L to list codes): 8e&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Changed system type of partition 4 to 8e (Unknown)&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Command (m for help): w&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Inform the Operating System for the partition table changes.&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #partprobe&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Initialize LVM&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # vgscan&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Make the new partition into a Physical Volume.&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # pvcreate /dev/sda3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Create a new volume group.&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # vgcreate vg0 /dev/sda3&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Create a logical volume to hold the new root (/).&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # lvcreate -L 24G -n lvroot0 vg0&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Make a filesystem in the logical volume and copy the root files onto it.&lt;br /&gt;&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # mke2fs -j /dev/vg0/lvroot0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # mount /dev/vg0/lvroot0 /mnt&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # yum update kernel&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # find / -xdev | cpio -pvmd /mnt&lt;/code&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Additionally, since the new root is now lvm, the initrd image file should have support for it else kernel will not be able to find root on reboot and end up with a kernel panic.&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
Note: At this stage, instead of creating a new image, I update the kernel so that the new image supports lvm. LVM support can also be checked via extracting the initrd image file and checking for lvm binary in the bin folder.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;# mkdir -p /tmp/kill/00&lt;br /&gt;# cd /tmp/kill/00&lt;br /&gt;# gunzip &amp;lt; /boot/initrd-2.6.9-55.0.9.ELsmp.img | cpio -id&lt;br /&gt;# ls -al bin/lvm&lt;br /&gt;-r-x------ 1 root root 1417512 May 24 14:38 bin/lvm&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
If image does not have the lvm binary, create and move it to the /boot folder.&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;codeblock&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(204, 204, 204); padding: 5px;&quot;&gt;
&lt;code&gt;# chroot /mnt&lt;br /&gt;# mount -t proc /proc /proc&lt;br /&gt;# mount -t sysfs /sys /sys&lt;br /&gt;# vgmknodes -v&lt;br /&gt;# mkinitrd -v initrd-2.6.9-55.0.9.ELsmp.lv.img 2.6.9-55.0.9.ELsmp&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0.9em; margin-top: 0.5em;&quot;&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Edit &quot;/mnt/etc/fstab&quot; on the new root so that / is mounted on /dev/vg0/lvroot0.&lt;br /&gt;&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); padding: 0.75em 1.5em;&quot;&gt;/dev/vg0/lvroot0       /    ext3       defaults 1 1
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Add grub section to use &quot;/dev/vg0/lvroot0&quot; to boot to.&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); padding: 0.75em 1.5em;&quot;&gt;title CentOS (2.6.9-55.0.9.ELsmp.lvroot0)
        root (hd0,0)
        kernel /vmlinuz-2.6.9-55.0.9.ELsmp ro root=/dev/vg0/lvroot0
        initrd /initrd-2.6.9-55.0.9.ELsmp.lv.img
&lt;/pre&gt;
&lt;/li&gt;
&lt;li&gt;Reboot, and enjoy the flexibility of lvm!!&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/8299115331656238841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/09/convert-root-filesystem-to-lvm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/8299115331656238841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/8299115331656238841'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/09/convert-root-filesystem-to-lvm.html' title='Convert root filesystem to LVM'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-6299133299668735171</id><published>2013-09-11T11:37:00.000+05:30</published><updated>2013-09-11T11:37:30.267+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="15 tips"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="Wget"/><title type='text'>The Ultimate Wget Download Guide With 15 Awesome Examples</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;wget&lt;/strong&gt;&amp;nbsp;utility is the best option to download files from internet. wget can pretty much handle all complex download situations including large file downloads, recursive downloads, non-interactive downloads, multiple file downloads etc.,&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
In this article let us review how to use&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;wget&lt;/strong&gt;for various download scenarios using 15 awesome wget examples.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;span id=&quot;more-1885&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
1. Download Single File with wget&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
The following example downloads a single file from internet and stores in the current directory.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
While downloading it will show a progress bar with the following information:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; list-style: square; margin: 0px 0px 1.571em 1.571em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;%age of download completion (for e.g. 31% as shown below)&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Total amount of bytes downloaded so far (for e.g. 1,213,592 bytes as shown below)&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Current download speed (for e.g. 68.2K/s as shown below)&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Remaining time to download (for e.g. eta 34 seconds as shown below)&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Download in progress:&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2
Saving to: `strx25-0.9.2.1.tar.bz2.1&#39;

31% [=================&amp;gt; 1,213,592   68.2K/s  eta 34s&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Download complete&lt;ins style=&quot;border: none; display: inline-table; height: 250px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 300px;&quot;&gt;&lt;ins id=&quot;aswift_1_anchor&quot; style=&quot;border: none; display: block; height: 250px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 300px;&quot;&gt;&lt;iframe allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;250&quot; hspace=&quot;0&quot; id=&quot;aswift_1&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;aswift_1&quot; scrolling=&quot;no&quot; style=&quot;left: 0px; margin: 0px; padding: 0px; position: absolute; top: 0px;&quot; vspace=&quot;0&quot; width=&quot;300&quot;&gt;&lt;/iframe&gt;&lt;/ins&gt;&lt;/ins&gt;&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2
Saving to: `strx25-0.9.2.1.tar.bz2&#39;

100%[======================&amp;gt;] 3,852,374   76.8K/s   in 55s    

2009-09-25 11:15:30 (68.7 KB/s) - `strx25-0.9.2.1.tar.bz2&#39; saved [3852374/3852374]&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
2. Download and Store With a Different File name Using wget -O&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
By default wget will pick the filename from the last word after last forward slash, which may not be appropriate always.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Wrong:&lt;/strong&gt;&amp;nbsp;Following example will download and store the file with name: download_script.php?src_id=7701&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget http://www.vim.org/scripts/download_script.php?src_id=7701&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Even though the downloaded file is in zip format, it will get stored in the file as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ ls
download_script.php?src_id=7701&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Correct:&lt;/strong&gt;&amp;nbsp;To correct this issue, we can specify the output file name using the -O option as:&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -O taglist.zip http://www.vim.org/scripts/download_script.php?src_id=7701&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
3. Specify Download Speed / Download Rate Using wget –limit-rate&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
While executing the wget, by default it will try to occupy full possible bandwidth. This might not be acceptable when you are downloading huge files on production servers. So, to avoid that we can limit the download speed using the –limit-rate as shown below.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
In the following example, the download speed is limited to 200k&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --limit-rate=200k http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
4. Continue the Incomplete Download Using wget -c&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Restart a download which got stopped in the middle using wget -c option as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -c http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
This is very helpful when you have initiated a very big file download which got interrupted in the middle. Instead of starting the whole download again, you can start the download from where it got interrupted using option -c&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;If a download is stopped in middle, when you restart the download again without the option -c, wget will append .1 to the filename automatically as a file with the previous name already exist. If a file with .1 already exist, it will download the file with .2 at the end.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
5. Download in the Background Using wget -b&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
For a huge download, put the download in background using wget option -b as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -b http://www.openss7.org/repos/tarballs/strx25-0.9.2.1.tar.bz2
Continuing in background, pid 1984.
Output will be written to `wget-log&#39;.&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
It will initiate the download and gives back the shell prompt to you. You can always check the status of the download using tail -f as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ tail -f wget-log
Saving to: `strx25-0.9.2.1.tar.bz2.4&#39;

     0K .......... .......... .......... .......... ..........  1% 65.5K 57s
    50K .......... .......... .......... .......... ..........  2% 85.9K 49s
   100K .......... .......... .......... .......... ..........  3% 83.3K 47s
   150K .......... .......... .......... .......... ..........  5% 86.6K 45s
   200K .......... .......... .......... .......... ..........  6% 33.9K 56s
   250K .......... .......... .......... .......... ..........  7%  182M 46s
   300K .......... .......... .......... .......... ..........  9% 57.9K 47s&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Also, make sure to review our previous&amp;nbsp;&lt;a href=&quot;http://www.thegeekstuff.com/2009/09/multitail-to-view-tail-f-output-of-multiple-log-files-in-one-terminal/&quot; style=&quot;color: #2361a1; margin: 0px; padding: 0px;&quot;&gt;multitail article&lt;/a&gt;&amp;nbsp;on how to use tail command effectively to view multiple files.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
6. Mask User Agent and Display wget like Browser Using wget –user-agent&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Some websites can disallow you to download its page by identifying that the user agent is not a browser. So you can mask the user agent by using –user-agent options and show wget like a browser as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --user-agent=&quot;Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.3) Gecko/2008092416 Firefox/3.0.3&quot; URL-TO-DOWNLOAD&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
7. Test Download URL Using wget –spider&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
When you are going to do scheduled download, you should check whether download will happen fine or not at scheduled time. To do so, copy the line exactly from the schedule, and then add –spider option to check.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --spider DOWNLOAD-URL&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
If the URL given is correct, it will say&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --spider download-url
Spider mode enabled. Check if remote file exists.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Remote file exists&lt;/strong&gt; and could contain further links,
but recursion is disabled -- not retrieving.&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
This ensures that the downloading will get success at the scheduled time. But when you had give a wrong URL, you will get the following error.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --spider download-url
Spider mode enabled. Check if remote file exists.
HTTP request sent, awaiting response... 404 Not Found
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Remote file does not exist -- broken link!!!&lt;/strong&gt;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
You can use the spider option under following scenarios:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; list-style: square; margin: 0px 0px 1.571em 1.571em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check before scheduling a download.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Monitoring whether a website is available or not at certain intervals.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Check a list of pages from your bookmark, and find out which pages are still exists.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
8. Increase Total Number of Retry Attempts Using wget –tries&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
If the internet connection has problem, and if the download file is large there is a chance of failures in the download. By default wget retries 20 times to make the download successful.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
If needed, you can increase retry attempts using –tries option as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --tries=75 DOWNLOAD-URL&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
9. Download Multiple Files / URLs Using Wget -i&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
First, store all the download files or URLs in a text file as:&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ cat &amp;gt; download-file-list.txt
URL1
URL2
URL3
URL4&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Next, give the download-file-list.txt as argument to wget using -i option as shown below.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -i download-file-list.txt&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
10. Download a Full Website Using wget –mirror&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Following is the command line which you want to execute when you want to download a full website and made available for local viewing.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --mirror -p --convert-links -P ./LOCAL-DIR WEBSITE-URL&lt;/pre&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; list-style: square; margin: 0px 0px 1.571em 1.571em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;–mirror : turn on options suitable for mirroring.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;-p : download all files that are necessary to properly display a given HTML page.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;–convert-links : after the download, convert the links in document for local viewing.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;-P ./LOCAL-DIR : save all the files and directories to the specified directory.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
11. Reject Certain File Types while Downloading Using wget –reject&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
You have found a website which is useful, but don’t want to download the images you can specify the following.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --reject=gif WEBSITE-TO-BE-DOWNLOADED&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
12. Log messages to a log file instead of stderr Using wget -o&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
When you wanted the log to be redirected to a log file instead of the terminal.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -o download.log DOWNLOAD-URL&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
13. Quit Downloading When it Exceeds Certain Size Using wget -Q&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
When you want to stop download when it crosses 5 MB you can use the following wget command line.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -Q5m -i FILE-WHICH-HAS-URLS&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;Note:&lt;/strong&gt;&amp;nbsp;This quota will not get effect when you do a download a single URL. That is irrespective of the quota size everything will get downloaded when you specify a single file. This quota is applicable only for recursive downloads.&lt;/div&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
14. Download Only Certain File Types Using wget -r -A&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
You can use this under following situations:&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; list-style: square; margin: 0px 0px 1.571em 1.571em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Download all images from a website&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Download all videos from a website&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;Download all PDF files from a website&lt;/li&gt;
&lt;/ul&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget -r -A.pdf http://url-to-webpage-with-pdfs/&lt;/pre&gt;
&lt;h3 style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 1.286em; font-weight: normal; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
15. FTP Download With wget&lt;/h3&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
You can use wget to perform FTP download as shown below.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Anonymous FTP download using Wget&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget ftp-url&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
FTP download using wget with username and password authentication.&lt;/div&gt;
&lt;pre style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ wget --ftp-user=USERNAME --ftp-password=PASSWORD DOWNLOAD-URL&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
If you liked this article,&amp;nbsp;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;please bookmark it with delicious or Stumble.&lt;/strong&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/6299133299668735171/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/09/the-ultimate-wget-download-guide-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6299133299668735171'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6299133299668735171'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/09/the-ultimate-wget-download-guide-with.html' title='The Ultimate Wget Download Guide With 15 Awesome Examples'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-1450660359066218007</id><published>2013-09-05T16:28:00.002+05:30</published><updated>2013-09-05T16:28:36.515+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="certificate"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="csr"/><category scheme="http://www.blogger.com/atom/ns#" term="https"/><category scheme="http://www.blogger.com/atom/ns#" term="ssl"/><category scheme="http://www.blogger.com/atom/ns#" term="whm"/><title type='text'>Certificate Installation: WHM/cPanel 11</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;fieldset class=&quot;swiftfieldset&quot; style=&quot;border: 1px solid rgb(204, 204, 204); color: #dc2626; font-family: Verdana, Tahoma; font-size: 11px; margin-bottom: 6px; padding: 4px;&quot;&gt;
&lt;span class=&quot;smalltext&quot; style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica;&quot;&gt;1. Login to the cPanel &#39;Control Panel&#39;&lt;br /&gt;&lt;br /&gt;2. Click&amp;nbsp;&lt;b&gt;SSL/TLS Manager&lt;/b&gt;&amp;nbsp;under the&amp;nbsp;&lt;b&gt;Security&lt;/b&gt;&amp;nbsp;section.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://support.comodo.com/uploaded/cPanel11_security.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;3. Click on&amp;nbsp;&lt;b&gt;Generate, view, upload or delete SSL Certificates&lt;/b&gt;&amp;nbsp;in the &#39;Certificates&#39; section.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://support.comodo.com/uploaded/cPanel11_SSL_TLS.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;4. Import Domain/End Entity Certificate.&lt;br /&gt;&lt;br /&gt;a. Copy and Paste the contents of &#39;yourDomainName.crt&#39; into the text box labeled &#39;Paste the crt below&#39; in the &#39;Upload a New Certificate&#39; section.&lt;br /&gt;- or -&lt;br /&gt;b. Click &#39;Browse&#39; and navigate to &#39;yourDomainName.crt&#39; and then click &#39;Upload&#39;.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://support.comodo.com/uploaded/cPanel11_upload_crt.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;5. Click&amp;nbsp;&lt;b&gt;Go Back&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://support.comodo.com/uploaded/cPanel11_ssl_install.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;6. Scroll down to the bottom of the page and click on&amp;nbsp;&lt;b&gt;Return to SSL Manager&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://support.comodo.com/uploaded/cPanel11_SSL_manager.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;7. Click on&amp;nbsp;&lt;b&gt;Setup a SSL Certificate to work with your site&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://support.comodo.com/uploaded/cPanel11_activate_SSL.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;8. Select the domain you are using from the&amp;nbsp;&lt;b&gt;Domain&lt;/b&gt;&amp;nbsp;drop-down menu. The system will attempt to fetch the&amp;nbsp;&lt;b&gt;SSL Certificate&lt;/b&gt;&amp;nbsp;and&lt;b&gt;Private Key&lt;/b&gt;&amp;nbsp;for you.&lt;br /&gt;&lt;strong&gt;Note:&amp;nbsp;&lt;/strong&gt;You do have the option to copy and paste these files into their appropriate boxes at this time.&lt;br /&gt;&lt;br /&gt;9. In the box labled&amp;nbsp;&lt;b&gt;CA Bundle&lt;/b&gt;, paste the contents of the CA Bundle file that was provided.&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;cPanel11 CA Bundle&quot; src=&quot;https://support.comodo.com/uploaded/cpanel11_ca_bundle.JPG&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt;&amp;nbsp;If you did not receive a ca-bundle file, you may download one from our&amp;nbsp;&lt;a href=&quot;https://support.comodo.com/index.php?_m=downloads&amp;amp;_a=view&amp;amp;parentcategoryid=1&amp;amp;nav=0&quot; style=&quot;color: red; font-family: Verdana, Tahoma; text-decoration: none;&quot;&gt;Root &amp;amp; Intermediate Certificates&amp;nbsp;&lt;/a&gt;section of our Downloads area. Please download the one that corresponds to the certificate that you have. If you are unsure, please contact support.&lt;br /&gt;&lt;br /&gt;10. Click on&amp;nbsp;&lt;b&gt;Install Certificate&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;The certificate is now added to your server and assigned to the domain.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/fieldset&gt;
&lt;fieldset class=&quot;swiftfieldset&quot; style=&quot;border: 1px solid rgb(204, 204, 204); color: #dc2626; font-family: Verdana, Tahoma; font-size: 11px; margin-bottom: 6px; padding: 4px;&quot;&gt;
&lt;legend&gt;Article Details&lt;/legend&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 11px;&quot; width=&quot;50%&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; class=&quot;smalltext&quot; style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica; font-size: 11px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;row2&quot; style=&quot;background-color: #f7faff; color: black; font-family: Verdana, Tahoma;&quot; width=&quot;100&quot;&gt;Article ID:&lt;/td&gt;&lt;td style=&quot;font-family: Verdana, Tahoma;&quot;&gt;1208&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;td style=&quot;font-size: 11px;&quot; width=&quot;50%&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;3&quot; cellspacing=&quot;1&quot; class=&quot;smalltext&quot; style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica; font-size: 11px; width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td class=&quot;row2&quot; style=&quot;background-color: #f7faff; color: black; font-family: Verdana, Tahoma;&quot; width=&quot;100&quot;&gt;Created On:&lt;/td&gt;&lt;td style=&quot;font-family: Verdana, Tahoma;&quot;&gt;28 Oct 2008 12:56 AM&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; style=&quot;font-size: 11px;&quot; width=&quot;100%&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;4&quot; src=&quot;https://support.comodo.com/themes/client_default/space.gif&quot; width=&quot;1&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;font-size: 11px;&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; style=&quot;font-size: 11px;&quot; valign=&quot;top&quot; width=&quot;100%&quot;&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td align=&quot;left&quot; style=&quot;font-size: 11px;&quot;&gt;&lt;a href=&quot;https://support.comodo.com/index.php?_m=knowledgebase&amp;amp;_a=ratearticle&amp;amp;kbarticleid=1208&amp;amp;ratetype=1&quot; style=&quot;color: red; text-decoration: none;&quot;&gt;&lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://support.comodo.com/themes/client_default/icon_thumbsup.gif&quot; /&gt;&lt;span class=&quot;smalltext&quot; style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica;&quot;&gt;&amp;nbsp;This answer was helpful&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; style=&quot;font-size: 11px;&quot; valign=&quot;middle&quot;&gt;&lt;a href=&quot;https://support.comodo.com/index.php?_m=knowledgebase&amp;amp;_a=ratearticle&amp;amp;kbarticleid=1208&amp;amp;ratetype=0&quot; style=&quot;color: red; text-decoration: none;&quot;&gt;&lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://support.comodo.com/themes/client_default/icon_thumbsdown.gif&quot; /&gt;&lt;span class=&quot;smalltext&quot; style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica;&quot;&gt;&amp;nbsp;This answer was not helpful&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;td align=&quot;left&quot; style=&quot;font-size: 11px;&quot; valign=&quot;middle&quot; width=&quot;1&quot;&gt;&lt;img align=&quot;absmiddle&quot; border=&quot;0&quot; src=&quot;https://support.comodo.com/themes/client_default/star_3.gif&quot; /&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/fieldset&gt;
&lt;br /&gt;
&lt;form action=&quot;https://support.comodo.com/index.php&quot; id=&quot;commentform&quot; method=&quot;post&quot; name=&quot;commentform&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td&gt;&lt;div class=&quot;tabletitle&quot; style=&quot;background-color: #eaedf4; background-image: url(https://support.comodo.com/themes/client_default//titletablebg.gif); background-position: 0% 0%; background-repeat: repeat no-repeat; border-bottom-color: rgb(187, 192, 192); border-bottom-style: solid; border-bottom-width: 1px; border-top-color: rgb(187, 192, 192); border-top-style: solid; border-top-width: 1px; color: #333333; font-family: Verdana, Arial, Helvetica; font-size: 11px; height: 16px; margin: 0px; padding: 2px;&quot;&gt;
&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; style=&quot;width: 100%px;&quot;&gt;&lt;tbody&gt;
&lt;tr class=&quot;smalltext&quot; style=&quot;color: #333333; font-size: 11px;&quot;&gt;&lt;td align=&quot;left&quot; width=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://support.comodo.com/themes/client_default/icon_comment.gif&quot; /&gt;&lt;/td&gt;&lt;td align=&quot;left&quot;&gt;&amp;nbsp;&lt;a href=&quot;https://support.comodo.com/index.php?_m=knowledgebase&amp;amp;_a=viewarticle&amp;amp;kbarticleid=1208&amp;amp;ratingconfirm=1#&quot; style=&quot;color: red; font-family: Verdana, Tahoma; text-decoration: none;&quot;&gt;User Comments&lt;/a&gt;&lt;/td&gt;&lt;td align=&quot;right&quot; width=&quot;30%&quot;&gt;&lt;a href=&quot;https://support.comodo.com/index.php?_m=knowledgebase&amp;amp;_a=viewarticle&amp;amp;kbarticleid=1208&amp;amp;ratingconfirm=1#&quot; id=&quot;moduletitle&quot; style=&quot;color: #c92727; font-family: verdana, arial, helvetica, sans-serif; text-decoration: none;&quot;&gt;Add a Comment&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td&gt;&lt;div id=&quot;commentdata&quot;&gt;
&lt;span class=&quot;smalltext&quot; style=&quot;color: #333333; font-family: Verdana, Arial, Helvetica; font-size: 11px;&quot;&gt;&lt;div class=&quot;commentrow1&quot; style=&quot;background-color: #fffdf7; border: 0px solid rgb(255, 230, 184); font-family: Verdana, Tahoma; margin: 2px; padding: 2px; width: 782.09375px;&quot;&gt;
Posted By: Prakashkumar (Prakashkumar84@yahoo.co.in) On: 10 Jul 2009 09:04 PM&lt;hr class=&quot;commenthr&quot; style=&quot;background-color: #ffeecf; border: none; color: #ffeecf; height: 1px; padding: 0px;&quot; /&gt;
If &quot;Setup a SSL certificate to work with your site&quot; option is not available, your web host may have disabled it. You will need to contact them about how to install the bundle file.&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/form&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/1450660359066218007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/09/certificate-installation-whmcpanel-11.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1450660359066218007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1450660359066218007'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/09/certificate-installation-whmcpanel-11.html' title='Certificate Installation: WHM/cPanel 11'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-5598481245565809051</id><published>2013-09-03T22:39:00.002+05:30</published><updated>2013-09-03T22:39:15.629+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="files"/><category scheme="http://www.blogger.com/atom/ns#" term="filezilla"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><category scheme="http://www.blogger.com/atom/ns#" term="large files"/><category scheme="http://www.blogger.com/atom/ns#" term="PHP"/><title type='text'>FTP Filezilla - 421 Sorry, cleartext sessions are not accepted on this server.</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
Some times when&amp;nbsp; you connect to the webhost via FileZilla you may encounter this error message.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&quot;421 Sorry, cleartext sessions are not accepted on this server.&quot;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
Solution:&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
Just add a ftpes:// before the domain name&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
Old One,&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;host : domain.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px;&quot;&gt;
username : xxx&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px;&quot;&gt;
pass : yyy&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px;&quot;&gt;
port : 21&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
New,&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;span style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;host :&amp;nbsp;&lt;b&gt;ftpes://&lt;/b&gt;domain.com&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px;&quot;&gt;
username : xxx&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px;&quot;&gt;
pass : yyy&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Courier New&#39;, Courier, monospace; font-size: 13px; line-height: 18px;&quot;&gt;
port : 21&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;Advanced Option,&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Login to&amp;nbsp; Web Host Manager&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Go To :&lt;/span&gt;&lt;strong style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;&amp;nbsp;&lt;/strong&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Service Configuration&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Go To : FTP Server Configuration&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;Check that&amp;nbsp; :&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;TLS Encryption Support : set to&amp;nbsp; “Optional”&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #444444; font-family: Arial, Tahoma, Helvetica, FreeSans, sans-serif; font-size: 13px; line-height: 18px;&quot; /&gt;&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #444444; font-family: &#39;Trebuchet MS&#39;, sans-serif; font-size: 13px; line-height: 18px;&quot;&gt;
Try that, it will work.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/5598481245565809051/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/09/ftp-filezilla-421-sorry-cleartext.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5598481245565809051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5598481245565809051'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/09/ftp-filezilla-421-sorry-cleartext.html' title='FTP Filezilla - 421 Sorry, cleartext sessions are not accepted on this server.'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-6975491755348014540</id><published>2013-08-31T16:33:00.001+05:30</published><updated>2013-08-31T16:35:58.762+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual host"/><title type='text'>How to Set Up Apache Virtual Hosts on CentOS 6</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17.5px; font-weight: 400; line-height: 32px; margin: 20px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
About Virtual Hosts&lt;/h3&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Virtual Hosts are used to run more than one domain off of a single IP address. This is especially useful to people who need to run several sites off of one virtual private server. The sites display different information to the visitors, depending on with which the users accessed the site.There is no limit to the number of virtual hosts that can be added to a VPS.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Set Up&lt;/h2&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The steps in this tutorial require the user to have root privileges.&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Furthermore, if I reference the user in a step, I’ll use the name www. You can implement whatever username suits you.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Additionally, you need to have apache already installed and running on your virtual server&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;If this is not the case, you can download it with this command:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo yum install httpd&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step One— Create a New Directory&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The first step in creating a virtual host is to a create a directory where we will keep the new website’s information.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;This location will be your Document Root in the Apache virtual configuration file later on. By adding a -p to the line of code, the command automatically generates all the parents for the new directory.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo mkdir -p /var/www/example.com/public_html&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;You will need to designate an actual DNS approved domain, or an IP address, to test that a virtual host is working. In this tutorial we will use example.com as a placeholder for a correct domain name.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;However, should you want to use an unapproved domain name to test the process you will find information on how to make it work on your local computer in Step Six.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Two—Grant Permissions&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;We need to grant ownership of the directory to the user, instead of just keeping it on the root system.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt; sudo chown -R www:www /var/www/example.com/public_html &lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Additionally, it is important to make sure that everyone will be able to read our new files.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt; sudo chmod 755 /var/www&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Now you are all done with permissions.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Three— Create the Page&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;We need to create a new file called index.html within our configurations directory.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo vi /var/www/example.com/public_html/index.html&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;We can add some text to the file so we will have something to look at when the IP redirects to the virtual host.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;www.example.com&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    &lt;h1&gt;
Success: You Have Set Up a Virtual Host&lt;/h1&gt;
&lt;/body&gt;
&lt;/html&gt;&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Save and Exit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Four—Turn on Virtual Hosts&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The next step is to enter into the apache configuration file itself.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo vi /etc/httpd/conf/httpd.conf&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;There are a few lines to look for.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Make sure that your text matches what you see below.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;#Listen 12.34.56.78:80
Listen 80&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Scroll down to the very bottom of the document to the section called Virtual Hosts.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#    

#    
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
# 
&lt;virtualhost&gt;
     ServerAdmin webmaster@example.com
     DocumentRoot /var/www/example.com/public_html
     ServerName www.example.com
     ServerAlias example.com
     ErrorLog /var/www/example.com/error.log
     CustomLog /var/www/example.com/requests.log
&lt;/virtualhost&gt;
&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The most important lines to focus on are the lines that say NameVirtualHost, Virtual Host, Document Root, and Server Name. Let’s take these one at a time.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-Uncomment (remove the number sign) NameVirtualHost without making any changes. The star means that any IP address going through port 80 will be a virtual host. As your system probably only has one IP address this is not an issue—however, if you prefer, you can replace the star with your IP address.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-You can leave the rest of the number marks in place until you reach the line &lt;virtualhost&gt; . Uncomment everything from there through &lt;virtualhost&gt;.&lt;/virtualhost&gt;&lt;/virtualhost&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-Leave &lt;virtualhost&gt; as is—its details must match with those in the NameVirtual Host section. If you replaced the star with your IP address in that section, be sure to do the same here.&amp;nbsp;&lt;/virtualhost&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-Document Root is key! For this section, write in the extension of the new directory created in Step One. If the document root is incorrect or absent you will not be able to set up the virtual host.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-Server Name is another important piece of information, containing the virtual host’s domain name (eg. www.example.com). Make sure that you spell the domain out in full; we will put in any alternate possibilities in the next line.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-ServerAlias is a new line in the config file that is not there by default. Adding it will allow you to list a few variants of the domain name, for example without the www in the front.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The rest of the lines in this section are not required to set up a virtual host. However, it is still helpful to know what they do.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-Server admin asks for the webmaster’s email.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-The Error Logs and Custom Logs keep track of any issues with the server. The error log covers issues that arise while maintaining the server, and the custom log tracks server requests. You can set up a custom location for these processes.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;-Make sure that &lt;virtualhost&gt; is uncommented; then save and exit.&lt;/virtualhost&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Five—Restart Apache&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;We’ve made a lot of the changes to the configuration. However, they will not take effect until Apache is restarted.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;First stop all apache processes:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo apachectl -k stop&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Then start up apache once again.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo /etc/init.d/httpd start&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;You may see the following error:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;Could not reliably determine the server&#39;s fully qualified domain name, using 127.0.0.1 for ServerName&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The message is just a warning, and you will be able to access your virtual host without any further issues.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Optional Step Six—Setting Up the Local Hosts&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;If you have pointed your domain name to your virtual private server’s IP address you can skip this step—you do not need to set up local hosts. Your virtual hosts should work. However, if want to try out your new virtual hosts without having to connect to an actual domain name, you can set up local hosts on your computer alone.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;For this step, make sure you are on the computer itself, not your droplet.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To proceed with this step you need to know your computer’s administrative password, otherwise you will be required to use an actual domain name to test the virtual hosts.&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;If you are on a Mac or Linux, access the root user (&lt;/span&gt;&lt;code style=&quot;background-color: #f7f7f9; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(225, 225, 232); color: #dd1144; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 11px; line-height: 23px; padding: 2px 4px; white-space: nowrap;&quot;&gt;su&lt;/code&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;) on the computer and open up your hosts file:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;nano /etc/hosts &lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;If you are on a Windows Computer, you can find the directions to alter the host file on the&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://support.microsoft.com/kb/923947&quot; style=&quot;color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px; text-decoration: none;&quot;&gt;Microsoft site&lt;/a&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;You can add the local hosts details to this file, as seen in the example below. As long as that line is there, directing your browser toward, say, example.com will give you all the virtual host details for the corresponding IP address.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;# Host Database
#
# localhost is used to configure the loopback interface
# when the system is booting.  Do not change this entry.
##
127.0.0.1       localhost

#Virtual Hosts 
12.34.56.789    www.example.com &lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;However, it may be a good idea to delete these made up addresses out of the local hosts folder when you are done to avoid any future confusion.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Seven—RESULTS: See Your Virtual Host in Action&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Once you have finished setting up your virtual host, you can see how it looks online. Type your ip address into the browser (ie. http://12.34.56.789)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;It should look somewhat similar to my handy&lt;/span&gt;&lt;a href=&quot;http://i.imgur.com/PoO8d.png&quot; style=&quot;color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px; text-decoration: none;&quot;&gt;&amp;nbsp;screenshot&lt;/a&gt;&lt;br /&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Good Job!&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Adding More Virtual Hosts&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To create additional virtual hosts, you can just repeat the process above, being careful to set up a new document root with the appropriate new domain name each time. Then just copy and paste the new Virtual Host information into the Apache Config file, as shown below&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;virtualhost&gt;
     ServerAdmin webmaster@example.com
     DocumentRoot /var/www/example.com/public_html
     ServerName www.example.com
     ServerAlias example.com
     ErrorLog /etc/var/www/example.com/error.log
     CustomLog /var/www/example.com/requests.log
&lt;/virtualhost&gt;
&lt;virtualhost&gt;
     ServerAdmin webmaster@example.org
     DocumentRoot /var/www/example.org/public_html
     ServerName www.example.org
     ServerAlias example.org
     ErrorLog /var/www/example.org/error.log
     CustomLog /var/www/example.orgrequests.log
&lt;/virtualhost&gt;&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/6975491755348014540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/08/how-to-set-up-apache-virtual-hosts-on.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6975491755348014540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6975491755348014540'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/08/how-to-set-up-apache-virtual-hosts-on.html' title='How to Set Up Apache Virtual Hosts on CentOS 6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-4645904343279218563</id><published>2013-08-31T16:31:00.003+05:30</published><updated>2013-08-31T16:31:56.397+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="apache"/><category scheme="http://www.blogger.com/atom/ns#" term="basic"/><category scheme="http://www.blogger.com/atom/ns#" term="setup"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="virtual host"/><title type='text'>How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;h3 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17.5px; font-weight: 400; line-height: 32px; margin: 20px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
About LAMP&lt;/h3&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;LAMP stack is a group of open source software used to get web servers up and running. The acronym stands for Linux, Apache, MySQL, and PHP. Since the server is already running CentOS, the linux part is taken care of. Here is how to install the rest.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Set Up&lt;/h2&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The steps in this tutorial require the user on the virtual private server to have root privileges.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step One—Install Apache&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Apache is a free open source software which runs over 50% of the world’s web servers.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To install apache, open terminal and type in this command:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo yum install httpd&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Once it installs, you can start apache running on your VPS:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo service httpd start&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;That’s it. To check if Apache is installed, direct your browser to your server’s IP address (eg. http://12.34.56.789). The page should display the words “It works!&quot; like&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://i.imgur.com/NLSJR.png&quot; style=&quot;color: #0088cc; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px; text-decoration: none;&quot;&gt;this&lt;/a&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;.&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
How to find your Server’s IP address&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;You can run the following command to reveal your server’s IP address.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;ifconfig eth0 | grep inet | awk &#39;{ print $2 }&#39;&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Two—Install MySQL&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;MySQL is a powerful database management system used for organizing and retrieving data on a virtual server&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To install MySQL, open terminal and type in these commands:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo yum install mysql-server
sudo service mysqld start&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;During the installation, MySQL will ask you for your permission twice. After you say Yes to both, MySQL will install.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Once it is done installing, you can set a root MySQL password:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo /usr/bin/mysql_secure_installation&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;The prompt will ask you for your current root password.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Since you just installed MySQL, you most likely won’t have one, so leave it blank by pressing enter.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;Enter current password for root (enter for none): 
OK, successfully used password, moving on...&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Then the prompt will ask you if you want to set a root password. Go ahead and choose Y and follow the instructions.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;CentOS automates the process of setting up MySQL, asking you a series of yes or no questions.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;It’s easiest just to say Yes to all the options. At the end, MySQL will reload and implement the new changes.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;By default, a MySQL installation has an anonymous user, allowing anyone
to log into MySQL without having to have a user account created for
them.  This is intended only for testing, and to make the installation
go a bit smoother.  You should remove them before moving into a
production environment.

Remove anonymous users? [Y/n] y                                            
 ... Success!

Normally, root should only be allowed to connect from &#39;localhost&#39;.  This
ensures that someone cannot guess at the root password from the network.

Disallow root login remotely? [Y/n] y
... Success!

By default, MySQL comes with a database named &#39;test&#39; that anyone can
access.  This is also intended only for testing, and should be removed
before moving into a production environment.

Remove test database and access to it? [Y/n] y
 - Dropping test database...
 ... Success!
 - Removing privileges on test database...
 ... Success!

Reloading the privilege tables will ensure that all changes made so far
will take effect immediately.

Reload privilege tables now? [Y/n] y
 ... Success!

Cleaning up...

All done!  If you&#39;ve completed all of the above steps, your MySQL
installation should now be secure.

Thanks for using MySQL!&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Three—Install PHP&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;PHP is an open source web scripting language that is widely used to build dynamic webpages.&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To install PHP on your virtual private server, open terminal and type in this command:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo yum install php php-mysql&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Once you answer yes to the PHP prompt, PHP will be installed.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
PHP Modules&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;PHP also has a variety of useful libraries and modules that you can add onto your server. You can see the libraries that are available by typing:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;yum search php-&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Terminal then will display the list of possible modules. The beginning looks like this:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;php-bcmath.x86_64 : A module for PHP applications for using the bcmath library
php-cli.x86_64 : Command-line interface for PHP
php-common.x86_64 : Common files for PHP
php-dba.x86_64 : A database abstraction layer module for PHP applications
php-devel.x86_64 : Files needed for building PHP extensions
php-embedded.x86_64 : PHP library for embedding in applications
php-enchant.x86_64 : Human Language and Character Encoding Support
php-gd.x86_64 : A module for PHP applications for using the gd graphics library
php-imap.x86_64 : A module for PHP applications that use IMAP&lt;/pre&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To see more details about what each module does, type the following command into terminal, replacing the name of the module with whatever library you want to learn about.&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;yum info &lt;i&gt;name of the module&lt;/i&gt;&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Once you decide to install the module, type:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo yum install &lt;i&gt;name of the module&lt;/i&gt;&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;You can install multiple libraries at once by separating the name of each module with a space.&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Congratulations! You now have LAMP stack on your droplet!&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;We should also set the processes to run automatically when the server boots (php will run automatically once Apache starts):&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo chkconfig httpd on
sudo chkconfig mysqld on&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;
&lt;h2 style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 22.5px; font-weight: 500; line-height: 32px; margin: 30px 0px 8px; text-rendering: optimizelegibility;&quot;&gt;
Step Four—RESULTS: See PHP on your Server&lt;/h2&gt;
&lt;hr style=&quot;border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-left-width: 0px; border-right-width: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; box-sizing: content-box; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; height: 0px; line-height: 23px; margin: 5px 0px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Although LAMP is installed on your virtual server, we can still take a look and see the components online by creating a quick php info page&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;To set this up, first create a new file:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo nano /var/www/html/info.php&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Add in the following line:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Then Save and Exit.&amp;nbsp;&lt;/span&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Restart apache so that all of the changes take effect on your virtual server:&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-color: whitesmoke; border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; border: 1px solid rgba(0, 0, 0, 0.14902); color: #333333; font-family: Monaco, Menlo, Consolas, &#39;Courier New&#39;, monospace; font-size: 12px; line-height: 16px; margin-bottom: 1em; margin-top: 1em; padding: 7.5px; white-space: pre-wrap; word-break: break-all; word-wrap: break-word;&quot;&gt;sudo service httpd restart&lt;/pre&gt;
&lt;br style=&quot;color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #111111; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 17px; line-height: 23px;&quot;&gt;Finish up by visiting your php info page (make sure you replace the example ip address with your correct one): http://12.34.56.789/info.php&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/4645904343279218563/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/08/how-to-install-linux-apache-mysql-php.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4645904343279218563'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/4645904343279218563'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/08/how-to-install-linux-apache-mysql-php.html' title='How to Install Linux, Apache, MySQL, PHP (LAMP) stack on CentOS 6'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-1772380466088233301</id><published>2013-08-31T14:42:00.000+05:30</published><updated>2013-08-31T14:42:27.145+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS | Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg"/><category scheme="http://www.blogger.com/atom/ns#" term="ffmpeg-php"/><category scheme="http://www.blogger.com/atom/ns#" term="mencoder"/><category scheme="http://www.blogger.com/atom/ns#" term="mplayer"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><category scheme="http://www.blogger.com/atom/ns#" term="Web Development"/><title type='text'>[CPanel] How to install ffmpeg mplayer and mencoder on CentOS6 (FFMpeg 0.7.11)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;Hello Guys,&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;Installation of FFMPEG is treated as the toughest installations as it has many dependencies. Check with the below steps for easy installation.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;1. Enable 9xhost and EPEL yum repositories&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; The CentOS 6 RPM packages of ffmpeg, mplayer and MP4Box packages are available on 9xhost.net. These RPM packages are copied from ATrpms and RPM Fusion YUM repositories for a simplified installation.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Some packages on 9xhost YUM repo depend on EPEL repo. To enable EPEL repo, install the epel-release RPM package&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; rpm -Uvh&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;bbc_link&quot; href=&quot;http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm&quot; style=&quot;background-color: white; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm&lt;/a&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;1.1 To enable 9xhost YUM repository, create the file /etc/yum.repos.d/9xhost.repo&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; nano /etc/yum.repos.d/9xhost.repo&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; and add following repository configuration:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; [9xhost]&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; name=9xhost Packages CentOS 6 - $basearch&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; baseurl=http://dl.9xhost.info/yumrepo/centos/6/$basearch/&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; enabled=1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; gpgcheck=0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;2. Install ffmpeg mplayer and mencoder&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; for x86 (32bit system)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install ffmpeg mplayer&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; for x86_64 (64bit system)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install ffmpeg mplayer --exclude &quot;*.i386&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Note: there is no separate package for mencoder. It is also provided by mplayer package.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; This will also install various dependency packages like libtheora, libvorbis, libogg, lame, opencore-amr, x264, xvidcore etc.&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;3. Install flvtool2&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; cPanel has its own ruby installer script. So install ruby using following cPanel script:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; /scripts/installruby&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Flvtool2 is available as a Ruby Gems package. Use following gem command to install flvtool2:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; gem install flvtool2&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;4. Install MP4Box2&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; MP4Box is provided by gpac package. Install gpac and its library packages:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; for x86 (32bit system)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install gpac gpac-libs&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; for x86_64 (64bit system)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install gpac gpac-libs --exclude &quot;*.i386&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;5. Install ffmpeg-php&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Ffmpeg-php requires ffmpeg development package. Install it using yum:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; for x86 (32bit system)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install ffmpeg-devel&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; for x86_64 (64bit system)&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; yum install ffmpeg-devel --exclude &quot;*.i386&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Now download the latest ffmpeg-php package:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; wget&amp;nbsp;&lt;/span&gt;&lt;a class=&quot;bbc_link&quot; href=&quot;http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.6.0.tbz2&quot; style=&quot;background-color: white; color: #444444; font-family: Arial, Helvetica, sans-serif; font-size: 11px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify; text-decoration: none;&quot; target=&quot;_blank&quot;&gt;http://downloads.sourceforge.net/ffmpeg-php/ffmpeg-php-0.6.0.tbz2&lt;/a&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Untar this package, build and install it with following commands:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; tar xjf ffmpeg-php-0.6.0.tbz2&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; cd ffmpeg-php-0.6.0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; sed -i &#39;s/PIX_FMT_RGBA32/PIX_FMT_RGB32/g&#39; ffmpeg_frame.c&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; phpize&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ./configure&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; make&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; make install&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; The make install command will show PHP extensions path where ffmpeg PHP extension is installed:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; root@server [~/ffmpeg-php-0.6.0]# make install&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Installing shared extensions: /usr/local/lib/php/extensions/no-debug-non-zts-20060613/&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Now edit php.ini file&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; nano /usr/local/lib/php.ini&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; and make sure that value of extension_dir is set to PHP extension directory as given by above make install command:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; extension_dir = &quot;/usr/local/lib/php/extensions/no-debug-non-zts-20060613&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Add following line just below extension_dir and this will enable ffmpeg PHP extension:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; extension=&quot;ffmpeg.so&quot;&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Restart Apache to make this change effective:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; /scripts/restartsrv_httpd&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; You can verify the status of ffmpeg extension on a PHP info web page or from command line as given below:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; root@server [~]# php -i | grep ffmpeg&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg-php version =&amp;gt; 0.6.0-svn&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg-php built on =&amp;gt; Jun 2 2012 20:48:04&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg-php gd support =&amp;gt; enabled&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg libavcodec version =&amp;gt; Lavc52.123.0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg libavformat version =&amp;gt; Lavf52.111.0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg swscaler version =&amp;gt; SwS0.14.1&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg.allow_persistent =&amp;gt; 0 =&amp;gt; 0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg.show_warnings =&amp;gt; 0 =&amp;gt; 0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; OLDPWD =&amp;gt; /root/ffmpeg-php-0.6.0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; _SERVER[&quot;OLDPWD&quot;] =&amp;gt; /root/ffmpeg-php-0.6.0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; _ENV[&quot;OLDPWD&quot;] =&amp;gt; /root/ffmpeg-php-0.6.0&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;6. Installation paths&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; Following are the file system paths of tools that we installed:&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; ffmpeg: /usr/bin/ffmpeg&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; mplayer: /usr/bin/mplayer&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; mencoder: /usr/bin/mencoder&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; flvtool2: /usr/bin/flvtool2&lt;/span&gt;&lt;br style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; margin: 0px; padding: 0px; text-align: justify;&quot; /&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 21px; text-align: justify;&quot;&gt;&amp;nbsp; &amp;nbsp; MP4Box: /usr/bin/MP4Box&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/1772380466088233301/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/08/cpanel-how-to-install-ffmpeg-mplayer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1772380466088233301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1772380466088233301'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/08/cpanel-how-to-install-ffmpeg-mplayer.html' title='[CPanel] How to install ffmpeg mplayer and mencoder on CentOS6 (FFMpeg 0.7.11)'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-5015791540071371340</id><published>2013-08-09T22:42:00.002+05:30</published><updated>2013-08-09T22:42:43.365+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos"/><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="memcache"/><category scheme="http://www.blogger.com/atom/ns#" term="whm"/><title type='text'>Install Memcache on CentOS 6 cPanel</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: #dcf5f8; color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
Here is how to install Memcache for PHP on a CentOS 6 cPanel / WHM box. Some of the guides suggest that you need libevent (well, you do&amp;nbsp;&lt;em&gt;need&lt;/em&gt;&amp;nbsp;libevent), though when I tried it, I already had it installed. But if you need it, yum will sort you out.&lt;/div&gt;
&lt;pre style=&quot;background-color: #dcf5f8; color: #555555; font-size: 14px; line-height: 21px;&quot;&gt;yum install libevent&lt;/pre&gt;
&lt;div style=&quot;background-color: #dcf5f8; color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
Next, install memcache itself. Note that the package is called memcached.&lt;/div&gt;
&lt;pre style=&quot;background-color: #dcf5f8; color: #555555; font-size: 14px; line-height: 21px;&quot;&gt;yum install memcached&lt;/pre&gt;
&lt;div style=&quot;background-color: #dcf5f8; color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
Of course, just installing it doesn’t mean that the daemon is running. So don’t forget to start it too!&lt;/div&gt;
&lt;pre style=&quot;background-color: #dcf5f8; color: #555555; font-size: 14px; line-height: 21px;&quot;&gt;/etc/init.d/memcached start&lt;/pre&gt;
&lt;div style=&quot;background-color: #dcf5f8; color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
Finally, we need to add the PHP extension. Beware that the PECL installer on WHM won’t work! So you need to compile it manually from source. That isn’t too difficult though.&lt;/div&gt;
&lt;pre style=&quot;background-color: #dcf5f8; color: #555555; font-size: 14px; line-height: 21px;&quot;&gt;wget http://pecl.php.net/get/memcache
tar zxvf memcache
cd memcache-3.0.6
phpize
./configure
make
make install&lt;/pre&gt;
&lt;div style=&quot;background-color: #dcf5f8; color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
And add the extension to your php.ini.&lt;/div&gt;
&lt;pre style=&quot;background-color: #dcf5f8; color: #555555; font-size: 14px; line-height: 21px;&quot;&gt;extension=memcache.so&lt;/pre&gt;
&lt;div style=&quot;background-color: #dcf5f8; color: #555555; font-family: Arial, Helvetica, sans-serif; font-size: 14px; line-height: 21px;&quot;&gt;
Now restart Apache and a memcache section should appear in your PHP info.&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/5015791540071371340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/08/install-memcache-on-centos-6-cpanel.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5015791540071371340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/5015791540071371340'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/08/install-memcache-on-centos-6-cpanel.html' title='Install Memcache on CentOS 6 cPanel'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-1306992775192389348</id><published>2013-08-08T23:57:00.002+05:30</published><updated>2013-08-08T23:57:50.675+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="copy"/><category scheme="http://www.blogger.com/atom/ns#" term="putty"/><category scheme="http://www.blogger.com/atom/ns#" term="root"/><category scheme="http://www.blogger.com/atom/ns#" term="scp"/><category scheme="http://www.blogger.com/atom/ns#" term="ssh"/><title type='text'>Linux: HowTo Copy a Folder [ Command Line Option ]</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;span class=&quot;drop_cap&quot; style=&quot;color: #888888; float: left; font-size: 3.571em; line-height: 0.76em; margin: 0px; padding: 0.04em 0.12em 0px 0px;&quot;&gt;I&lt;/span&gt;&#39;m a new Linux user. How do I copy a directory or folder under Linux operating system using command line options and bash shell?&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;span id=&quot;more-11901&quot; style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;/span&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;You can use various command to copy a folder under Linux operating systems.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 1.286em; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
cp Command&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
cp is a Linux command for copying files and directories. The syntax is as follows:&lt;/div&gt;
&lt;pre class=&quot;bash&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;&amp;nbsp;
&lt;span style=&quot;color: #c20cb9; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;cp&lt;/span&gt; &lt;span style=&quot;color: #7a0874; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;source&lt;/span&gt; destination
&lt;span style=&quot;color: #c20cb9; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;cp&lt;/span&gt; dir1 dir2
&lt;span style=&quot;color: #c20cb9; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;cp&lt;/span&gt; -option  &lt;span style=&quot;color: #7a0874; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;source&lt;/span&gt; destination
&lt;span style=&quot;color: #c20cb9; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;cp&lt;/span&gt; -option1 -option2  &lt;span style=&quot;color: #7a0874; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;source&lt;/span&gt; destination
&amp;nbsp;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
In this example copy /home/vivek/letters folder and all its files to /usb/backup directory:&lt;/div&gt;
&lt;pre class=&quot;bash&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;&amp;nbsp;
&lt;span style=&quot;color: #c20cb9; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;cp&lt;/span&gt; -avr /home/vivek/letters /usb/backup
&amp;nbsp;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Where,&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; list-style: square; margin: 0px 0px 1.571em 1.571em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-a&amp;nbsp;&lt;/strong&gt;: Preserve the specified attributes such as directory an file mode, ownership, timestamps, if possible additional attributes: context, links, xattr, all.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-v&amp;nbsp;&lt;/strong&gt;: Explain what is being done.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-r&lt;/strong&gt;&amp;nbsp;: Copy directories recursively.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 1.286em; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
Example&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
Copy a folder called /tmp/conf to /tmp/backup:&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;code style=&quot;background-attachment: scroll; background-color: #eeeeee; background-image: none; background-position: 0px 0px; background-repeat: repeat repeat; border: 1px solid rgb(221, 221, 221); display: block; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin: 0px 0px 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ cp -avr /tmp/conf/ /tmp/backup&lt;/code&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;Sample outputs:&lt;/div&gt;
&lt;div class=&quot;wp-caption alignnone&quot; id=&quot;attachment_11910&quot; style=&quot;background-color: white; border: 0em none rgb(221, 221, 221); clear: both; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; font-style: italic; line-height: 21.984375px; margin: 0px auto 1.571em 0px; padding: 0em; text-align: center; width: 606px;&quot;&gt;
&lt;a href=&quot;http://www.cyberciti.biz/faq/copy-folder-linux-command-line/copy-folder-linux-terminal-command/&quot; rel=&quot;attachment wp-att-11910&quot; style=&quot;color: #2361a1; margin: 0px; padding: 0px;&quot;&gt;&lt;img alt=&quot;HowTO: Copy Folder Linux Terminal Command&quot; class=&quot;size-full wp-image-11910&quot; height=&quot;294&quot; src=&quot;http://files.cyberciti.biz/uploads/faq/2012/04/copy-folder-linux-terminal-command.png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;HowTO: Copy Folder Linux Terminal Command&quot; width=&quot;596&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;wp-caption-text&quot; style=&quot;font-size: 0.857em; line-height: 1.5em; padding: 0px;&quot;&gt;
Fig.01: cp command in action&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 1.286em; line-height: 1.222em; margin: 1.833em 0px 0.611em; padding: 0px;&quot;&gt;
rsync Command&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
You can also use rsync command which is a fast and extraordinarily versatile file copying tool. It can make copies across the network. The syntax is as follows:&lt;/div&gt;
&lt;pre class=&quot;bash&quot; style=&quot;background-color: #eeeeee; border: 1px solid rgb(221, 221, 221); clear: both; color: #111111; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin-bottom: 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;&amp;nbsp;
rsync -av /path/to/&lt;span style=&quot;color: #7a0874; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;source&lt;/span&gt; /path/to/destination
rsync -av /path/to/&lt;span style=&quot;color: #7a0874; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;source&lt;/span&gt;/ /path/to/destination/&lt;span style=&quot;color: #7a0874; font-weight: bold; margin: 0px; padding: 0px;&quot;&gt;source&lt;/span&gt;
&amp;nbsp;&lt;/pre&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
To backup my home directory, which consists of large files and mail folders to /media/backup, enter:&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;code style=&quot;background-attachment: scroll; background-color: #eeeeee; background-image: none; background-position: 0px 0px; background-repeat: repeat repeat; border: 1px solid rgb(221, 221, 221); display: block; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin: 0px 0px 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ rsync -avz /home/vivek /media/backup&lt;/code&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;I can copy a folder to remote machine called server1.cyberciti.biz:&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;code style=&quot;background-attachment: scroll; background-color: #eeeeee; background-image: none; background-position: 0px 0px; background-repeat: repeat repeat; border: 1px solid rgb(221, 221, 221); display: block; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin: 0px 0px 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ rsync -avz /home/vivek/ server1.cyberciti.biz:/home/backups/vivek&lt;/code&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;Where,&lt;/div&gt;
&lt;ul style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; list-style: square; margin: 0px 0px 1.571em 1.571em; padding: 0px;&quot;&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-a&lt;/strong&gt;&amp;nbsp;: Archive mode i.e. copy a folder with all its permission and other information including recursive copy.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-v&lt;/strong&gt;&amp;nbsp;: Verbose mode.&lt;/li&gt;
&lt;li style=&quot;margin: 0px; padding: 0px;&quot;&gt;&lt;strong style=&quot;margin: 0px; padding: 0px;&quot;&gt;-z&lt;/strong&gt;&amp;nbsp;: With this option, rsync compresses the file data as it is sent to the destination machine, which reduces the amount of data being transmitted — something that is useful over a slow connection.&lt;/li&gt;
&lt;/ul&gt;
&lt;div style=&quot;background-color: white; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; line-height: 21.984375px; margin-bottom: 1.571em; padding: 0px;&quot;&gt;
You can show progress during transfer using --progress or -P option:&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;&lt;code style=&quot;background-attachment: scroll; background-color: #eeeeee; background-image: none; background-position: 0px 0px; background-repeat: repeat repeat; border: 1px solid rgb(221, 221, 221); display: block; font-family: Consolas, &#39;Andale Mono&#39;, Monaco, Courier, &#39;Courier New&#39;, Verdana, sans-serif; font-size: 0.857em; line-height: 1.5em; margin: 0px 0px 1.833em; overflow: auto; padding: 0.667em 0.917em;&quot;&gt;$ rsync -av --progress /path/to/source/ /path/to/dest&lt;/code&gt;&lt;br style=&quot;margin: 0px; padding: 0px;&quot; /&gt;Sample outputs:&lt;/div&gt;
&lt;div class=&quot;wp-caption alignnone&quot; id=&quot;attachment_11915&quot; style=&quot;background-color: white; border: 0em none rgb(221, 221, 221); clear: both; color: #111111; font-family: Arial, &#39;Helvetica Neue&#39;, Helvetica, sans-serif; font-size: 14px; font-style: italic; line-height: 21.984375px; margin: 0px auto 1.571em 0px; padding: 0em; text-align: center; width: 608px;&quot;&gt;
&lt;a href=&quot;http://www.cyberciti.biz/faq/copy-folder-linux-command-line/copy-folder-linux-commands-rsync/&quot; rel=&quot;attachment wp-att-11915&quot; style=&quot;color: #2361a1; margin: 0px; padding: 0px;&quot;&gt;&lt;img alt=&quot;Copy Folder Linux Commands [ rsync ]&quot; class=&quot;size-full wp-image-11915&quot; height=&quot;812&quot; src=&quot;http://files.cyberciti.biz/uploads/faq/2012/04/copy-folder-linux-commands-rsync..png&quot; style=&quot;border: 0px; margin: 0px; padding: 0px;&quot; title=&quot;Copy Folder Linux Commands [ rsync ]&quot; width=&quot;598&quot; /&gt;&lt;/a&gt;&lt;div class=&quot;wp-caption-text&quot; style=&quot;font-size: 0.857em; line-height: 1.5em; padding: 0px;&quot;&gt;
Fig.02: rsync command in action&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/1306992775192389348/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/08/linux-howto-copy-folder-command-line.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1306992775192389348'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/1306992775192389348'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/08/linux-howto-copy-folder-command-line.html' title='Linux: HowTo Copy a Folder [ Command Line Option ]'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-6682728849397518810</id><published>2013-08-08T21:29:00.001+05:30</published><updated>2013-08-08T21:29:50.023+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="cpanel"/><category scheme="http://www.blogger.com/atom/ns#" term="fix"/><category scheme="http://www.blogger.com/atom/ns#" term="permissions"/><category scheme="http://www.blogger.com/atom/ns#" term="user"/><title type='text'>[CPanel] Auto fix for file permissions and ownership</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
suPHP and FastCGI require files and folders to have a specific set of permissions/ownership from other handlers. Without these permissions set you will see a lot of errors such as: “403 Forbidden”, “500 Internal Server Error”, or simply generic errors that commonly have the word ‘permission’ in them.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
It can be very time consuming to track down and check file permissions across a whole server. Luckily, fixing this on a cPanel box can be scripted. This gives us a quick and very easy script you can wget to any cPanel server. Simply run the ‘fixperms’ script, specifying the user (or all users), sit back and watch the errors just disappear. I use this script daily in my administrative work and it never fails! It is simply a good generic fix if you cannot find your permission problem, or if you have just switched your handler and need a quick way to change every user account on the server.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; float: none; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 10px 0px; text-align: center; word-wrap: break-word;&quot;&gt;
&lt;div id=&quot;google-ads-link-unit&quot; style=&quot;word-wrap: break-word;&quot;&gt;
&lt;ins style=&quot;background-color: rgba(254, 255, 0, 0.682353); border: none; display: inline-table; height: 15px; margin: 0px; padding: 0px; position: relative; text-decoration: none; visibility: visible; width: 468px; word-wrap: break-word;&quot;&gt;&lt;ins id=&quot;aswift_0_anchor&quot; style=&quot;border: none; display: block; height: 15px; margin: 0px; padding: 0px; position: relative; text-decoration: none; visibility: visible; width: 468px; word-wrap: break-word;&quot;&gt;&lt;iframe allowtransparency=&quot;true&quot; frameborder=&quot;0&quot; height=&quot;15&quot; hspace=&quot;0&quot; id=&quot;aswift_0&quot; marginheight=&quot;0&quot; marginwidth=&quot;0&quot; name=&quot;aswift_0&quot; scrolling=&quot;no&quot; style=&quot;left: 0px; position: absolute; top: 0px; word-wrap: break-word;&quot; vspace=&quot;0&quot; width=&quot;468&quot;&gt;&lt;/iframe&gt;&lt;/ins&gt;&lt;/ins&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
Credit does not go to me though. A good buddy of mine,&amp;nbsp;&lt;a href=&quot;http://colinrd.com/&quot; style=&quot;color: #4d8b97; text-decoration: none; word-wrap: break-word;&quot; target=&quot;_blank&quot;&gt;Colin R.&lt;/a&gt;, wrote this for ServInt. Thanks Colin for making lives easier!&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
&lt;strong style=&quot;word-wrap: break-word;&quot;&gt;***WARNING!!!&lt;/strong&gt;&amp;nbsp;The following scripts are intended for&amp;nbsp;&lt;strong style=&quot;word-wrap: break-word;&quot;&gt;suPHP&lt;/strong&gt;&amp;nbsp;or&amp;nbsp;&lt;strong style=&quot;word-wrap: break-word;&quot;&gt;FastCGI&lt;/strong&gt;. If you are not running either of these two handlers, be aware of how the script works and the changes it makes. The code is posted at the end of this article; please take a moment to review it. For example, when running DSO, some files/folders may need to be owned by ‘nobody’ in order to function properly (such as in certain WordPress functions or PHP based file uploads). Running this fixperms will set everything to USER:USER. Under DSO, this is potentially not a problem for most sites, except a few core functions may not work. You can always change specific files later if any errors pop up.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
Furthermore, it is highly recommended that you run a full backup of your server before running fixperms or any other script that makes changes to multiple files.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
This ‘fixperms’ script is intended for cPanel servers only. It is dependent on cPanel’s internal scripts and file structure. If you’re on anything else (such as Plesk), it will simply fail to run. It won’t be able to do anything.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
I know that criteria sounds very specific, but those two conditions cover a large number of the reseller/multi-user hosting servers out there. And that’s really the crowd that would benefit most from an automated script such as this.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
That all being said, if you are running suPHP or FastCGI, press on; for this script will work flawlessly for you and potentially save you a TON of time &amp;amp; hassle.&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 30px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
Fixperms – for one single user&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
To use the fixperms script, simply log into your server as root, wget the file from our server, then run it. Type in the cPanel username and it will run only for that particular account.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
It does not matter which directory you are in when you run fixperms. You can be in the user’s home directory, the server root, etc. The script will not affect anything outside of the particular user’s folder.&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover wrap&quot; id=&quot;crayon-5203bbd9b12d3260910097&quot; style=&quot;background-color: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; clear: both; color: #333333; direction: ltr !important; float: none; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background-color: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background-position: 0px 50%; border: 0px; float: right !important; font-family: inherit; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button crayon-pressed&quot; style=&quot;background-color: #bcbcbc; background-position: -24px 0px; background-repeat: no-repeat no-repeat; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: -24px -112px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Expand Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background-position: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;mouseover&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 40px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; width: 578px; word-wrap: normal; z-index: 0;&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background-position: 0px 50%; border: 0px; margin: 0px; opacity: 1; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background-image: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background-position: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background-color: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background-position: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5203bbd9b12d3260910097-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: 20px; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-5203bbd9b12d3260910097-2&quot; style=&quot;background-color: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; height: 20px; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background-image: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5203bbd9b12d3260910097-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; margin: 0px; padding: 0px 5px; white-space: pre-wrap !important; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;wget &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;boomshadow&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.net&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;utils&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.sh&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-5203bbd9b12d3260910097-2&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; margin: 0px; padding: 0px 5px; white-space: pre-wrap !important; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;USER&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;NAME&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h2 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 30px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
Fixperms – for all of the users&lt;/h2&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
If you would like fix the permissions for every user on your cPanel server, simply use the ‘-all’ option:&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover wrap&quot; id=&quot;crayon-5203bbd9b12f4122509652&quot; style=&quot;background-color: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; clear: both; color: #333333; direction: ltr !important; float: none; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background-color: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background-position: 0px 50%; border: 0px; float: right !important; font-family: inherit; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button crayon-pressed&quot; style=&quot;background-color: #bcbcbc; background-position: -24px 0px; background-repeat: no-repeat no-repeat; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: -24px -112px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Expand Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background-position: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;mouseover&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 40px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; width: 578px; word-wrap: normal; z-index: 0;&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background-position: 0px 50%; border: 0px; margin: 0px; opacity: 1; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background-image: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background-position: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background-color: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background-position: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5203bbd9b12f4122509652-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: 20px; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;div class=&quot;crayon-num crayon-striped-num&quot; data-line=&quot;crayon-5203bbd9b12f4122509652-2&quot; style=&quot;background-color: rgb(200, 225, 250) !important; border: 0px; color: rgb(49, 124, 197) !important; font-family: inherit; font-size: inherit !important; height: 20px; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
2&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background-image: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5203bbd9b12f4122509652-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; margin: 0px; padding: 0px 5px; white-space: pre-wrap !important; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;wget &lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;boomshadow&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.net&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;tools&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;utils&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.sh&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-line crayon-striped-line&quot; id=&quot;crayon-5203bbd9b12f4122509652-2&quot; style=&quot;background-color: rgb(247, 247, 247) !important; border: 0px; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; margin: 0px; padding: 0px 5px; white-space: pre-wrap !important; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;all&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;h4 style=&quot;background-color: white; color: #444444; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 20px; line-height: 1.2; margin: 10px 0px; text-rendering: optimizelegibility; word-wrap: break-word;&quot;&gt;
Verbosity of Fixperms&lt;/h4&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
By default, the script runs in a ‘quiet’ mode with minimal display. However, if you’re like me, you may want to see everything that is happening. You can turn on verbosity and have the script print to the screen everything that is being changed. I find this extremely useful when fixing large accounts that have many files. You can watch the changes as a sort of ‘progress bar’ of completion. The ‘-v’ option can be used per account or with all accounts.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
For one single account:&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover wrap&quot; id=&quot;crayon-5203bbd9b1303357997645&quot; style=&quot;background-color: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; clear: both; color: #333333; direction: ltr !important; float: none; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background-color: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background-position: 0px 50%; border: 0px; float: right !important; font-family: inherit; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button crayon-pressed&quot; style=&quot;background-color: #bcbcbc; background-position: -24px 0px; background-repeat: no-repeat no-repeat; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: -24px -112px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Expand Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background-position: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;mouseover&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 20px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; width: 578px; word-wrap: normal; z-index: 0;&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background-position: 0px 50%; border: 0px; margin: 0px; opacity: 1; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background-image: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background-position: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background-color: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background-position: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5203bbd9b1303357997645-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: 20px; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background-image: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5203bbd9b1303357997645-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; margin: 0px; padding: 0px 5px; white-space: pre-wrap !important; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;a&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;USER&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;NAME&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: &#39;Helvetica Neue&#39;, Helvetica, Arial, sans-serif; font-size: 16px; line-height: 1.5; margin-bottom: 20px; word-wrap: break-word;&quot;&gt;
For all accounts:&lt;/div&gt;
&lt;div class=&quot;crayon-syntax crayon-theme-classic crayon-font-monaco crayon-os-pc print-yes crayon-wrapped&quot; data-settings=&quot; minimize scroll-mouseover wrap&quot; id=&quot;crayon-5203bbd9b1310426996855&quot; style=&quot;background-color: rgb(253, 253, 253) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; clear: both; color: #333333; direction: ltr !important; float: none; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace; font-size: 16px !important; height: auto; line-height: 20px !important; margin: 12px 0px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 580px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-toolbar&quot; data-settings=&quot; show&quot; style=&quot;background-color: rgb(221, 221, 221) !important; border-bottom-color: rgb(187, 187, 187) !important; border-bottom-style: solid !important; border-bottom-width: 1px !important; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px; height: 24px !important; line-height: 24px !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 4;&quot;&gt;
&lt;span class=&quot;crayon-title&quot; style=&quot;float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 4px !important; word-wrap: break-word;&quot;&gt;&lt;/span&gt;&lt;div class=&quot;crayon-tools&quot; style=&quot;background-position: 0px 50%; border: 0px; float: right !important; font-family: inherit; height: 24px !important; margin: 0px; padding: 0px; position: absolute; right: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-button crayon-plain-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Plain Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -48px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-wrap-button crayon-pressed&quot; style=&quot;background-color: #bcbcbc; background-position: -24px 0px; background-repeat: no-repeat no-repeat; border: 0px; color: white; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Toggle Line Wrap&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: -24px -112px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-copy-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Expand Code&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px -16px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-button crayon-popup-button&quot; style=&quot;background-position: 0px 50%; background-repeat: no-repeat no-repeat; border: 0px; display: inline; float: left !important; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: 15px; margin: 0px; padding: 0px; position: relative; width: 24px; word-wrap: break-word;&quot; title=&quot;Open Code In New Window&quot;&gt;
&lt;div class=&quot;crayon-button-icon&quot; style=&quot;background-image: url(http://boomshadow.net/wp-content/plugins/crayon-syntax-highlighter/css/images/toolbar/buttons.png); background-position: 0px 0px; border: 0px; font-family: inherit; font-size: inherit !important; height: 16px !important; left: 0px; line-height: inherit !important; margin: -8px 0px 0px; padding: 0px; position: absolute; top: 12px; width: 24px; word-wrap: break-word;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;span class=&quot;crayon-language&quot; style=&quot;color: rgb(153, 153, 153) !important; float: left; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; padding: 0px 8px 0px 4px !important; word-wrap: break-word;&quot;&gt;Shell&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class=&quot;crayon-plain-wrap&quot; style=&quot;background-position: 0px 50%; border: 0px; height: auto !important; margin: 0px !important; padding: 0px !important; word-wrap: break-word;&quot;&gt;
&lt;textarea class=&quot;crayon-plain print-no&quot; data-settings=&quot;mouseover&quot; readonly=&quot;&quot; style=&quot;-webkit-box-shadow: none; -webkit-transition: border 0.2s linear, box-shadow 0.2s linear; border-bottom-left-radius: 0px; border-bottom-right-radius: 0px; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px; box-shadow: none; color: black; cursor: not-allowed; font-family: Monaco, MonacoRegular, &#39;Courier New&#39;, monospace !important; height: 20px; line-height: 20px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border 0.2s linear, box-shadow 0.2s linear; vertical-align: middle; width: 578px; word-wrap: normal; z-index: 0;&quot;&gt;&lt;/textarea&gt;&lt;/div&gt;
&lt;div class=&quot;crayon-main&quot; style=&quot;background-position: 0px 50%; border: 0px; margin: 0px; opacity: 1; overflow: hidden; padding: 0px; position: relative; width: 578px; word-wrap: break-word; z-index: 1;&quot;&gt;
&lt;table class=&quot;crayon-table&quot; style=&quot;background-image: none !important; border-bottom-color: rgb(221, 221, 221); border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; border-bottom-style: solid; border-right-color: rgb(221, 221, 221); border-right-style: solid; border-spacing: 0px !important; border-top-color: rgb(221, 221, 221); border-top-left-radius: 4px; border-top-right-radius: 4px; border-top-style: solid; border-width: 1px 1px 1px 0px; font-size: 12px; margin: 20px 0px; max-width: 100%; padding: 0px !important; width: 578px; word-wrap: break-word;&quot;&gt;&lt;tbody style=&quot;word-wrap: break-word;&quot;&gt;
&lt;tr class=&quot;crayon-row&quot; style=&quot;background-position: 0px 50%; border: none !important; margin: 0px !important; padding: 0px !important; vertical-align: top !important; word-wrap: break-word;&quot;&gt;&lt;td class=&quot;crayon-nums &quot; data-settings=&quot;show&quot; style=&quot;background-color: rgb(223, 239, 255) !important; border-bottom-left-radius: 4px; border-bottom-right-radius: 0px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; color: rgb(84, 153, 222) !important; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-nums-content&quot; style=&quot;background-position: 0px 50%; border: 0px; font-size: 16px !important; line-height: 20px !important; margin: 0px; padding: 0px; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-num&quot; data-line=&quot;crayon-5203bbd9b1310426996855-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: 20px; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center; word-wrap: break-word;&quot;&gt;
1&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;td class=&quot;crayon-code&quot; style=&quot;background-position: 0px 50%; border-bottom-left-radius: 0px; border-bottom-right-radius: 4px; border-left-color: rgb(221, 221, 221); border-left-style: solid; border-top-left-radius: 0px; border-top-right-radius: 0px; border-width: 0px 0px 0px 1px; line-height: 18px; margin: 0px !important; padding: 8px; vertical-align: top; width: 558px; word-wrap: break-word;&quot;&gt;&lt;div class=&quot;crayon-pre&quot; style=&quot;background-image: none !important; border: none !important; font-size: 16px !important; line-height: 20px !important; margin: 0px; overflow: visible; padding: 0px; white-space: pre; word-wrap: break-word;&quot;&gt;
&lt;div class=&quot;crayon-line&quot; id=&quot;crayon-5203bbd9b1310426996855-1&quot; style=&quot;background-position: 0px 50%; border: 0px; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; margin: 0px; padding: 0px 5px; white-space: pre-wrap !important; word-wrap: break-word;&quot;&gt;
&lt;span class=&quot;crayon-r&quot; style=&quot;color: rgb(128, 0, 128) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-sy&quot; style=&quot;color: rgb(51, 51, 51) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.&lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;crayon-v&quot; style=&quot;color: rgb(0, 45, 122) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;fixperms&lt;/span&gt;&lt;span class=&quot;crayon-e&quot; style=&quot;color: rgb(0, 78, 208) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;.sh&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;v&lt;/span&gt;&lt;span class=&quot;crayon-h&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;crayon-o&quot; style=&quot;color: rgb(0, 111, 224) !important; display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;-&lt;/span&gt;&lt;span class=&quot;crayon-i&quot; style=&quot;display: inline-block; font-family: inherit; font-size: inherit !important; height: inherit !important; line-height: inherit !important; word-wrap: break-word; zoom: 1;&quot;&gt;all&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/6682728849397518810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/08/cpanel-auto-fix-for-file-permissions.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6682728849397518810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/6682728849397518810'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/08/cpanel-auto-fix-for-file-permissions.html' title='[CPanel] Auto fix for file permissions and ownership'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7464283476920101126.post-49368054365157572</id><published>2013-07-30T02:26:00.002+05:30</published><updated>2013-07-30T02:26:16.809+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="centos 5"/><category scheme="http://www.blogger.com/atom/ns#" term="centos 6"/><category scheme="http://www.blogger.com/atom/ns#" term="CentOS | Fedora"/><category scheme="http://www.blogger.com/atom/ns#" term="ftp"/><title type='text'>Install FTP in CentOS 6.3</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
This tutorial shows you how to install and configure FTP server in CentOS 6.3. Though the steps provided here are tested in CentOS 6.3, it should work on RHEL 6.x(x stands for version) and Scientific Linux 6.x too. In this tutorial my ftp server ip and hostname are&amp;nbsp;&lt;b&gt;&lt;i&gt;192.168.1.200&lt;/i&gt;&lt;/b&gt;&amp;nbsp;and&lt;b&gt;&lt;i&gt;mainserver.ostechnix.com&lt;/i&gt;&lt;/b&gt;&amp;nbsp;respectively. I have already configured a local repository and i am gonna to install FTP from my local repository. For more information navigate to&amp;nbsp;&lt;a href=&quot;http://ostechnix.wordpress.com/2013/01/05/setup-local-yum-server-in-centos-6-x-rhel-6-x-scientific-linux-6-x/&quot; style=&quot;-webkit-transition: all 0.3s ease-in-out; border: 0px; color: #fe7050; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; transition: all 0.3s ease-in-out; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;setup your local repoistory in CentOS 6 / RHEL 6 / Scientific Linux&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Before proceed, stop the firewall.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# service iptables stop
iptables: Flushing firewall rules: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ &amp;nbsp;OK &amp;nbsp;]
iptables: Setting chains to policy ACCEPT: filter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]
iptables: Unloading modules: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ &amp;nbsp;OK &amp;nbsp;]
[root@mainserver ~]# service ip6tables stop
ip6tables: Flushing firewall rules: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]
ip6tables: Setting chains to policy ACCEPT: filter &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; [ &amp;nbsp;OK &amp;nbsp;]
ip6tables: Unloading modules: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]
[root@mainserver ~]# chkconfig iptables off
[root@mainserver ~]# chkconfig ip6tables off
[root@mainserver ~]#&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Now let us install FTP service.&lt;/div&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; color: #666666; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# yum install -y vsftpd
[root@mainserver ~]#&amp;nbsp;Start vsftpd service.
[root@mainserver ~]# service vsftpd start
Starting vsftpd for vsftpd: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]
[root@mainserver ~]#&amp;nbsp;&lt;/pre&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Enable vsftpd in multi-user levels.&lt;/div&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; color: #666666; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# chkconfig vsftpd on&lt;/pre&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Now edit the&amp;nbsp;&lt;b&gt;&lt;i&gt;/etc/vsftpd/vsftpd.conf&lt;/i&gt;&lt;/b&gt;&amp;nbsp;file. Uncomment and edit the lines in the&amp;nbsp;&lt;b&gt;&lt;i&gt;vsftpd.conf&lt;/i&gt;&lt;/b&gt;&amp;nbsp;file which are shown in bold.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# cat /etc/vsftpd/vsftpd.conf&amp;nbsp;
# Example config file /etc/vsftpd/vsftpd.conf
#
# The default compiled in settings are fairly paranoid. This sample file
# loosens things up a bit, to make the ftp daemon more usable.
# Please see vsftpd.conf.5 for all compiled in defaults.
#
# READ THIS: This example file is NOT an exhaustive list of vsftpd options.
# Please read the vsftpd.conf.5 manual page to get a full idea of vsftpd&#39;s
# capabilities.
#
# Allow anonymous FTP? (Beware - allowed by default if you comment this out).
&lt;b&gt;anonymous_enable=NO&lt;/b&gt;
#
# Uncomment this to allow local users to log in.
local_enable=YES
#
# Uncomment this to enable any form of FTP write command.
write_enable=YES
#
# Default umask for local users is 077. You may wish to change this to 022,
# if your users expect that (022 is used by most other ftpd&#39;s)
local_umask=022
#
# Uncomment this to allow the anonymous FTP user to upload files. This only
# has an effect if the above global write enable is activated. Also, you will
# obviously need to create a directory writable by the FTP user.
#anon_upload_enable=YES
#
# Uncomment this if you want the anonymous FTP user to be able to create
# new directories.
#anon_mkdir_write_enable=YES
#
# Activate directory messages - messages given to remote users when they
# go into a certain directory.
dirmessage_enable=YES
#
# The target log file can be vsftpd_log_file or xferlog_file.
# This depends on setting xferlog_std_format parameter
xferlog_enable=YES
#
# Make sure PORT transfer connections originate from port 20 (ftp-data).
connect_from_port_20=YES
#
# If you want, you can arrange for uploaded anonymous files to be owned by
# a different user. Note! Using &quot;root&quot; for uploaded files is not
# recommended!
#chown_uploads=YES
#chown_username=whoever
#
# The name of log file when xferlog_enable=YES and xferlog_std_format=YES
# WARNING - changing this filename affects /etc/logrotate.d/vsftpd.log
#xferlog_file=/var/log/xferlog
#
# Switches between logging into vsftpd_log_file and xferlog_file files.
# NO writes to vsftpd_log_file, YES to xferlog_file
xferlog_std_format=YES
#
# You may change the default value for timing out an idle session.
#idle_session_timeout=600
#
# You may change the default value for timing out a data connection.
#data_connection_timeout=120
#
# It is recommended that you define on your system a unique user which the
# ftp server can use as a totally isolated and unprivileged user.
#nopriv_user=ftpsecure
#
# Enable this and the server will recognise asynchronous ABOR requests. Not
# recommended for security (the code is non-trivial). Not enabling it,
# however, may confuse older FTP clients.
#async_abor_enable=YES
#
# By default the server will pretend to allow ASCII mode but in fact ignore
# the request. Turn on the below options to have the server actually do ASCII
# mangling on files when in ASCII mode.
# Beware that on some FTP servers, ASCII support allows a denial of service
# attack (DoS) via the command &quot;SIZE /big/file&quot; in ASCII mode. vsftpd
# predicted this attack and has always been safe, reporting the size of the
# raw file.
# ASCII mangling is a horrible feature of the protocol.
&lt;b&gt;ascii_upload_enable=YES
ascii_download_enable=YES&lt;/b&gt;
#
# You may fully customise the login banner string:
&lt;b&gt;ftpd_banner=Welcome to OSTECHNIX FTP service.&lt;/b&gt;
#
# You may specify a file of disallowed anonymous e-mail addresses. Apparently
# useful for combatting certain DoS attacks.
#deny_email_enable=YES
# (default follows)
#banned_email_file=/etc/vsftpd/banned_emails
#
# You may specify an explicit list of local users to chroot() to their home
# directory. If chroot_local_user is YES, then this list becomes a list of
# users to NOT chroot().
#chroot_local_user=YES
#chroot_list_enable=YES
# (default follows)
#chroot_list_file=/etc/vsftpd/chroot_list
#
# You may activate the &quot;-R&quot; option to the builtin ls. This is disabled by
# default to avoid remote users being able to cause excessive I/O on large
# sites. However, some broken FTP clients such as &quot;ncftp&quot; and &quot;mirror&quot; assume
# the presence of the &quot;-R&quot; option, so there is a strong case for enabling it.
ls_recurse_enable=YES
#
# When &quot;listen&quot; directive is enabled, vsftpd runs in standalone mode and
# listens on IPv4 sockets. This directive cannot be used in conjunction
# with the listen_ipv6 directive.
listen=YES
#
# This directive enables listening on IPv6 sockets. To listen on IPv4 and IPv6
# sockets, you must run two copies of vsftpd with two configuration files.
# Make sure, that one of the listen options is commented !!
#listen_ipv6=YES
pam_service_name=vsftpd
userlist_enable=YES
tcp_wrappers=YES
&lt;b&gt;use_localtime=YES&lt;/b&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Now let us restart the vsftpd service and try to connect to ftp server.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# service vsftpd restart
Shutting down vsftpd: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]
Starting vsftpd for vsftpd: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[ &amp;nbsp;OK &amp;nbsp;]&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Connect to the ftp server.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;b&gt;Note: Root is not allowed to connect to ftp server by default for security purpose. So lets us create a new user called ostechnix.&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# useradd ostechnix
[root@mainserver ~]# passwd ostechnix
Changing password for user ostechnix.
New password:&amp;nbsp;
BAD PASSWORD: it is based on a dictionary word
Retype new password:&amp;nbsp;
passwd: all authentication tokens updated successfully.&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Connet to FTP server using the new user&amp;nbsp;&lt;b&gt;&lt;i&gt;ostechnix&lt;/i&gt;&lt;/b&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# ftp 192.168.1.200
-bash: ftp: command not found
[root@mainserver ~]#&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Oops! ftp package is not installed. So let us install ftp package first.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# yum install -y ftp
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--&amp;gt; Running transaction check
---&amp;gt; Package ftp.i686 0:0.17-51.1.el6 will be installed
--&amp;gt; Finished Dependency Resolution
Dependencies Resolved
================================================================================
&amp;nbsp;Package &amp;nbsp; &amp;nbsp; &amp;nbsp; Arch &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Version &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Repository &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Size
================================================================================
Installing:
&amp;nbsp;ftp &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; i686 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 0.17-51.1.el6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; localrepo &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;55 k
Transaction Summary
================================================================================
Install &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 Package(s)
Total download size: 55 k
Installed size: 91 k
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
&amp;nbsp; Installing : ftp-0.17-51.1.el6.i686 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1/1&amp;nbsp;
&amp;nbsp; Verifying &amp;nbsp;: ftp-0.17-51.1.el6.i686 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 1/1&amp;nbsp;
Installed:
&amp;nbsp; ftp.i686 0:0.17-51.1.el6 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
Complete!
[root@mainserver ~]#&amp;nbsp;&lt;/pre&gt;
&lt;div style=&quot;border: 0px; font-family: inherit; font-style: inherit; margin-bottom: 1.6em; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Again connect to the FTP server.&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# ftp 192.168.1.200
Connected to 192.168.1.200 (192.168.1.200).
220 Welcome to OSTECHNIX FTP service.
Name (192.168.1.200:root): ostechnix
331 Please specify the password.
Password:
500 OOPS: cannot change directory:/home/ostechnix
Login failed.
ftp&amp;gt;&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
It shows a error that the user cannot change to his $HOME directory.&amp;nbsp;Type exit to return back from the ftp console and&amp;nbsp;allow vsftpd daemon to change users into their $HOME directories. To do that update SELinux configuration using the command below.&lt;/div&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; color: #666666; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# setsebool -P ftp_home_dir on&lt;/pre&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
And finally connect to the FTP server.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;pre style=&quot;background-color: rgba(0, 0, 0, 0.027451); border: 0px; font-family: &#39;Courier 10 Pitch&#39;, Courier, monospace; font-size: 1.5rem; font-style: inherit; line-height: 1.6; margin-bottom: 1.6em; max-width: 100%; outline: 0px; overflow: auto; padding: 1.6em; vertical-align: baseline;&quot;&gt;[root@mainserver ~]# ftp 192.168.1.200
Connected to 192.168.1.200 (192.168.1.200).
220 Welcome to OSTECHNIX FTP service.
Name (192.168.1.200:root): ostechnix
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp&amp;gt; pwd
257 &quot;/home/ostechnix&quot;
ftp&amp;gt;&amp;nbsp;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Its working now. You can use your FTP server.&lt;/div&gt;
&lt;h3 style=&quot;background-color: #fdfdfa; border: 0px; clear: both; color: #fe7050; font-family: Alegreya, &#39;Times New Roman&#39;, serif; font-size: 2.3rem; font-weight: inherit; margin: 0.8em 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Connect to FTP server using Filezilla from Client:&lt;/h3&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Download and install&amp;nbsp;&lt;a href=&quot;http://filezilla-project.org/&quot; style=&quot;-webkit-transition: all 0.3s ease-in-out; border: 0px; color: #fe7050; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; transition: all 0.3s ease-in-out; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Filezilla&lt;/a&gt;&amp;nbsp;client software to any one of the client systems. Open the Filezilla client and enter the username and password which we have created earlier and click connect.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;775&quot; src=&quot;http://ostechnix.files.wordpress.com/2013/01/025.png?w=906&amp;amp;h=775&quot; style=&quot;height: auto; max-width: 100%;&quot; width=&quot;906&quot; /&gt;&lt;/div&gt;
&lt;h3 style=&quot;background-color: #fdfdfa; border: 0px; clear: both; color: #fe7050; font-family: Alegreya, &#39;Times New Roman&#39;, serif; font-size: 2.3rem; font-weight: inherit; margin: 0.8em 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Connect to FTP server via browser from the client:&lt;/h3&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Open the browser and navigate to ftp://192.1168.1.200. Enter the username and password which we cretaed earlier.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;775&quot; src=&quot;http://ostechnix.files.wordpress.com/2013/01/22.png?w=1280&amp;amp;h=775&quot; style=&quot;height: auto; max-width: 100%;&quot; width=&quot;1280&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;img height=&quot;775&quot; src=&quot;http://ostechnix.files.wordpress.com/2013/01/23.png?w=1280&amp;amp;h=775&quot; style=&quot;height: auto; max-width: 100%;&quot; width=&quot;1280&quot; /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
If you want to browse ftp server using domain name(i.e ftp://ostechnix.com) instead of ip address, add the ftp server ip in the DNS server records. For more information to configure DNS server navigate to&amp;nbsp;&lt;a href=&quot;http://ostechnix.wordpress.com/2013/01/25/setup-dns-server-step-by-step-in-centos-6-3-rhel-6-3-scientific-linux-6-3-3/&quot; style=&quot;-webkit-transition: all 0.3s ease-in-out; border: 0px; color: #fe7050; font-family: inherit; font-style: inherit; margin: 0px; outline: 0px; padding: 0px; transition: all 0.3s ease-in-out; vertical-align: baseline;&quot; target=&quot;_blank&quot;&gt;Setup DNS server in CentOS 6.3/RHEL 6.3/Scientific Linux 6.3&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Thats it. You can access your FTP server from any client now using Filezilla and as well as from your client web browser.&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: #fdfdfa; border: 0px; color: #666666; font-family: &#39;Source Sans Pro&#39;, Arial, Helvetica, sans-serif; font-size: 18px; line-height: 28px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;
Have a good day!!!&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://w3tool.blogspot.com/feeds/49368054365157572/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://w3tool.blogspot.com/2013/07/install-ftp-in-centos-63.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/49368054365157572'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7464283476920101126/posts/default/49368054365157572'/><link rel='alternate' type='text/html' href='http://w3tool.blogspot.com/2013/07/install-ftp-in-centos-63.html' title='Install FTP in CentOS 6.3'/><author><name>Anonymous</name><uri>http://www.blogger.com/profile/16411069081578458369</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>