January 14th, 2012 |
admin |
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 Etch server with PHP5 support (through FastCGI) and MySQL support. I do not issue any guarantee that this [...]
December 28th, 2011 |
admin |
Q. I run a Linux webserver and down time is not an option for me. Now I I made some changes to my /etc/inittab file. How do I make those changes effective without rebooting my Debian Linux server? A. The inittab file describes which processes are started at bootup and during normal operation (e.g. /etc/init.d/boot, [...]
December 18th, 2011 |
admin |
Here is small script that does this. Debian or Ubuntu GNU/Linux does not comes with any SYS V init script (located in /etc/init.d directory) . You create a script as follows and use it to stop or flush the iptables rules. Please don’t type rules at command prompt. Use the script to speed up work. [...]
December 17th, 2011 |
admin |
Other distribution provided the file called /etc/rc.local but Debian does not use rc.local to customize the boot process. You can use simple method as follows to customize it. (A) Execute command at system startup Let us assume you would like to run command called i) Create a script called mystartup.sh in /etc/init.d/ directory(login as root) [...]
December 17th, 2011 |
admin |
FreeBSD init works different ways. In BSD style, it specifies the kernel security level as follows: -1: Permanently insecure mode. 0: Insecure mode 1: Secure mode 2: Highly secure mode 3: Network secure mode You can get current security level (FreeBSD runlevel) using sysctl command: # sysctl –a | grep kern.securelevel You can setup new [...]
December 17th, 2011 |
admin |
Following are generic steps 1) UNZIP or untar the driver # gunzip -cd driver-x.y.z.tar.gz | tar xf – 2) Install the driver by running special install script, for e.g. # sh install OR # chmod +x install; ./install 3) Or you can also try out as follows to install driver: # /usr/ccs/bin/make install 4) Or [...]
December 17th, 2011 |
admin |
qmail is a mail transfer agent that runs on Linux and Unixish oses. It is more secure replacement for the popular Sendmail program. Yes, it is possible to bind Qmail to specific IP. Here is what I did. Please note that I am running light weight QMAIL server from xinetd service. 1) Open your /etc/xinetd.d/smtp [...]
December 16th, 2011 |
admin |
E: syslogd appears to be running, but not klogd which logs kernel firewall messages to syslog. You should ensure that klogd is running R: nano -c /etc/init.d/syslog Search the line below, (nearly at line # 42) passed klogd skipped #daemon klogd $KLOGD_OPTIONS Replace it with lines below, #passed klogd skipped daemon klogd $KLOGD_OPTIONS Now search [...]
December 16th, 2011 |
admin |
How can I repair corrupt MySQL tables? Every so often, MySQL tables have a way of corrupting themselves. MySQL offers a quick and painless method of repairing those tables. Login to your server via SSH and change directories to the database that is having problems. cd /usr/local/mysql/var/[DBNAME]/ You will need to replace [DBNAME] with the [...]
December 15th, 2011 |
admin |
To change the SSH port number login as root, and edit /etc/ssh/sshd_config Find the line that says Port 22 and change 22 to any number between 1024->65535 (above 30000 is best) and save the file. Once done, run: /etc/init.d/sshd restart Now start a new SSH session (don’t close your existing one), to make sure that [...]