May 25th, 2013 |
The first step that you should make is to you to choose which version of Asterisk you want to install. * Asterisk 1.2 – the stable version * Asterisk 1.4 – the version that is currently in beta testing When you know which version you want to install download the according packages. Note that we [...]
May 25th, 2013 |
setuid and setgid (short for set user ID upon execution and set group ID upon execution, respectively) are Unix access rights flags that allow users to run an executable with the permissions of the executable’s owner or group. They are often used to allow users on a computer system to run programs with temporarily elevated [...]
May 24th, 2013 |
How to view core.xx files in Linux? The core.xxx files are created on Linux servers and holds the current state of a process working memory when a process is crashed. To view the core.xx files in Linux, execute the command: root@host [~]# strings core.xxx It will list different state of a process on each line.
May 24th, 2013 |
Wget is a super-useful utility to download pages and automate all types of web related tasks. It works for HTTP as well as FTP URL’s. Here is a brief tutorial on how to use wget through proxy server. To get wget to use a proxy, you must set up an environment variable before using wget. [...]
May 23rd, 2013 |
Check emails in mail queue root@server [~]# exim -bp Count number of emails in mail queue root@server [~]# exim -bpc Count number of frozen emails in mail queue root@server [~]# exim -bp | grep frozen | wc -l Delete forzen emails from the mail queue exim -bp | awk ‘$6~”frozen” { print $3 }’ | [...]
May 23rd, 2013 |
You can set a password for the GRUB bootloader. This prevents users from entering single user mode or changing settings at boot time. When your system is rebooted, grub presents the boot option menu. From this menu one can easily login into a single user mode without the password which might result into compromise system [...]
May 22nd, 2013 |
The kldconfig utility displays or modifies the search path used by the kernel when loading modules using the kldload utility or the kldload syscall. You can also use sysctl command (the sysctl utility retrieves kernel state). Try any one of the following command as a root user: 1) To get PATH (or directories name) type [...]
May 22nd, 2013 |
Nginx (pronounced “engine x”) is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Debian Squeeze server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this [...]
May 21st, 2013 |
If you get the error: Windows could not start because the following files is missing or corrupt \WINDOWS\SYSTEM32\CONFIG\SYSTEM or \WINDOWS\SYSTEM32\CONFIG\SOFTWARE Insert and boot from your WindowsXP CD. At the first R=Repair option, press the R key Press the number that corresponds to the correct location for the installation of Windows you want to repair. Typically [...]
May 21st, 2013 |
This parameter defines how many simultaneous request can be served. Any connection request from browsers that come in after that will be queued. Apache prefork, StartServers, MaxSpareServers and MinSpareServers In the most common case, you will be using Apache in the prefork mode, meaning one process per connection, with a pool of processes pre-forked to [...]