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.
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. [...]
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 [...]
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 [...]
Add panic=10 to the kernel command line to reboot with 10 seconds of a kernel error. Be careful with this when setting up new kernels. It’s possible to change it later with sysctl, or by writing to /proc: # echo 10 > /proc/sys/kernel/panic To make it permanent, edit /etc/sysctl.conf and add the below line: kernel.panic [...]
One of the things I like about Linux is the command line. I have used nautilus, gnome-commander, konqueror, kommander, dolphin and thunar to manage files in Linux and these file managers are great for what they do. But there are times when one simply wants to find a file when working on the command line [...]
Instructions for installing a very clean Debian GNU/Linux system that boots from RAID 1, and has RAID 1 or RAID 5 root and data filesystems. The examples assume two identical harddrives, sda and sdb, on which after a small boot partition, 1 GB is used for swap, 25 GB is used for the root filesystem [...]
This tutorial explains how you can install MySQL Proxy on a CentOS 5 (x86_64) system. MySQL Proxy is a simple program that sits between your client and MySQL server(s) that can monitor, analyze or transform their communication. Its flexibility allows for unlimited uses; common ones include: load balancing; failover; query analysis; query filtering and modification; [...]
A banner for ssh server is a few phrase that will come out the time you want to access a server through ssh. By default, this feature is turned off. To turned it on: Login as ‘root’ Create your banner file first. In this example, i will create banner file named /home/banner # vi /home/banner [...]
By default Urchin 6 is installed at /usr/local/urchin directory. You can change directory by typing the following command: # cd /usr/local/urchin Use urchinctl to control Urchin web server / scheduler You will find urchinctl inside bin directory. It is used to control Urchin web server listing on TCP port 9999. To start the Urchin webserver, [...]