configuration file

In Linux and UNIX in general, services are configured using various text files,in the /etc/ directory trees. A typical server system could have dozens of configuration files. It is important that you check the validity of the configuration file. In some cases it is possible to to check the sanity of the special data (such as keys) or directories (such as /var/lib/cache/). Text files are easier to manage remotely. You can use ssh and a text editor. If there is an error in configuration, server may not start. This may result into a disaster. In this article I will explains howto find out a syntax error for popular servers and test configuration file for syntax errors.

{ 23 comments }

Describes how to stop image or any media hotlinking under Lighttpd and redirect to another image to save bandwidth.

{ 3 comments }

Explains how to install and configure proftpd FTP server under Red Hat enterprise Linux / CentOS / Fedora Linux along with virtual hosting.

{ 13 comments }

Lighttpd web server will generate a directory listing if a directory is requested and no index-file was found in that directory. mod_dirlisting is one of the modules that is loaded by default and doesn’t have to be specified on server.modules to work. Task: Enable Directory Listings Globally Open lighttpd configuration file: # vi /etc/lighttpd/lighttpd.conf Append […]

{ 3 comments }

You can use a tool called named- checkconf to check BIND dns server (named daemon) configuration file syntax under Linux / UNIX. It checks the syntax, but not the semantics, of a named configuration file i.e. it can check for syntax errors or typographical errors but cannot check for wrong MX / A address assigned […]

{ 13 comments }

Sometime you may see different language encoding in X than on your console (tty) prompt. Sometime two different user need two have different language encodings. ~/.dmrc file – Per-user language support In theory this file should be shared between GDM (Gnome) and KDM (KDE), so users only have to configure things once. This is a […]

{ 2 comments }