[Zope] Newbie question

Chris McDonough chrism@digicool.com
Mon, 27 Dec 1999 17:55:23 -0500


Adding to what Patrick said, if you want to see a list of RPM packages
installed on your machine, type:

rpm -aq

This will give you a list of all rpm packages installed on the machine
in the canonical RPM naming convention.

For each package returned by this list, you can see what files it owns
on your filesystem by typying:

rpm -ql packagename

Do not include .rpm after the packagename.

But also as Patrick said, you don't need to *delete* Apache.  You can
run Apache and ZServer at the same time on the same machine at the same
time if you so desire.  Here's how:

By default, a Zope setup will bind itself to TCP port 8080 (this can be
changed in ZOPEHOME/z2.py).  A typical from-source Apache setup will
bind itself to TCP port 8080 as well (this can be changed in
APACHEHOME/conf/httpd.conf).  I would recommend changing the port that
Apache listens on to 80 if it's hogging 8080.  You can do this by
editing your Apache setup's conf/httpd.conf line.  The line that reads
"Port 8080" should be changed to "Port 80".  Then restart Apache (use
"apachectl restart").  For good measure, restart Zope too (use the
"stop" script, then use the "start" script).

After you do this, it means that in a browser address bar you can type:

http://your.machine.name

to see the info published by Apache (all browsers default to looking to
port 80).

or you can type

http://your.machine.name:8080

to see the info published by Zope.

The installations will be completely separate from one another and will
not step on each others' toes.


HTH,

Chris

Patrick Phalen wrote:
> 
> [CURTIS David, on Mon, 27 Dec 1999]
> 
> :: I have decided to use Zserve instead of Apache,  I am new to Linux
> and do not know how to remove Apache.  I have tried rpm -e
> apache(version).rpm .
> 
> It's rpm -e apache(version)   (no .rpm)
> 
> However, you don't need to uninstall apache unless you're short on disk
> space. You might decide later you need it. Instead, you can turn off the
> firing up of the httpd daemon.
> 
> Read /etc/inittab to confirm your default runlevel (3 or 5).
> 
> From the shell:
> 
> % /bin/su -
> % cd /etc/rc.d/rc3.d
> % ls
> % mv S85httpd K85httpd (or whatever number httpd has)
> and/or:
> % cd ../rc5.d and do the same thing
> 
> When you reboot, Apache will be dormant. Or else, you can:
> % /sbin/init 1
> % /sbin/init 3 (or 5)
>