= Setting up Control Web Shopper = 1. Ensure customer has * A static IP * Registered domain name * Appropriate DNS settings * For the checkout portion of the website, they will need a SSL certificate 1. Ensure customers firewall allows inbound HTTP and HTTPS connections to server (May also need to setup port forwarding) 1. Install a HTTP server {{{ yum install httpd }}} 1. Copy files from {{{/u/ccdev/std/internet/cgi/}}} to {{{/var/www/html/}}} {{{ cp /u/ccdev/std/internet/cgi/* /var/www/html/ }}} 1. Enable ability for web server to run CGI scripts. In Apache, enable the "Options ExecCGI" option in {{{/etc/httpd/conf/httpd.conf}}} 1. Create and configure the INTERNET terminal. Ensure it is in the correct company. 1. Setup correct environment variables in {{{/var/www/html/header.cgi}}} 1. Set the "Internet Location" in {{{coaad}}} 1. Install SSL module for web server {{{ yum install mod_ssl }}} 1. Install the SSL certificate provided by a trusted third party. As a temporary measure, you can generate your own SSL certificate 1. {{{ cd /etc/pki/tls/certs/ make .key make .csr make .crt #Edit the SSLCertificateKeyFile and SSLCertificateFile to point to the newly generated files vi /etc/httpd/conf.d/ssl.conf service httpd restart }}} 1. Ensure that the NET_SALES debtor exists 1. Ensure NET_SALE salesperson exists 1. Ensure ImageMagick is installed on server {{{ yum install ImageMagick}}} 1. Place link to stock images in webshopper folder {{{ ln -s /u/cc//images/ /var/www/html/ }}} 1. Edit {{{/etc/httpd/conf/httpd.conf}}} to reflect the domain name {{{ ServerName :80}}} 1. Configure some of the webshopper related options 1. {{{coaad}}} -> Location for Internet Stock 1. {{{coaad}}} -> Sell available stock from internet Location 1. {{{coaad}}} -> Sell available stock from all Location 1. Setup [[http://en.wikipedia.org/wiki/Robots.txt|robots.txt]] so that Google (and other search engines) do not randomly create large orders 1. '''!! '''__'''TEST'''__''' !!''' ---- . CategoryWebShopper