Koozali.org: home of the SME Server

how to change the sme server IP address

Offline eddiechen

  • *
  • 12
  • +0/-0
how to change the sme server IP address
« on: August 26, 2008, 06:34:27 AM »
now my sme server is server only, the ip address is 192.168.1.100,

just becase I want to use pptp contact the sme server, I found if the client the network segment is 192.168.1, can not contact.

so I have to change my office network segment.

how to change the sme server IP address?

please give me some suggestion.

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: how to change the sme server IP address
« Reply #1 on: August 26, 2008, 08:10:22 AM »
hi

please read carefully the manual.. all you need is there

ciao
Stefano

Offline eddiechen

  • *
  • 12
  • +0/-0
Re: how to change the sme server IP address
« Reply #2 on: August 26, 2008, 09:08:30 AM »
I have check all the docment
http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter13

but I still can not find where tho change the local ip address.

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: how to change the sme server IP address
« Reply #3 on: August 26, 2008, 09:26:03 AM »
You're looking in the wrong chapter. Take a look in http://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter6#The_Server_Console.

More specifically, you need to select option 2 in the server console. Go through all the screens, leave everything as it is, except for the local IP adress and/or network segment (whatever you need to adjust). Don't forget to use option 4 after you've changed the relevant settings (reconfigure and reboot your server).

Offline eddiechen

  • *
  • 12
  • +0/-0
Re: how to change the sme server IP address
« Reply #4 on: August 26, 2008, 09:55:01 AM »
thank you very much, after finish installed, the first time login, would appear server console, let you reset the setting.

now I use ssh contact to the sme server. what comand can show the server console?

Offline Frank VB

  • ****
  • 127
  • +0/-0
Re: how to change the sme server IP address
« Reply #5 on: August 26, 2008, 09:57:35 AM »
Either log in locally (at the console) of your server or log in remotely with Putty as admin. The admin password is the same as the root password you specified while installing.

Offline eddiechen

  • *
  • 12
  • +0/-0
Re: how to change the sme server IP address
« Reply #6 on: August 26, 2008, 10:00:58 AM »
really thank you very much. I use admin ssh login and see the server consoles.

 :D

Offline elmarconi

  • ****
  • 139
  • +0/-0
Re: how to change the sme server IP address
« Reply #7 on: August 26, 2008, 10:51:36 AM »
now I use ssh contact to the sme server. what comand can show the server console?

When logged in as root: "su admin" will do.
...

Offline eddiechen

  • *
  • 12
  • +0/-0
Re: how to change the sme server IP address
« Reply #8 on: August 26, 2008, 10:53:20 AM »
excellent。

Offline byte

  • *
  • 2,183
  • +2/-0
Re: how to change the sme server IP address
« Reply #9 on: August 26, 2008, 12:01:32 PM »
When logged in as root: "su admin" will do.

If logged in as root the preferred way would be to type at command line:

console
--[byte]--

Have you filled in a Bug Report over @ http://bugs.contribs.org ? Please don't wait to be told this way you help us to help you/others - Thanks!

Offline elmarconi

  • ****
  • 139
  • +0/-0
Re: how to change the sme server IP address
« Reply #10 on: August 26, 2008, 12:21:34 PM »
If logged in as root the preferred way would be to type at command line:

console

Hmmm, I would have expected that running console was something for the admin user.
No problems to be expected with permissions on files in /home/e-smith/db ?
Permissions now are:

[root@smeserver7 db]# pwd; ls -la
/home/e-smith/db
total 188
drwxr-xr-x   5 root  root   4096 Aug 26 04:04 .
drwxr-xr-x  10 admin admin  4096 Aug 12 21:08 ..
-rw-r-----   1 root  admin  3443 Aug 14 20:33 accounts
-rw-r--r--   1 root  admin     0 Jun 14 15:01 backups
-rw-r-----   1 root  admin  8811 Aug 17 10:56 configuration
-rw-r--r--   1 root  admin     1 Aug  6 13:51 confusbdisks
-rw-r-----   1 root  admin   355 Aug 12 16:58 domains
-rw-r-----   1 root  admin   236 Aug 12 21:45 fetchmail_temp.db
-rw-r-----   1 root  admin   687 Aug 10 00:51 hosts
drwxr-xr-x   2 root  root   4096 Aug  6 14:05 ldap
-rw-r-----   1 root  admin  3098 Aug 12 21:08 mailpatterns
drwxr-x---   2 root  root   4096 Mar 30 09:13 mysql
drwxr-xr-x   2 root  root   4096 Aug 12 16:59 navigation
-rw-r-----   1 root  admin   299 Aug 12 16:58 networks
-rw-r-----   1 root  admin     0 Mar 30 09:22 portforward_tcp
-rw-r-----   1 root  admin     0 Mar 30 09:22 portforward_udp
-rw-r-----   1 root  admin   271 Aug 12 16:58 spamassassin
-rw-r--r--   1 root  root  77459 Aug 26 04:04 yum_available
-rw-r--r--   1 root  root  33932 Aug 26 04:04 yum_installed
-rw-r-----   1 root  admin  3493 Aug 12 16:58 yum_repositories
-rw-r--r--   1 root  root     70 Aug 26 04:04 yum_updates

...