Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: eddiechen on August 26, 2008, 06:34:27 AM

Title: how to change the sme server IP address
Post by: eddiechen 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.
Title: Re: how to change the sme server IP address
Post by: Stefano on August 26, 2008, 08:10:22 AM
hi

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

ciao
Stefano
Title: Re: how to change the sme server IP address
Post by: eddiechen 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.
Title: Re: how to change the sme server IP address
Post by: Frank VB 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 (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).
Title: Re: how to change the sme server IP address
Post by: eddiechen 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?
Title: Re: how to change the sme server IP address
Post by: Frank VB 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.
Title: Re: how to change the sme server IP address
Post by: eddiechen on August 26, 2008, 10:00:58 AM
really thank you very much. I use admin ssh login and see the server consoles.

 :D
Title: Re: how to change the sme server IP address
Post by: elmarconi 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.
Title: Re: how to change the sme server IP address
Post by: eddiechen on August 26, 2008, 10:53:20 AM
excellent。
Title: Re: how to change the sme server IP address
Post by: byte 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
Title: Re: how to change the sme server IP address
Post by: elmarconi 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