Sorry, you are out of ips to assign as nameservers - cPanel

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 :

    __(’Read the rest of this entry »’)

Comments

Generating CSR & Installing an SSL Certificate

==> 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

__(’Read the rest of this entry »’)

Comments

Changing Bash Prompt

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

__(’Read the rest of this entry »’)

Comments (1)

Linux One Liners

Linux One Liners

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

Linux Disk Utilization Command
$ vmstat -D

__(’Read the rest of this entry »’)

Comments

Preventing Fork Bomb by limiting user process

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

Comments

Script to Copy a File to All Users Home Directory

#!/bin/bash
_HOME=”/home”
_FILE=”FileName”

__(’Read the rest of this entry »’)

Comments

strace - Powerful Debugging Tool

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

__(’Read the rest of this entry »’)

Comments

service httpd does not support chkconfig

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!}}

__(’Read the rest of this entry »’)

Comments (3)

MySQL Password Reset

To reset MySQL root Password

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

2. Start mysql in safe mode

__(’Read the rest of this entry »’)

Comments

Secure /tmp /var/tmp /dev/shm

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

__(’Read the rest of this entry »’)

Comments

« Previous entries