From codeulate.com A noob uses the arrow keys. The First Commandment of vim is “Thou shalt not use the arrow keys, for they be too far from thy holy home row. Use instead the blessed h, j, k and l.” A noob does not know his motions. When a noob deletes a word, he holds…
Change username or UserID/uid on Linux
From linuxers.org Usermod is a useful command to manage user settings. It modifies the system account files to reflect the changes that are specified on the command line. It is capable of doing a lot of things, but here we will see how to change username and UserID or uid on Linux using usermod. Change…
New apache tomcat server 7.0
The Apache Software Foundation (ASF) has announced Version 7.0 release of Apache Tomcat, the popular open-source Java web server. Tomcat 7.0 is the first major release of the software since 2006. Apache Tomcat 7 is the project’s first major release since 2006, fully implementing the Java Servlet 3.0, JavaServer Pages (JSP) 2.2, and Expression Language…
How linux start up scripts work
From wiki.clug.org.za Introduction If you are coming from a Windows environment, the way that GNU/Linux starts up may seem very confusing. Just like Windows, Linux has several places where start-up scripts and actions can be stored. The methods used in Linux though, are more structured and organised, and once you get the hang of it,…
Getting the most from your bash history
From serverwatch.com Type history at the Bash command prompt, and you’ll get a list of your previous commands. You can navigate through these with the up and down arrows, but there are other ways of interacting with them that I’ve been investigating this week. One straightforward option is to use the number at the start…
Automatically recover Tomcat from crashes
From vineetmanohar.com Tomcat occasionally crashes if you do frequent hot-deploys or if you are running it on a machine with low memory. Every time tomcat crashes someone has to manually restart it, so I wrote a script which automatically detects that tomcat has crashed and restarts it. Here’s the pseudo logic: every few minutes {…
Boomerang
boomerang always comes back, except when it hits something. Boomerang This piece of javascript measures a whole bunch of performance characteristics of your user’s web browsing experience. All you have to do is stick it into the bottom of your web pages and call the init() method. We’ll make it more complicated later. Documentation is…
Removing ASSP X
If you want to uninstall ASSP X, run the following in order from the command line on the server: /bin/rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/addon_asspx.cgi /bin/rm -fv /usr/local/cpanel/whostmgr/docroot/cgi/asspxversion.txt /bin/rm -Rfv /usr/local/cpanel/whostmgr/docroot/cgi/asspx/ /bin/rm -fv /usr/local/cpanel/3rdparty/asspx /bin/rm -fv /etc/cron.d/assp /etc/init.d/crond reload /etc/init.d/assp stop /bin/rm -fv /etc/init.d/assp /bin/rm -Rfv /usr/local/assp /bin/rm -Rfv /usr/local/asspx /bin/rm -Rfv /etc/chkserv.d/assp* For cPanel 11 unregister ASSP…
Storm On Demand Declared Best Cloud Computing Service
Storm On Demand Declared Best Cloud Computing Service by Independent Analyst Storm On Demand more powerful and less expensive than Amazon EC2! LANSING, Mich., June 23, 2010 /PRNewswire via COMTEX/ — On Monday Cloud Computing analyst, www.CloudHarmony.com, completed their fourth round of benchmark testing of Cloud Computing platforms. This round of testing was focused on…
Force inactive user logout
From linuxers.org When you work on different servers from your system, the sessions are scattered over various terminals across different workspaces. Its a common mistake people usually make by leaving one or more of those server sessions open. Such sessions can lead to bad things if they get in hands of someone else. So, instead…
-
Recent Posts
-
Archives
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- October 2020
- September 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- August 2019
- June 2019
- March 2019
- February 2019
- January 2019
- November 2018
- August 2018
- July 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- October 2017
- June 2017
- December 2016
- October 2016
- September 2016
- August 2016
- June 2016
- May 2016
- March 2016
- February 2016
- September 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- June 2010
- May 2010
- April 2010
- March 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- March 2009
-
Meta