|
You must have a apache web server with the php
module activate. The php page must have the .phtml and .xsl extension.
If your are not sure, verify your httpd.conf file it must contain the
following command:
DirectoryIndex index.html index.phtml AddType application/x-httpd-php3 .phtml AddType application/x-httpd-php3 .xsl
Next you must create a new virtual domain (httpd.conf)
like this:
<VirtualHost 192.168.1.10>
ServerAdmin webmaster@company.com
DocumentRoot /home/httpd/html/shop
ServerName shop.company.com
CustomLog /var/log/httpd/shop_log combined
<Directory /home/httpd/html/shop/include>
deny from all
AllowOverride None
</Directory>
</VirtualHost>
You must add to your php.ini file the following
entry in include_path option:
include_path = "<old options>:.:./include"
Your FTP daemon must accept anonymous login and
accept upload in the 'pub/user/shop' directory, for that you must add
the following option in the /etc/ftpaccess file:
upload /home/ftp /pub/user/* yes ftp daemon 0666 nodirs
Go in the /home/ftp/pub directory and change the
security rights: chmod 711 user
Second step
Download istore.tgz (the source of the e-business
web server) and istore-manager.zip (the
win 95/98/NT software).
Uncompress istore.tgz (tar -xvzf istore.tgz),
this will create a istore directory. Go to the istore directory and move
the shop directory in /home/httpd/html.
Log as postgres and create a new postgreSQL database (createdb
shop), then we start to populate this new database with the
file shop.dmp (psql shop < shop.dmp).
Verify that you launch the postgres daemon with the '-i' option (for better
performance add the '-o-F' option) on my RedHat system this file is in
'/etc/rc.d/init.d' directory. Modify the /home/httpd/html/shop/config.php
file to fit your needs.
Third step
As root create the directory
/usr/local/xslpserver. In this new directory put the openxml.jar, xslp.jar,
XSLPServer.class, XSLPServerThread.class, and the xslpserver file (the
.class and xslpserver files come from the istore.tgz package). If your
JDK is not in /usr/local/jdk1.1.7B
you must change the xslpserver script according to your system configuration.
Now run xslpserver.
Move the integ.sh script in /home/ftp/pub/user, go to /home/ftp/pub/user
then create the 'shop' and 'tmp' directory change their security rights
chmod 777 tmp and chmod
777 shop. Now in the /home/ftp/pub/user/shop
directory put the 'DB' and 'importe' file ('importe' must have the execute
bit set: chmod 755 importe).
Run the integ.sh script.
All the install process on the web server is finish and you can test now
your Internet shop.
|