Koozali.org: home of the SME Server
Obsolete Releases => SME 7.x Contribs => Topic started by: carolus555 on July 09, 2007, 05:27:26 AM
-
Dear All,
:oops: Sorry about this fool question, how to change the Local IP in SME server ?
Thank you very much for your help.
Carl
-
Either from the server console, or via ssh (putty) login as admin and choose the "Configure this server" option.
Good luck :)
-
Can I use the command "config set LocalIP x.x.x.x" to change it ?
Thanks
-
Yep, if you prefer working with the db commands. only reason i suggest the configure option is that it will automagically expand all required templates on reboot. you could find out the signal-event expand-template ??? you require for the db entry or use the configure option from the admin screen. your call. alternatively you could use signal-event post-upgrade and signal-event reboot after your db command to achieve the same thing - reboot and reconfigure / expand of any effected templates. again amounts to the same thing, but a little easier from the admin console.
cheers,
shell
-
After the ip change, would a
signal-event ip-change
do the trick?
-
Can't say I rightly know! Guess the best thing to do would be run
config set LocalIP x.x.x.x
then
signal-event ip-change
then
config show LocalIP
If its changed then you could be right. However I would still be (myself) either signal-event post-upgrade or (and here there are many many people who will know more than i, obviously!! :) ) signal-event ??? - because the LocalIP will be used in a number of services.
Having thought about this - I think the answer you got (above) would be right, as it did indeed come from one with more knowledge than me!! but also as it is a signal-event command then it should be correctly running / calling all the scripts needed. Guess if i don't have a definitive answer I tend to err on the side of caution in my replies. as always and as stated....
Just my 2c!
Cheers,
Shell
-
I'm never too sure about these things.
However,
config show LocalIP
will always show the result of
config set LocalIP x.x.x.x
irrespective of what commands you run.