Differences between revisions 1 and 2
Revision 1 as of 2009-02-12 02:03:15
Size: 1440
Editor: DannyCheung
Comment:
Revision 2 as of 2009-02-12 03:34:38
Size: 1499
Editor: DannyCheung
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= Setting up control Webshopper =
= Setting up Control Web Shopper =
Line 8: Line 7:
 1. Install a HTTP server {{{  1. Install a HTTP server
{{{
Line 10: Line 10:
 1. Copy files from {{{/u/ccdev/std/internet/cgi/}}} to {{{/var/www/html/}}} {{{  1. Copy files from {{{/u/ccdev/std/internet/cgi/}}} to {{{/var/www/html/}}}
{{{
Line 16: Line 17:
 1. Install SSL module for web server {{{  1. Install SSL module for web server
{{{
Line 18: Line 20:
 1. Generate SSL certificate {{{  1. Generate SSL certificate
{{{
Line 23: Line 26:
Line 26: Line 28:
Line 34: Line 35:
 1. Edit {{{/etc/httpd/conf/httpd.conf}}} to reflect the domain name {{{
ServerName <DOMAIN_NAME>:80 }}}
 1. Edit {{{/etc/httpd/conf/httpd.conf}}} to reflect the domain name
{{{
ServerName <DOMAIN_NAME>:80
}}}
 1. __'''!! TEST !!'''__
----
 CategoryWebShopper

Setting up Control Web Shopper

  1. Ensure customer has
    • A static IP
    • Registered domain name
    • Appropriate DNS settings
  2. Ensure customers firewall allows inbound HTTP and HTTPS connections to server (May also need to setup port forwarding)
  3. Install a HTTP server
    yum install httpd 
  4. Copy files from /u/ccdev/std/internet/cgi/ to /var/www/html/

    cp /u/ccdev/std/internet/cgi/* /var/www/html/ 
  5. Enable ability for web server to run CGI scripts. In Apache, enable the "Options ExecCGI" option in /etc/httpd/conf/httpd.conf

  6. Create the INTERNET terminal and ensure it is in the correct company and location
  7. Setup correct environment variables in /var/www/html/header.cgi

  8. Set the "Internet Location" in coaad

  9. Install SSL module for web server
    yum install mod_ssl 
  10. Generate SSL certificate
    cd /etc/pki/tls/certs/
    make <CUSTOMER>.key
    make <CUSTOMER>.csr
    make <CUSTOMER>.crt
    #Edit the SSLCertificateKeyFile and SSLCertificateFile to point to the newly generated files
    vi /etc/httpd/conf.d/ssl.conf
    service httpd restart
  11. Ensure that the NET_SALES debtor exists
  12. Ensure NET_SALE salesperson exists
  13. Ensure ImageMagick is installed on server

  14. ln -s /u/cc/<COMPANY>/images/ /var/www/html/ 
  15. Edit /etc/httpd/conf/httpd.conf to reflect the domain name

    ServerName <DOMAIN_NAME>:80
  16. !! TEST !!


Setting_Up_Webshopper (last edited 2013-09-18 06:09:33 by localhost)