Force fsck on the next reboot

linux logo
Fsck stands for “file system check” and it is used to check and optionally repair one or more Linux file systems.

If you want to force fsck on the next reboot or next boot. Here is a quick tip that will show how you can tell your Linux system to perform a fsck during the next boot. There are two pretty simple procedures:
Read more »

Setup crontab to run command on the last day of every month or first day of every month

crontab scheduleYou’re know, Crontab will not work on a specific day of the month but it can be a specific minute, hour, month and day of the week. So, if you need to run some command in the first day of month or last day of month you can’t use crontab to scheduled it. However, you can use crontab with shell script to filter out a particular date that you need to run the command.
Read more »

Enable multiple SSL vhosts and certificates on a single IP with Apache

Apache with ssl certificate = httpsHistorically, if you wanted to host multiple SSL enabled Web sites, you had to have an unique IP address for each site. With the advent of SNI, one SSL certificate per unique IP address is no longer necessary. The Server Name Indication (SNI) is a TLS extension which makes the configuration of SSL-enabled name-based virtual hosts possible. This extension eliminates the need for the assignment of one IP address per secure virtual host, so all secure virtual hosts can share the same IP address and port combination. However the SNI has only recently gained support in browsers. The browsers that have been confirmed to support SNI are:
Read more »

MySQL replication problem: ‘show master status’ shows ‘Empty set (0.00 sec)’

mysql logo
Once you have set up MySQL replication master, but unfortunately the “show master status” command shows the following, rather than any useful output:

mysql > show master status;

Empty set (0.00 sec)

While the error log at /var/log/mysql.err is an empty file.

Solution for fix ‘show master status’ shows ‘Empty set (0.00 sec)’:
Read more »

Steps to build a Coova-chilli RPM package with CentOS 5

coova-chilliCoova chilli hotspot is a project that developed from Chilli hotspot, which the Chilli hotspot seems to be stopped developing. And for anyone who wants to download rpm file for RedHat Enterprise or CentOS would find it difficult. Which makes some people turn to Ubuntu instead, because the package has been made out to be ready for download.
Read more »

[Officially released] CentOS 6 is now available for download

Centos Logo
It looks like that CentOS will set mega release — the CentOS 6 — in a few days. Yesterday, the CentOS team is allowing the mirror sites to start syncing out to external mirrors usually is left for a few days and CentOS to ensure that enough mirrors have the packages before opening it up for download. However, CentOS team has already released the torrent version in 2 versions, the CentOS-6.0/i386 ISOS and the CentOS-6.0/x86_64 ISOS. So, you can download the torrent files from this links below:
Read more »

Red Hat 6: How to resolve ldapadd ldap_bind: Invalid credentials (49)

Red Hat Enterprise 6
Openldap on Red Hat Enterprise 6 has changed the new configuration file, which is a configuration tree style. If you has configured the Openldap in RHEL5 you may be confused when you completely configured for the slapd.conf and start ldap service, then use ldapadd or ldapsearch command for query data but it shown error “ldapadd ldap_bind: Invalid credentials (49)“. So, in this article I will give the way for solve the problem.
Read more »

Preventing SSH dictionary attacks with DenyHosts

Restricting SSH Access Attempts Using DenyHosts

Restricting SSH Access Attempts Using DenyHosts

After the server go live to the internet. Not over one day, hacker will have to try login to the system with ssh service together with unremitting. If the system does not preventing to allow user root to Login and password is still more easy. In next few days, It’s pretty sure that some hacker can logged of the system.
Read more »