1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Changing IPs

Discussion in 'Plesk for Linux - 8.x and Older' started by epak, Jan 5, 2006.

  1. epak

    epak Guest

    0
     
    Hi,

    We use PXE boot loading to install the Operation system and control panel onto new servers. We want to use plesk as well. What would be the steps to change the ips on the new server. Can this be done manually? What files would need to be edited?


    Thanks.
     
  2. RapidVPS.com

    RapidVPS.com Guest

    0
     
    What distribution are you using? Redhat/Fedora/Centos linux servers store the primary IP configuration in /etc/sysconfig/network-scripts/ifcfg-eth0.

    Look at that file and you will see how the IP data is stored. Changing it can be accomplished with a simple bash or perl script.

    Rick
     
  3. epak

    epak Guest

    0
     
    Hi,

    thanks for the reply. I understand how to change the OS IPs. But I was wondering what files that Plesk stores IP information in. For example, cPanel uses a file called /etc/wwwacct which contains IP information for creating new accounts.


    Thanks
     
  4. phoenixisp

    phoenixisp Silver Pleskian

    27
    57%
    Joined:
    Feb 2, 2002
    Messages:
    840
    Likes Received:
    0
    Plesk has an IP mapping utility, the reconfigurator. To use it:

    /usr/local/psa/bin reconfigurator.pl map_file

    This will create a map file of all of the IPs on the box. Edit this file and then run the command again. It will make all replacements for you.
     
Loading...