Wednesday, December 14, 2011

Disable Telnet steps

*-* Disable Telnet :-

To disable telnet, SSH into server and login as root.

At command prompt type: pico -w /etc/xinetd.d/telnet

change disable = no to disable = yes

Save and Exit

At command prompt type: /etc/init.d/xinetd restart



Saturday, December 3, 2011

what is db4 error

 Steps are as follows :-
********----------*********
rpm --rebuilddb

rpm --initdb

OR

Click "Rebuild RPM Database" in WHM manager under "Software".
 
********----------*********

Sunday, November 20, 2011

Installing port collection

How to Installing port collection steps are  given below :-

# sysinstall
-----------
Scroll down and select Configure, press Enter.
-----------
Scroll down and select Distributions, press Enter.
-----------
Scroll down to ports, press Space.
-----------
Scroll up to Exit, press Enter.
-----------
Select your desired installation media, such as CDROM, FTP, and so on.
-----------
Scroll up to Exit and press Enter.
-----------
Press X to exit sysinstall

*******************************************

Thursday, November 10, 2011

Steps to set reverse< Dns >

Steps are as follows :-

--------------------------------

1. > 

ssh to ns1.loudpacket.net OR ssh to 207.71.120.250 
Username: root 
Password : #k53mPog 

****************

2.>

cd /var/named/rev 

****************
3.>
     ls 

****************

4.>

 pico 148.43.67.in-addr.arpa 
(Edit the network you want to change such as 148.43.67.in-addr.arpa for 67.43.148.*) 
syntax is like this: 68 (last part of the IP) PTR mail.netdotsolutions.com.(Domain name) 
Do not forget to put .(dot) after the domain name 
Eg: So to set 67.43.159.16 = inets.com.br 
Add this line: 16 PTR inets.com.br. 

****************
5.>

  Save and quit,

**************** 

6.>
  
 rndc reload 

****************
7.>

 host 67.43.159.16 localhost

/////////////////////////////////////////////////////////////////////////

Monday, October 31, 2011

How to edit welcome messages on your computer

Steps to Editing Welcome Messages:--
 

**************

Type: pico /etc/motd


"This computer system is for authorized users only."Save.


**************

Tuesday, October 25, 2011

If you want to transfer account X from server A to server B


**- Steps to transfer account X from server A to server B is given below -**:--

---------------------------------/////**************************
 
Go to cpanel (port 2082) for account X on server A

Go to the backup page, and generate a backup.
[it will tell you to wait, depending on the account size on disk and server load could take several minutes to complete]

After is finished, note the name of the generated file (should be something like
backup_TIMESTAMP_username.tar.gz

If you have root access to both servers

SSH to server B, and issue the following:--


scp SERVER_A_IPADDRESS:/home/username/backup_TIMESTAMP_username.tar.gz .

[notice the dot at the end]


[This will put the file in the folder you were in when you logged in on server B - usually /root]


Then go in the WHM of server B, click "Restore a Full Backup/cpmove file", It should show a list of possible files to restore.

Type the username that you want restored, and click Restore

Give it some time, and it should end with "Account restore complete"

Then you should go to the DNS functions, and view the zone of the domain created, to make sure everithing is ok.

That's about it.

The backup contains everithing needed to re-create the account on the other server < site, emails, email accounts, databases, .htaccess files, addon-domains, subdomains etc >

Monday, October 24, 2011

how to install & uninstall RMP

 ----------------------------------------------------
Rmp:

To install RMP:
[root@deep] /#rpm -ivh foo-1.0-2.i386.rpm


To uninstall rmp:
[root@deep] /#rpm -e foo


To upgrade rmp:
[root@deep] /#rpm -Uvh foo-1.0-2.i386.rpm


To check rmp:
[root@deep] /#rpm -q foo