Re: [Zope-DB] Migration from Windows to Linux. How to do it?

2007-07-06 Thread Dieter Maurer
Mongolkhuu Baatar wrote at 2007-7-5 18:26 -0700:
>I am newbie and sorry for if I ask too simple question. 
> 
> I have designed my Plone site on my localhost (Windows server) machine. Then 
> I need to move my real Zope and Plone server running on the Linux machine. 
> How do I to do this?
> 
> My both Windows and Linux config is following:
> Plone port: 80
> Zope port: 8080
> originally works fine on the each OSs before the migration.
> 
> I have tried and copied only Data.fs file from Windows to Linux machines 
> related "/var/opt/zope/default/var/" folder. 
> Then I have problem with my Plone server running instead Zope of port number 
> 8080. 

On Linux (and other *nix systems), only processes running as "root" can 
bind to ports <= 1024 (these are the so called priviledged ports).

Almost surely, the "Plone" setup for Linux therefore uses port 8080
rather than 80.

*If* you have root rights on your Linux box, then you can
run Zope as root on port 80. You need to change the HTTP port
in Zope's configuration file for this. Furthermore, you need
to set the user Zope should run with after binding to the
port (this is necessary because Zope refuses to run continuously as root --
for security reasons).



-- 
Dieter
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


Re: [Zope-DB] Migration from Windows to Linux. How to do it?

2007-07-05 Thread Andreas Jung



--On 5. Juli 2007 18:26:34 -0700 Mongolkhuu Baatar <[EMAIL PROTECTED]> 
wrote:




 I have tried and copied only Data.fs file from Windows to Linux machines
related "/var/opt/zope/default/var/" folder.   Then I have problem with
my Plone server running instead Zope of port number 8080.


"have problem" means what? We can not help if you don't describe what your
real problem is. Any related network configuration happens in zope.conf.

-aj

P.S. you're on the wrong list. For Plone related issues use the Plone-users 
list or at least the [EMAIL PROTECTED] list. This issue isn't DB related as the 
mailinglist name indicates.

pgp4WCJb711JD.pgp
Description: PGP signature
___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db


[Zope-DB] Migration from Windows to Linux. How to do it?

2007-07-05 Thread Mongolkhuu Baatar
I am newbie and sorry for if I ask too simple question. 
 
 I have designed my Plone site on my localhost (Windows server) machine. Then I 
need to move my real Zope and Plone server running on the Linux machine. How do 
I to do this?
 
 My both Windows and Linux config is following:
 Plone port: 80
 Zope port: 8080
 originally works fine on the each OSs before the migration.
 
 I have tried and copied only Data.fs file from Windows to Linux machines 
related "/var/opt/zope/default/var/" folder. 
 Then I have problem with my Plone server running instead Zope of port number 
8080. 
 
 I would really appreciate it if you could help me any of suggestion. 
 
   
-
Park yourself in front of a world of choices in alternative vehicles.
Visit the Yahoo! Auto Green Center.___
Zope-DB mailing list
Zope-DB@zope.org
http://mail.zope.org/mailman/listinfo/zope-db