linuxnewbie
11-02-2002, 09:49 PM
hi,
i have cpanel with linux 7.3 on server
now they are moving my server to a different ip and subnet
what files i have to change and when should i change after moving or before
thanks for help
CipherVendor
11-02-2002, 10:03 PM
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
Remember to bring your eth0 interface down and then back up.
Then use the built in IP change feature within WHM for the accounts hosted on your box.
linuxnewbie
11-02-2002, 10:10 PM
thanks
how do i do
bring your eth0 interface down and then back up.
Sorry, but dont you also have to modify /etc/hosts ? I could be mistaken!
CipherVendor
11-02-2002, 11:02 PM
It's not required. Your machine will still function with the old values listed in that file. However some applications may require this file to be accurate.
Isnt Apache webserver one of them?
Originally posted by CipherVendor
It's not required. Your machine will still function with the old values listed in that file. However some applications may require this file to be accurate.
godsmoke
11-03-2002, 12:59 PM
Wow ... I cannot believe that you (numerous people posting in this thread) don't know how to run a Linux machine.
This is the base problem with new companies today, they become so focsed on everything else, and because of ****ty linux distributions like RedHat that basically allow linux-illiterate people to run a server, which means that they have no knowledge on getting it to work when it breaks.
I suggest the timeless quote, that I usually don't use, but RTFM (Read the efing manual)
Get a couple linux books, and learn to do this yourself, that's the only way to understand the system you are working on. If you need book recomendations, feel free to ask.
Your system appears to be vulnerable to apache chunking.
indy007
11-03-2002, 01:59 PM
Originally posted by linuxnewbie
hi,
i have cpanel with linux 7.3 on server
now they are moving my server to a different ip and subnet
what files i have to change and when should i change after moving or before
thanks for help
also do not forget to reconfigure your firewall.
BiGWill
11-03-2002, 02:11 PM
Originally posted by CipherVendor
ifdown eth0
ifup eth0
lol. if you'll do this from remote, you'll be booted out after you initiated the ifdown command ....
never ever do this from remote!!!
greets,
PHBPendragon
11-03-2002, 06:10 PM
Originally posted by godsmoke
I suggest the timeless quote, that I usually don't use, but RTFM (Read the efing manual)
Half of them don't feel the need to even google it first. Why actually learn something when some else can do it for you?
This is the same mentality that whines about speed and downtime at a $50.00/mo. provider.
When I *finally* understood RTFM is a compliment - the assumption I could ingest, comprehend and act on new knowledge - things started getting better.
What really baffles me is that documentation now is so much more complete, available and thorough relative to 3-5 years ago thats it faster to find it then post & wait.
(~~~~ wavy lines of ancient history ~~~~)
Back when comp.unix.sysadmin and comp.unix.wizards was actually useful, RTFM was intended to keep the threads focused on the unknowns/unclear, and so teach everyone new things.
"RTFM" "Check the source" "man <whatever> " are intended to *really* help, not cripple by giving a crutch to the lazy.
At least the original question was clear...
"That scruffy beard... those suspenders... that evil gleam in your eye... You're one of those condescending unix users, aren't you?!"
"Here's a nickel, kid. Get yourself a better computer." S. Adams