Tag Archives : debian

Manage Debian auto startup scripts

Manage Debian auto startup scripts

Debian uses a Sys-V like init system for executing commands when the system runlevel changes – for example at bootup and shutdown time. Its startup files are stored in /etc/init.d/ and symbolic linked within the /etc/rcX.d/ directories. Debian Linux comes with different utilities to manage these [...]
Batch rename files in Linux

Batch rename files in Linux

Is there any easy ways to batch rename files in Linux? A common requirement is that the web developers may ask you to help rename all *.html files to *.htm, how can we do that?
Rename a Vserver step by step

Rename a Vserver step by step

Suppose you made a mistake on the Vserver name when creating it. After finished the installation, you might want to rename your Vserver. This can be accomplished by renaming the config directory and the root for the vserver in question, then modifying some symlinks to match.
Set system variables in Debian and CentOS

Set system variables in Debian and CentOS

As indicated in title, this request is probably very common for sysadmins. For example, when a Java environment is ready, we need to make sure that JAVA_HOME is globally available for some system accounts, so that they can restart java instance smoothly.
Use cpulimit to limit CPU time for process

Use cpulimit to limit CPU time for process

How we can limit the CPU usage of a sepcified process with the CPUlimit utility? Cpulimit is a simple program that attempts to limit the CPU usage of a process. It’s expressed in percentage, not in cpu time. This is useful to control batch jobs, when you don’t want them to eat too much CPU [...]
© 2006-2010 Planet Admon. All rights reserved.