Change hostname in Linux

Change hostname in Linux

May 21, 2011

change hostname on rhel5
#vi /etc/sysconfig/network
hostname:
save and exit
# vi /etc/hosts
edit
save and exit
#service network restart
#service xinetd restart
___________________________________________
++++++++++++++++++++++++++++++++++++++++
========================================


Change hostname in Linux
First you need to find out your hostname, you can do this with
$ hostname
localhost.localdomain
$
Edit /etc/hosts
You need to edit /etc/hosts and add a line for your host name
$ cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
$
My new server IP is 72.232.196.90, i need to assign it hostname server12.hosthat.com, to do this, i have edited /etc/hosts as follows.
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
72.232.196.90           server12.hosthat.com server12
Edit /etc/sysconfig/network
First lets see what is in the file
$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=localhost.localdomain
$
To change servers hostname to server12.hosthat.com, change the file as follows.
$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=server12.hosthat.com
$
Now you need to reboot the server to change the hostname.

Manually Remove Exchange 2007

Manually Remove Exchange 2007

May 20, 2011

Avoid reinstalling the OS so I tried removing exchange manually.
  1. Run setup /m:uninstall
  2. Stop and disable all the Exchange 2007 services
  3. Use Registry Editor (Start->Run->Regedit) to remove these Exchange related registry keys:
    • HKLM\SOFTWARE\Microsoft\Exchange
    • HKLM\SYSTEM\CurrentControlSet\Services\MSExchange* (all the keys starting with “MSExchange”)
    • HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Exchange
  4. Remove the entire Web Server role (don’t forget to reinstall afterwards as it’s a prerequisite for E2K7!)
  5. Remove the Exchange 2007 server from Active Directory. I ended up deleting the entire “Microsoft Exchange” branch from ADSIEdit (Configuration Container > Services > Microsoft Exchange) as my Org only counts one server.
  6. Use Windows Explorer to delete:
    • C:\Program Files\Microsoft\Exchange Server
    • C:\ExchangeSetupLogs
  7. Use Windows Installer CleanUp Utility to remove all the exchange related info from the installer database.
  8. Remove the security groups created by Exchange setup from AD
Note: Manually removing Exchange 2007 is not supported by Microsoft! Official guidance for removing Exchange 2007 can be found in this TechNet article. 
Gift from laxman naidu : 15 free call minutes on your mobile

Gift from laxman naidu : 15 free call minutes on your mobile

May 18, 2011
Hi,

I have gifted you 15 minutes of free talk time on your mobile. To claim the 15 minutes, Click here http://itrack.ibibo.com/583000468

Cheers,
laxman naidu




This message was intended for chinnilax.naidu@blogger.com, If you do not wish to receive this email notifications from ibibo then visit this link

© 2006 - 2011 ibibo Web Pvt Ltd. All rights reserved