Forums / Install & configuration / unpacking tarball on existing website, in subdirectory or www

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 Exponential 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 Exponential tar.gz file using the tar archiving utility, you will automatically get a subdirectory into where Exponential is unpacked. There is no need to create a dedicated directory. You may also rename the directory that Exponential 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/[..]Exponential-3.2-2.tar.gz

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

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

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

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

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

allman@matrix:~/public_html$ cd cool_thing

allman@matrix:~/public_html/cool_thing$ ls
LICENSE
access.php
design
Exponential.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