Warning: Cannot modify header information - headers already sent by (output started at /home/sonyk/public_html/blog/index.php:5) in /home/sonyk/public_html/blog/wp-atom.php on line 8
Koithara.com Sony Online ! ! ! 2008-08-27T05:26:14Z Copyright 2008 WordPress Sony Koithara <![CDATA[Sorry, you are out of ips to assign as nameservers - cPanel]]> http://www.koithara.com/blog/?p=27 2008-08-27T05:25:49Z 2008-08-27T05:25:49Z In this case you will have to do the entire stuffs manually…..
Consider your domain name as : x.com, user: xcom and NS you need to assign : ns1.x.com & ns2.x.com

  1. Create DNS records for ns1.x.com as well as ns2.x.com
  2. Now, open the file : /var/cpanel/resellers-nameservers from shell and manually enter the following :

    ]]> Sony Koithara <![CDATA[Generating CSR & Installing an SSL Certificate]]> http://www.koithara.com/blog/?p=25 2008-02-27T11:01:58Z 2008-02-27T11:01:58Z ==> Use of SSL
    Normally data is sent unencrypted over Internet, which means anybody with certain tools can hack all your data. To pervent this from happening SSL (Secure Socket Layer) is used to encrypt the data stream between the Web Server and the Web Client.

    ==> Types
    * Self Signed Certificate
    * Certificate issued by a trusted Certificate Authority(CA) buy cialisbuy cialisbuy levitrabuy levitrabuy propeciabuy propeciabuy somabuy somabuy levitrabuy cialisbuy propeciabuy levitrabuy somabuy cialisbuy propeciabuy levitrabuy somabuy cialisbuy levitrabuy propeciabuy soma

    ]]>
    Sony Koithara <![CDATA[Changing Bash Prompt]]> http://www.koithara.com/blog/?p=24 2008-02-06T21:45:58Z 2008-02-06T21:45:58Z Change your prompt using the command :
    $ export PS1="[\u@\h \w]# "

    Various Options that can be used are:

    \a The ASCII bell character (you can also type \007)
    \d Date in “Sat Sep 04″ format

    ]]>
    Sony Koithara <![CDATA[Linux One Liners]]> http://www.koithara.com/blog/?p=22 2008-01-26T16:08:03Z 2008-01-26T16:08:03Z Linux One Liners

    To find a list of all Open Ports
    $ netstat -tulpn

    Linux Disk Utilization Command
    $ vmstat -D

    ]]>
    Sony Koithara <![CDATA[Preventing Fork Bomb by limiting user process]]> http://www.koithara.com/blog/?p=21 2008-01-26T15:32:14Z 2008-01-26T15:32:14Z Preventing Fork Bomb by limiting user process

    * This can be made possible by adding UserName/GroupName to /etc/security/limits.conf
    * An Example is :
    user        hard    nproc    300
    @group    hard    nproc    200

    * The user above can only have 300 processes and the group limit on group is set to 200

    ]]>
    Sony Koithara <![CDATA[Script to Copy a File to All Users Home Directory]]> http://www.koithara.com/blog/?p=20 2008-01-26T15:22:03Z 2008-01-26T15:22:03Z #!/bin/bash
    _HOME=”/home”
    _FILE=”FileName”

    ]]>
    Sony Koithara <![CDATA[strace - Powerful Debugging Tool]]> http://www.koithara.com/blog/?p=19 2008-01-24T12:21:57Z 2008-01-24T12:21:57Z strace - A very very “Powerful Debugging Tool” for linux users

    From the manpage of strace
    strace is a useful diagnostic, instructional, and debugging tool. System administrators, diagnosticians and trouble-shooters will find it invaluable for solving problems with programs for which the source is not readily available since they do not need to be recompiled in order to trace them. Students, hackers and the overly-curious will find that a great deal can be learned about a system and its system calls

    ]]>
    Sony Koithara <![CDATA[service httpd does not support chkconfig]]> http://www.koithara.com/blog/?p=18 2008-01-21T16:16:55Z 2008-01-21T16:16:55Z Giving you : service httpd does not support chkconfig

    Try this out :-

    After compilation copy apachectl script as /etc/init.d/httpd
    Now, Open this file and add the following lines given below just after #!/bin/bash
    Make sure that you don’t uncomment the lines; “ONLY COMMENTED WORKS” {{Sounds Strange?? Better you try it out!}}

    ]]>
    Sony Koithara <![CDATA[MySQL Password Reset]]> http://www.koithara.com/blog/?p=17 2008-01-11T05:01:21Z 2008-01-11T05:01:21Z To reset MySQL root Password

    1. Kill/Stop the MySQL Service
    # pkill mysql / /etc/init.d/mysqld stop

    2. Start mysql in safe mode

    ]]>
    Sony Koithara <![CDATA[Secure /tmp /var/tmp /dev/shm]]> http://www.koithara.com/blog/?p=16 2008-01-11T04:35:42Z 2008-01-11T04:35:42Z Securing /tmp
    1. Make a /tmp Partition
    dd if=/dev/zero of=/dev/tmpFS bs=1024 count=100000

    2. Make an ext3 filesystem for tmp
    mkfs.ext3 /dev/tmpFS

    ]]>