unpacking tarball on existing website, in subdirectory or www

Author Message

Paul VandenBosch

Thursday 23 October 2003 9:28:29 am

I have an existing website and would like to add a ezpublish website in a subdirectory.

Should I unpack the tarball in the www directory (public html) or should unpack it in a subdirectory?

Is there anything else I should know to avoid damaging my existing website?

Thanks

Balazs Halasy

Thursday 23 October 2003 11:16:43 am

When unpacking an eZ publish tar.gz file using the tar archiving utility, you will automatically get a subdirectory into where eZ publish is unpacked. There is no need to create a dedicated directory. You may also rename the directory that eZ publish was put into.

Example:

allman@matrix:~$ cd public_html/

allman@matrix:~/public_html$ ls
css
my_imaginary_girlfriend
index.html
stuff

allman@matrix:~/public_html$ wget http://ez.no/[..]ezpublish-3.2-2.tar.gz

allman@matrix:~/public_html$ ls
css
ezpublish-3.2-2.tar.gz
my_imaginary_girlfriend
index.html
stuff

allman@matrix:~/public_html$ tar zxf ezpublish-3.2-2.tar.gz

allman@matrix:~/public_html$ ls
css
ezpublish-3.2-2
ezpublish-3.2-2.tar.gz
my_imaginary_girlfriend
index.html
stuff

allman@matrix:~/public_html$ rm -f ezpublish-3.2-2.tar.gz

allman@matrix:~/public_html$ mv ezpublish-3.2-2 cool_thing

allman@matrix:~/public_html$ cd cool_thing

allman@matrix:~/public_html/cool_thing$ ls
LICENSE
access.php
design
ezpublish.cron
lib
settings
update
PROFESSIONAL_LICENCE
bin
doc
index.php
pre_check.php
share
var
README.txt
cronjobs
ezpm.php
kernel
runcronjobs.php
support
webdav.php

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.