DNS Overview

Most records will be A records. This allows the greatest versatility in pointing your domain names where you want them go. Each record consists of a host name and an IP address. Host field: The host name for that particular A record. The host name should be what precedes the .domain.com in your FQDN (fully… Continue reading DNS Overview

Published
Categorized as Basics Tagged

Error: Cannot find SSL binaries under /usr

This happens with the configure script for apache cannot find the “openssl” (or “ssleay”) binaries in any of /usr/bin/openssl /usr/sbin/openssl /usr/apps/openssl The usual location for “openssl” is /usr/bin/openssl On a debian system, run apt-get install openssl

Crontab basics

cron is a unix, solaris utility that allows tasks to be automatically run in the background at regular intervals by the cron daemon. These tasks are often termed as cron jobs in unix , solaris. Crontab (CRON TABle) is a file which contains the schedule of cron entries to be run and at specified times.… Continue reading Crontab basics

Apache : Showing files in a directory

Showing files in a directory If you want to list all files in a directory that doesn’t use an index.html (or index.php) file, you can create an .htaccess file with the following contents: Options +Indexes This will tell apache that you want to list all files in the directory.

Published
Categorized as Basics

Plesk 9.3 Latest update of openssl breaks Parallels Panel :: Starting Plesk… failed

Latest update of the openssl package from CentOS breaks Parallels Panel 9.x. The following errors are displayed in the /var/log/sw-cp-server/error_log file when Panel is trying to start: # tail /var/log/sw-cp-server/error_log 2010-04-07 01:56:38: (log.c.75) server started 2010-04-07 01:56:38: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0) 2010-04-07 01:57:59: (log.c.75) server started 2010-04-07 01:57:59: (network.c.336) SSL: error:00000000:lib(0):func(0):reason(0) 2010-04-07 01:57:59: (log.c.75) server started… Continue reading Plesk 9.3 Latest update of openssl breaks Parallels Panel :: Starting Plesk… failed

Uninstall APF

Sometimes we may require to remove APF from the server. Here is a guide which shows how to remove APF completely from the server. Stop the firewall first service apf stop /bin/rm -rfv /etc/apf Remove the cron for APF /bin/rm -fv /etc/cron.daily/fw /bin/rm -fv /etc/init.d/apf lastly disable at startup chkconfig apf off This should remove… Continue reading Uninstall APF

How to change time zone in Linux !

1. Log in as root, check which timezone your machine is currently using by executing `date`. You’ll see something like “Mon Feb 12 05:09:00 CST 2007″, CST in this case is the current timezone. 2. Change to the directory to /usr/share/zoneinfo, here you will find a list of time zone regions. Choose the most appropriate… Continue reading How to change time zone in Linux !

Published
Categorized as Basics

What is APF (Advanced Policy Firewall)? APF Firewall

APF is a policy based iptables firewall system designed for ease of use and configuration. It employs a subset of features to satisfy the veteran Linux user and the novice alike. Packaged in tar.gz format and RPM formats, make APF ideal for deployment in many server environments based on Linux. APF is developed and maintained… Continue reading What is APF (Advanced Policy Firewall)? APF Firewall

DDOS Check !

A quick and usefull command for checking if a server is under ddos is: netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

Published
Categorized as Basics