Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04

This WebDNA talk-list message is from

2018


It keeps the original formatting.
numero = 114058
interpreted = N
texte = 1660 --Apple-Mail=_A23F649E-39F6-4FF7-BB28-640E42414D19 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I love Docker. Here=E2=80=99s my Dockerfile (and other files) that I use for webdna = sites. My folder structure is=E2=80=A6 Dockerfile /config/apache2-standard.conf /config/boot.sh /config/WebCatalog Prefs /config/webdna.conf /webfiles/* * the webfiles folder is the site root and contains all the html files = plus folders for images, css and db etc. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dockerfile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Default docker file for WebDNA FROM ubuntu:16.04 LABEL maintainer Paul Willis # Copy in the standard conf file COPY ./config/apache2-standard.conf = /etc/apache2/sites-available/000-default.conf # Install WebDNA and other apps RUN wget -qO - http://deb.webdna.us/ubuntu15/webdna.key | apt-key add - RUN echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu15 vivid = non-free" >>/etc/apt/sources.list RUN apt-get update \ && apt-get install -y apache2 wget nano python apt-utils = libapache2-mod-webdna=3D8.5.1 && rm -rf /var/lib/apt/lists/* # Copy the WebDNA pref file in COPY --chown=3Dwww-data:www-data ["./config/WebCatalog Prefs", = "/usr/lib/cgi-bin/WebCatalogEngine/WebCatalog Prefs"] COPY --chown=3Dwww-data:www-data ./config/webdna.conf = /etc/apache2/mods-available/webdna.conf # Set the working directory WORKDIR /var/www/html # Enable apache rewrite module RUN a2enmod rewrite # Open the webserver port EXPOSE 80 # Set root password RUN echo 'root:docker' | chpasswd # Copy over apache2 boot script COPY ./config/boot.sh /scripts/ # Make script executable RUN chmod +x /scripts/* #Run script to clear old apache2 PID CMD ["/scripts/boot.sh"] # Copy all the working app files into the image COPY --chown=3Dwww-data:www-data ./webfiles . # Chown the WebDNA config folder RUN chown -R www-data:www-data /usr/lib/cgi-bin/WebCatalogEngine # Make sure WebDNA is started CMD ["/etc/init.d/webdna start"] # And finally start the server CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D boot.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #!/bin/bash if [ ! -d "$APACHE_RUN_DIR" ]; then mkdir "$APACHE_RUN_DIR" chown $APACHE_RUN_USER:$APACHE_RUN_GROUP "$APACHE_RUN_DIR" fi if [ -f "$APACHE_PID_FILE" ]; then rm "$APACHE_PID_FILE" fi /usr/sbin/apache2ctl -D FOREGROUND =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Webdna Prefs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D preferencevalue ShoppingCartFolderShoppingCarts/ OrdersFolderOrders/ CompletedFolderWebMerchant/CompletedOrders/ ProblemsFolderWebMerchant/Problems/ MaxFound6000 SerialNumberWDEV-xxx-xxxx-xxxx-xxxx CacheTemplatesT InterpretAllT EMailFolderEMailFolder/ POPMailServersmtp.mailserver.com EMailLogFolderEMailLog/ CompletedEMailFolderEMailCompleted/ AutoReloadT etc etc Your standard Webdna Prefs file with serial number etc. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D apache2-standard.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Listen for virtual host requests on all IP addresses NameVirtualHost *:* ServerAdmin hostmaster@paulwillis.com DocumentRoot "/var/www/html/" DirectoryIndex "index.php" "index.html" "default.html"  Options All +MultiViews -ExecCGI -Indexes AllowOverride None   RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F]  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D webdna.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D deny from all deny from all deny from all deny from all deny from all deny from all deny from all deny from all deny from all deny from all AddType text/html .tpl .dna .tmpl .html .htm AddHandler webcatalog2-handler .tpl .tmpl .dna .html .htm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > On 12 Mar 2018, at 14:56, Patrick McCormick = wrote: >=20 > Stuart, this is fantastic. I will give this a try. If I can figure = it out, I=E2=80=99ll try to create a Docker image for it. >=20 > Not sure if everyone=E2=80=99s familiar with Docker - it replaces = VMWare. An image/environment can be booted on any platform and can = easily be configured for multiple servers and load balancing. Imagine = being able to go to Docker & spawn a WebDNA server in a minute or two, = regardless of operating system. >=20 >> On Mar 11, 2018, at 5:24 PM, Stuart Tremain > wrote: >>=20 >> USE AT YOUR OWN RISK >>=20 >> I will NOT provide any support for this. >>=20 >>=20 >> If anyone is interested, I have below, included my install notes for = a BASIC Ubuntu/WebMin/WebDNA installation, from memory it should take = about 30 minutes. >>=20 >> Head over to linode.com one Sunday afternoon and = get a $5 instance, you could play around with it for the afternoon and = then trash it - spending less than the price of a cup of coffee. >>=20 >> There is a note about a different WebDNA exe in the notes, this is = something that Chris sent me some time back - sorry but I don=E2=80=99t = know what makes it different, maybe Chris will read this and explain = and/or offer the different exe as a download. >>=20 >> https://www.linode.com/pricing >>=20 >> You will need to SSH into the linode instance and do the following: >>=20 >>=20 >>=20 >>=20 >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> FIX FOR apt-get update: If apt-get update gets stuck, you will need = to edit /etc/gai.conf >> This will allow you to still use IPv6 but sets IPv4 as the precedence = so that apt-get won=E2=80=99t get stuck. >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sudo nano /etc/gai.conf >>=20 >> # change line ~54 to uncomment the following: >> # precedence ::ffff:0:0/96 100 >> # Exit & save >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> DO apt-get update >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> apt-get update >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> INSTALL APACHE2 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sudo apt-get install apache2 >> sudo /etc/init.d/apache2 restart >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> CHECK INSTALLATION >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> browse to your server: >> http://xxx.xxx.xxx.xxx/ >>=20 >> You should see the Apache default page. >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> ## INSTALL WebDNA Server 8.2 for Ubuntu 14.04 LTS: =20 >> ## http://www.webdna.us/ >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >> wget -qO - http://deb.webdna.us/ubuntu14/webdna.key = | sudo apt-key add - >> echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu14 = trusty non-free" >>/etc/apt/sources.list >> apt-get update >> apt-get install libapache2-mod-webdna=3D8.2 >>=20 >> # The following extra packages will be installed: >> # libmysqlclient18 mysql-common >> # The following NEW packages will be installed: >> # libapache2-mod-webdna libmysqlclient18 mysql-common >>=20 >> # Now set permissions must be "root"" >> cd /usr/lib/cgi-bin/ >> chown -R www-data:www-data WebCatalogEngine >> chmod -R 755 WebCatalogEngine >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> DO A SYSTEM REBOOT NOW >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> reboot -h now >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> CHECK INSTALLATION >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> browse to your server: >> http://xxx.xxx.xxx.xxx/ >>=20 >> You should see the Apache default page. >>=20 >> Now try: (note case sensitivity) >> http://xxx.xxx.xxx.xxx/WebCatalog >>=20 >> You should see the WebDNA welcome page, try to enter a serial number. >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> # There may be an issue "Sorry, the WebDNA engine has reached its = connection limit." when entering serial. >> # If this is the case you need to install different exe. Dropbox > = WebDNA > WebCatalog 8.2 for Ubuntu 14.04 >> # Replace WebCatalog exe making sure to keep permissions: >> cd /usr/lib/cgi-bin/ >> chown -R www-data:www-data WebCatalogEngine >> chmod -R 755 WebCatalogEngine >> # reboot and try again >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> ## INSTALL WEBMIN >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sudo nano /etc/apt/sources.list >>=20 >> # Now press Ctrl-W then Ctrl-V to navigate to the end of the file, = then add the following lines to the file: >> deb http://download.webmin.com/download/repository = sarge contrib >> deb http://webmin.mirror.somersettechsolutions.co.uk/repository = sarge = contrib >> # When you are finished editing, save the file by pressing Ctrl-X, = then y, RETURN. >>=20 >> wget -q http://www.webmin.com/jcameron-key.asc = -O- | sudo apt-key add - >> sudo apt-get update >> sudo apt-get install webmin >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> DO A SYSTEM REBOOT NOW >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> Pharoah Lane Software >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_A23F649E-39F6-4FF7-BB28-640E42414D19 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I love Docker.

Here=E2=80=99s my Dockerfile (and other = files) that I use for webdna sites.

My = folder structure is=E2=80=A6

Dockerfile
/config/apache2-standard.conf
/config/boot.sh
/config/WebCatalog = Prefs
/config/webdna.conf
/webfiles/*

* the webfiles folder is the site root and contains all the = html files plus folders for images, css and db etc.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
Dockerfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
# Default docker file for WebDNA
FROM ubuntu:16.04

LABEL maintainer Paul Willis

# Copy in the standard = conf file
COPY ./config/apache2-standard.conf = /etc/apache2/sites-available/000-default.conf

# Install WebDNA and other = apps
RUN wget -qO - http://deb.webdna.us/ubuntu15/webdna.key | apt-key add = -
RUN echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu15 vivid non-free" = >>/etc/apt/sources.list
RUN apt-get update = \
    && apt-get install -y = apache2 wget nano python apt-utils libapache2-mod-webdna=3D8.5.1
    && rm -rf = /var/lib/apt/lists/*

# Copy the WebDNA pref file in
COPY = --chown=3Dwww-data:www-data ["./config/WebCatalog Prefs", = "/usr/lib/cgi-bin/WebCatalogEngine/WebCatalog Prefs"]
COPY --chown=3Dwww-data:www-data ./config/webdna.conf = /etc/apache2/mods-available/webdna.conf

# Set the working directory
WORKDIR /var/www/html

# Enable apache rewrite = module
RUN a2enmod rewrite

# Open the webserver port
EXPOSE 80

# Set root password
RUN echo = 'root:docker' | chpasswd

# Copy over apache2 boot script
COPY = ../config/boot.sh /scripts/

# Make script executable
RUN chmod +x = /scripts/*

#Run = script to clear old apache2 PID
CMD = ["/scripts/boot.sh"]

# Copy all the working app files into the image
COPY --chown=3Dwww-data:www-data ./webfiles .

# Chown the WebDNA = config folder
RUN chown -R www-data:www-data = /usr/lib/cgi-bin/WebCatalogEngine

# Make sure WebDNA is started
CMD ["/etc/init.d/webdna start"]

# And finally start the = server
CMD ["/usr/sbin/apache2ctl", "-D", = "FOREGROUND"]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
boot.sh
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
#!/bin/bash
if [ ! -d "$APACHE_RUN_DIR" ]; then
mkdir = "$APACHE_RUN_DIR"
chown = $APACHE_RUN_USER:$APACHE_RUN_GROUP "$APACHE_RUN_DIR"
fi
if [ -f "$APACHE_PID_FILE" ]; = then
rm "$APACHE_PID_FILE"
fi
/usr/sbin/apache2ctl -D = FOREGROUND
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
Webdna Prefs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
preference= value
ShoppingCartFolder= ShoppingCarts/
OrdersFolder= Orders/
CompletedFolder= WebMerchant/CompletedOrders/
ProblemsFolderWebMerchant/Problems/
MaxFound6000
SerialNumberWDEV-xxx-xxxx-xxxx-xxxx
CacheTemplatesT
InterpretAllT
EMailFolderEMailFolder/
POPMailServersmtp.mailserver.com
EMailLogFolderEMailLog/
CompletedEMailFolderEMailCompleted/
AutoReloadT
etc
etc
Your = standard Webdna Prefs file with serial number etc.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
apache2-standard.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
# Listen for virtual host = requests on all IP addresses
NameVirtualHost = *:*

<VirtualHost *:*>
= ServerAdmin hostmaster@paulwillis.com
= DocumentRoot "/var/www/html/"
= DirectoryIndex "index.php" "index.html" "default.html"
= <Directory "/var/www/html/">
= Options All +MultiViews -ExecCGI -Indexes
= AllowOverride None
= </Directory>
= <IfModule mod_rewrite.c>
= RewriteEngine On
= RewriteCond %{REQUEST_METHOD} ^TRACE
= RewriteRule .* - [F]
= </IfModule>
</VirtualHost>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
webdna.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
<Location ~ =  "/.*\.db($|.*\?)">
deny from all
</Location>

<Location ~ =  "/.*\.hdr($|.*\?)">
deny from = all
</Location>

<Location ~  "/.*/WebCatalog($| = Prefs|Ctl)">
deny from all
</Location>

<Location ~ =  "/.*/WebMerchant/CompletedOrders">
deny = from all
</Location>

<Location ~ =  "/.*/WebMerchant/Problems">
deny from = all
</Location>

<Location ~ =  "/.*/WebMerchant/Pending">
deny from = all
</Location>

<Location ~ =  "/.*/WebMerchant/StockRoom">
deny from = all
</Location>

<Location ~ =  "/.*/Orders">
deny from all
</Location>

<Location ~ =  "/.*/ShoppingCarts">
deny from = all
</Location>

<Location ~ =  "/[Ww]eb[Cc]atalog/ErrorLog($|\.txt)">
deny = from all
</Location>

<IfModule mime_module>
AddType text/html .tpl .dna .tmpl .html .htm
</IfModule>

AddHandler webcatalog2-handler .tpl = ..tmpl .dna .html .htm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D


On 12 Mar 2018, at 14:56, Patrick McCormick <duganmccormick@gmail.com> wrote:

Stuart, this is = fantastic.  I will give this a try.  If I can figure it out, = I=E2=80=99ll try to create a Docker image for it.

Not sure if everyone=E2=80=99s familiar = with Docker - it replaces VMWare.  An image/environment can be = booted on any platform and can easily be configured for multiple servers = and load balancing. Imagine being able to go to Docker & spawn a = WebDNA server in a minute or two, regardless of operating system.

On Mar 11, 2018, at 5:24 PM, Stuart Tremain = <webdna@idfk.com.au> wrote:

USE AT YOUR OWN = RISK

I will NOT = provide any support for this.


If = anyone is interested, I have below, included my install notes for a = BASIC Ubuntu/WebMin/WebDNA installation, from memory it should take = about 30 minutes.

Head over to linode.com one Sunday afternoon and get a $5 instance, = you could play around with it for the afternoon and then trash it - = spending less than the price of a cup of coffee.

There is a note about a different = WebDNA exe in the notes, this is something that Chris sent me some time = back - sorry but I don=E2=80=99t know what makes it different, maybe = Chris will read this and explain and/or offer the different exe as a = download.


You will need to SSH into the linode = instance and do the following:





## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FIX FOR apt-get update: If apt-get update gets stuck, you = will need to edit /etc/gai.conf
This will allow you = to still use IPv6 but sets IPv4 as the precedence so that apt-get = won=E2=80=99t get stuck.
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sudo nano /etc/gai.conf

# change line ~54 to uncomment the = following:
# precedence ::ffff:0:0/96 =  100
# Exit & save

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DO apt-get update
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
apt-get update

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
INSTALL APACHE2
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sudo apt-get install apache2
sudo = /etc/init.d/apache2 restart

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
CHECK INSTALLATION
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
browse to your server:

You should see the Apache default = page.

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
## INSTALL WebDNA Server 8.2 for Ubuntu 14.04 LTS: =  
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

wget -qO - http://deb.webdna.us/ubuntu14/webdna.key | sudo apt-key = add -
echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu14 trusty non-free" = >>/etc/apt/sources.list
apt-get = update
apt-get install = libapache2-mod-webdna=3D8.2

# The following extra packages will be installed:
# libmysqlclient18 mysql-common
# The = following NEW packages will be installed:
# = libapache2-mod-webdna libmysqlclient18 mysql-common

# Now set permissions = must be "root""
cd /usr/lib/cgi-bin/
chown -R www-data:www-data WebCatalogEngine
chmod -R 755 WebCatalogEngine

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DO A SYSTEM REBOOT NOW
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
reboot -h now

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
CHECK INSTALLATION
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
browse to your server:

You should see the Apache default = page.

Now try: = (note case sensitivity)

You should see the WebDNA welcome page, = try to enter a serial number.

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# There may be an issue "Sorry, the WebDNA engine has reached = its connection limit." when entering serial.
# If = this is the case you need to install different exe. Dropbox > WebDNA = > WebCatalog 8.2 for Ubuntu 14.04
# Replace = WebCatalog exe making sure to keep permissions:
cd = /usr/lib/cgi-bin/
chown -R www-data:www-data = WebCatalogEngine
chmod -R 755 = WebCatalogEngine
# reboot and try again
## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=




## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
## INSTALL WEBMIN
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sudo nano /etc/apt/sources.list

# Now press Ctrl-W then Ctrl-V to = navigate to the end of the file, then add the following lines to the = file:
# When you are finished editing, = save the file by pressing Ctrl-X, then y, RETURN.
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key = add -
sudo apt-get update
sudo = apt-get install webmin

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
DO A SYSTEM REBOOT NOW
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D











Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_A23F649E-39F6-4FF7-BB28-640E42414D19-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 (Paul Willis 2018)
  2. Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 (Patrick McCormick 2018)
  3. Re: [BULK] Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 ("WJ Starck, DDS" 2018)
  4. Re: [BULK] Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 (Brian Harrington 2018)
  5. Re: [BULK] Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 (Brian Harrington 2018)
  6. [BULK] Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 ("WJ Starck, DDS" 2018)
  7. Re: [WebDNA] Cloud Server install notes - Ubuntu 14.04 (Kenneth Grome 2018)
  8. [WebDNA] Cloud Server install notes - Ubuntu 14.04 (Stuart Tremain 2018)
1660 --Apple-Mail=_A23F649E-39F6-4FF7-BB28-640E42414D19 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I love Docker. Here=E2=80=99s my Dockerfile (and other files) that I use for webdna = sites. My folder structure is=E2=80=A6 Dockerfile /config/apache2-standard.conf /config/boot.sh /config/WebCatalog Prefs /config/webdna.conf /webfiles/* * the webfiles folder is the site root and contains all the html files = plus folders for images, css and db etc. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dockerfile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Default docker file for WebDNA FROM ubuntu:16.04 LABEL maintainer Paul Willis # Copy in the standard conf file COPY ./config/apache2-standard.conf = /etc/apache2/sites-available/000-default.conf # Install WebDNA and other apps RUN wget -qO - http://deb.webdna.us/ubuntu15/webdna.key | apt-key add - RUN echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu15 vivid = non-free" >>/etc/apt/sources.list RUN apt-get update \ && apt-get install -y apache2 wget nano python apt-utils = libapache2-mod-webdna=3D8.5.1 && rm -rf /var/lib/apt/lists/* # Copy the WebDNA pref file in COPY --chown=3Dwww-data:www-data ["./config/WebCatalog Prefs", = "/usr/lib/cgi-bin/WebCatalogEngine/WebCatalog Prefs"] COPY --chown=3Dwww-data:www-data ./config/webdna.conf = /etc/apache2/mods-available/webdna.conf # Set the working directory WORKDIR /var/www/html # Enable apache rewrite module RUN a2enmod rewrite # Open the webserver port EXPOSE 80 # Set root password RUN echo 'root:docker' | chpasswd # Copy over apache2 boot script COPY ./config/boot.sh /scripts/ # Make script executable RUN chmod +x /scripts/* #Run script to clear old apache2 PID CMD ["/scripts/boot.sh"] # Copy all the working app files into the image COPY --chown=3Dwww-data:www-data ./webfiles . # Chown the WebDNA config folder RUN chown -R www-data:www-data /usr/lib/cgi-bin/WebCatalogEngine # Make sure WebDNA is started CMD ["/etc/init.d/webdna start"] # And finally start the server CMD ["/usr/sbin/apache2ctl", "-D", "FOREGROUND"] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D boot.sh =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D #!/bin/bash if [ ! -d "$APACHE_RUN_DIR" ]; then mkdir "$APACHE_RUN_DIR" chown $APACHE_RUN_USER:$APACHE_RUN_GROUP "$APACHE_RUN_DIR" fi if [ -f "$APACHE_PID_FILE" ]; then rm "$APACHE_PID_FILE" fi /usr/sbin/apache2ctl -D FOREGROUND =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Webdna Prefs =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D preferencevalue ShoppingCartFolderShoppingCarts/ OrdersFolderOrders/ CompletedFolderWebMerchant/CompletedOrders/ ProblemsFolderWebMerchant/Problems/ MaxFound6000 SerialNumberWDEV-xxx-xxxx-xxxx-xxxx CacheTemplatesT InterpretAllT EMailFolderEMailFolder/ POPMailServersmtp.mailserver.com EMailLogFolderEMailLog/ CompletedEMailFolderEMailCompleted/ AutoReloadT etc etc Your standard Webdna Prefs file with serial number etc. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D apache2-standard.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Listen for virtual host requests on all IP addresses NameVirtualHost *:* ServerAdmin hostmaster@paulwillis.com DocumentRoot "/var/www/html/" DirectoryIndex "index.php" "index.html" "default.html"  Options All +MultiViews -ExecCGI -Indexes AllowOverride None   RewriteEngine On RewriteCond %{REQUEST_METHOD} ^TRACE RewriteRule .* - [F]  =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D webdna.conf =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D deny from all deny from all deny from all deny from all deny from all deny from all deny from all deny from all deny from all deny from all AddType text/html .tpl .dna .tmpl .html .htm AddHandler webcatalog2-handler .tpl .tmpl .dna .html .htm =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > On 12 Mar 2018, at 14:56, Patrick McCormick = wrote: >=20 > Stuart, this is fantastic. I will give this a try. If I can figure = it out, I=E2=80=99ll try to create a Docker image for it. >=20 > Not sure if everyone=E2=80=99s familiar with Docker - it replaces = VMWare. An image/environment can be booted on any platform and can = easily be configured for multiple servers and load balancing. Imagine = being able to go to Docker & spawn a WebDNA server in a minute or two, = regardless of operating system. >=20 >> On Mar 11, 2018, at 5:24 PM, Stuart Tremain > wrote: >>=20 >> USE AT YOUR OWN RISK >>=20 >> I will NOT provide any support for this. >>=20 >>=20 >> If anyone is interested, I have below, included my install notes for = a BASIC Ubuntu/WebMin/WebDNA installation, from memory it should take = about 30 minutes. >>=20 >> Head over to linode.com one Sunday afternoon and = get a $5 instance, you could play around with it for the afternoon and = then trash it - spending less than the price of a cup of coffee. >>=20 >> There is a note about a different WebDNA exe in the notes, this is = something that Chris sent me some time back - sorry but I don=E2=80=99t = know what makes it different, maybe Chris will read this and explain = and/or offer the different exe as a download. >>=20 >> https://www.linode.com/pricing >>=20 >> You will need to SSH into the linode instance and do the following: >>=20 >>=20 >>=20 >>=20 >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> FIX FOR apt-get update: If apt-get update gets stuck, you will need = to edit /etc/gai.conf >> This will allow you to still use IPv6 but sets IPv4 as the precedence = so that apt-get won=E2=80=99t get stuck. >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sudo nano /etc/gai.conf >>=20 >> # change line ~54 to uncomment the following: >> # precedence ::ffff:0:0/96 100 >> # Exit & save >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> DO apt-get update >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> apt-get update >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> INSTALL APACHE2 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sudo apt-get install apache2 >> sudo /etc/init.d/apache2 restart >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> CHECK INSTALLATION >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> browse to your server: >> http://xxx.xxx.xxx.xxx/ >>=20 >> You should see the Apache default page. >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> ## INSTALL WebDNA Server 8.2 for Ubuntu 14.04 LTS: =20 >> ## http://www.webdna.us/ >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >> wget -qO - http://deb.webdna.us/ubuntu14/webdna.key = | sudo apt-key add - >> echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu14 = trusty non-free" >>/etc/apt/sources.list >> apt-get update >> apt-get install libapache2-mod-webdna=3D8.2 >>=20 >> # The following extra packages will be installed: >> # libmysqlclient18 mysql-common >> # The following NEW packages will be installed: >> # libapache2-mod-webdna libmysqlclient18 mysql-common >>=20 >> # Now set permissions must be "root"" >> cd /usr/lib/cgi-bin/ >> chown -R www-data:www-data WebCatalogEngine >> chmod -R 755 WebCatalogEngine >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> DO A SYSTEM REBOOT NOW >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> reboot -h now >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> CHECK INSTALLATION >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> browse to your server: >> http://xxx.xxx.xxx.xxx/ >>=20 >> You should see the Apache default page. >>=20 >> Now try: (note case sensitivity) >> http://xxx.xxx.xxx.xxx/WebCatalog >>=20 >> You should see the WebDNA welcome page, try to enter a serial number. >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> # There may be an issue "Sorry, the WebDNA engine has reached its = connection limit." when entering serial. >> # If this is the case you need to install different exe. Dropbox > = WebDNA > WebCatalog 8.2 for Ubuntu 14.04 >> # Replace WebCatalog exe making sure to keep permissions: >> cd /usr/lib/cgi-bin/ >> chown -R www-data:www-data WebCatalogEngine >> chmod -R 755 WebCatalogEngine >> # reboot and try again >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> ## INSTALL WEBMIN >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> sudo nano /etc/apt/sources.list >>=20 >> # Now press Ctrl-W then Ctrl-V to navigate to the end of the file, = then add the following lines to the file: >> deb http://download.webmin.com/download/repository = sarge contrib >> deb http://webmin.mirror.somersettechsolutions.co.uk/repository = sarge = contrib >> # When you are finished editing, save the file by pressing Ctrl-X, = then y, RETURN. >>=20 >> wget -q http://www.webmin.com/jcameron-key.asc = -O- | sudo apt-key add - >> sudo apt-get update >> sudo apt-get install webmin >>=20 >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> DO A SYSTEM REBOOT NOW >> ## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> Kind regards >>=20 >> Stuart Tremain >> Pharoah Lane Software >> AUSTRALIA >> webdna@idfk.com.au >>=20 >>=20 >>=20 >>=20 >>=20 >>=20 >> --------------------------------------------------------- This = message is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: = talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 = Bug Reporting: = support@webdna.us > --------------------------------------------------------- This message = is sent to you because you are subscribed to the mailing list = talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: = http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: = support@webdna.us --Apple-Mail=_A23F649E-39F6-4FF7-BB28-640E42414D19 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
I love Docker.

Here=E2=80=99s my Dockerfile (and other = files) that I use for webdna sites.

My = folder structure is=E2=80=A6

Dockerfile
/config/apache2-standard.conf
/config/boot.sh
/config/WebCatalog = Prefs
/config/webdna.conf
/webfiles/*

* the webfiles folder is the site root and contains all the = html files plus folders for images, css and db etc.

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
Dockerfile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
# Default docker file for WebDNA
FROM ubuntu:16.04

LABEL maintainer Paul Willis

# Copy in the standard = conf file
COPY ./config/apache2-standard.conf = /etc/apache2/sites-available/000-default.conf

# Install WebDNA and other = apps
RUN wget -qO - http://deb.webdna.us/ubuntu15/webdna.key | apt-key add = -
RUN echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu15 vivid non-free" = >>/etc/apt/sources.list
RUN apt-get update = \
    && apt-get install -y = apache2 wget nano python apt-utils libapache2-mod-webdna=3D8.5.1
    && rm -rf = /var/lib/apt/lists/*

# Copy the WebDNA pref file in
COPY = --chown=3Dwww-data:www-data ["./config/WebCatalog Prefs", = "/usr/lib/cgi-bin/WebCatalogEngine/WebCatalog Prefs"]
COPY --chown=3Dwww-data:www-data ./config/webdna.conf = /etc/apache2/mods-available/webdna.conf

# Set the working directory
WORKDIR /var/www/html

# Enable apache rewrite = module
RUN a2enmod rewrite

# Open the webserver port
EXPOSE 80

# Set root password
RUN echo = 'root:docker' | chpasswd

# Copy over apache2 boot script
COPY = ../config/boot.sh /scripts/

# Make script executable
RUN chmod +x = /scripts/*

#Run = script to clear old apache2 PID
CMD = ["/scripts/boot.sh"]

# Copy all the working app files into the image
COPY --chown=3Dwww-data:www-data ./webfiles .

# Chown the WebDNA = config folder
RUN chown -R www-data:www-data = /usr/lib/cgi-bin/WebCatalogEngine

# Make sure WebDNA is started
CMD ["/etc/init.d/webdna start"]

# And finally start the = server
CMD ["/usr/sbin/apache2ctl", "-D", = "FOREGROUND"]
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
boot.sh
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
#!/bin/bash
if [ ! -d "$APACHE_RUN_DIR" ]; then
mkdir = "$APACHE_RUN_DIR"
chown = $APACHE_RUN_USER:$APACHE_RUN_GROUP "$APACHE_RUN_DIR"
fi
if [ -f "$APACHE_PID_FILE" ]; = then
rm "$APACHE_PID_FILE"
fi
/usr/sbin/apache2ctl -D = FOREGROUND
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
Webdna Prefs
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
preference= value
ShoppingCartFolder= ShoppingCarts/
OrdersFolder= Orders/
CompletedFolder= WebMerchant/CompletedOrders/
ProblemsFolderWebMerchant/Problems/
MaxFound6000
SerialNumberWDEV-xxx-xxxx-xxxx-xxxx
CacheTemplatesT
InterpretAllT
EMailFolderEMailFolder/
POPMailServersmtp.mailserver.com
EMailLogFolderEMailLog/
CompletedEMailFolderEMailCompleted/
AutoReloadT
etc
etc
Your = standard Webdna Prefs file with serial number etc.
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D


=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D
apache2-standard.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
# Listen for virtual host = requests on all IP addresses
NameVirtualHost = *:*

<VirtualHost *:*>
= DocumentRoot "/var/www/html/"
= DirectoryIndex "index.php" "index.html" "default.html"
= <Directory "/var/www/html/">
= Options All +MultiViews -ExecCGI -Indexes
= AllowOverride None
= </Directory>
= <IfModule mod_rewrite.c>
= RewriteEngine On
= RewriteCond %{REQUEST_METHOD} ^TRACE
= RewriteRule .* - [F]
= </IfModule>
</VirtualHost>
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
webdna.conf
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
<Location ~ =  "/.*\.db($|.*\?)">
deny from all
</Location>

<Location ~ =  "/.*\.hdr($|.*\?)">
deny from = all
</Location>

<Location ~  "/.*/WebCatalog($| = Prefs|Ctl)">
deny from all
</Location>

<Location ~ =  "/.*/WebMerchant/CompletedOrders">
deny = from all
</Location>

<Location ~ =  "/.*/WebMerchant/Problems">
deny from = all
</Location>

<Location ~ =  "/.*/WebMerchant/Pending">
deny from = all
</Location>

<Location ~ =  "/.*/WebMerchant/StockRoom">
deny from = all
</Location>

<Location ~ =  "/.*/Orders">
deny from all
</Location>

<Location ~ =  "/.*/ShoppingCarts">
deny from = all
</Location>

<Location ~ =  "/[Ww]eb[Cc]atalog/ErrorLog($|\.txt)">
deny = from all
</Location>

<IfModule mime_module>
AddType text/html .tpl .dna .tmpl .html .htm
</IfModule>

AddHandler webcatalog2-handler .tpl = ..tmpl .dna .html .htm
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D


On 12 Mar 2018, at 14:56, Patrick McCormick <duganmccormick@gmail.com> wrote:

Stuart, this is = fantastic.  I will give this a try.  If I can figure it out, = I=E2=80=99ll try to create a Docker image for it.

Not sure if everyone=E2=80=99s familiar = with Docker - it replaces VMWare.  An image/environment can be = booted on any platform and can easily be configured for multiple servers = and load balancing. Imagine being able to go to Docker & spawn a = WebDNA server in a minute or two, regardless of operating system.

On Mar 11, 2018, at 5:24 PM, Stuart Tremain = <webdna@idfk.com.au> wrote:

USE AT YOUR OWN = RISK

I will NOT = provide any support for this.


If = anyone is interested, I have below, included my install notes for a = BASIC Ubuntu/WebMin/WebDNA installation, from memory it should take = about 30 minutes.

Head over to linode.com one Sunday afternoon and get a $5 instance, = you could play around with it for the afternoon and then trash it - = spending less than the price of a cup of coffee.

There is a note about a different = WebDNA exe in the notes, this is something that Chris sent me some time = back - sorry but I don=E2=80=99t know what makes it different, maybe = Chris will read this and explain and/or offer the different exe as a = download.


You will need to SSH into the linode = instance and do the following:





## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
FIX FOR apt-get update: If apt-get update gets stuck, you = will need to edit /etc/gai.conf
This will allow you = to still use IPv6 but sets IPv4 as the precedence so that apt-get = won=E2=80=99t get stuck.
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sudo nano /etc/gai.conf

# change line ~54 to uncomment the = following:
# precedence ::ffff:0:0/96 =  100
# Exit & save

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DO apt-get update
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
apt-get update

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
INSTALL APACHE2
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sudo apt-get install apache2
sudo = /etc/init.d/apache2 restart

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
CHECK INSTALLATION
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
browse to your server:

You should see the Apache default = page.

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
## INSTALL WebDNA Server 8.2 for Ubuntu 14.04 LTS: =  
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

wget -qO - http://deb.webdna.us/ubuntu14/webdna.key | sudo apt-key = add -
echo "deb [arch=3Damd64] http://deb.webdna.us/ubuntu14 trusty non-free" = >>/etc/apt/sources.list
apt-get = update
apt-get install = libapache2-mod-webdna=3D8.2

# The following extra packages will be installed:
# libmysqlclient18 mysql-common
# The = following NEW packages will be installed:
# = libapache2-mod-webdna libmysqlclient18 mysql-common

# Now set permissions = must be "root""
cd /usr/lib/cgi-bin/
chown -R www-data:www-data WebCatalogEngine
chmod -R 755 WebCatalogEngine

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
DO A SYSTEM REBOOT NOW
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
reboot -h now

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
CHECK INSTALLATION
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
browse to your server:

You should see the Apache default = page.

Now try: = (note case sensitivity)

You should see the WebDNA welcome page, = try to enter a serial number.

## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
# There may be an issue "Sorry, the WebDNA engine has reached = its connection limit." when entering serial.
# If = this is the case you need to install different exe. Dropbox > WebDNA = > WebCatalog 8.2 for Ubuntu 14.04
# Replace = WebCatalog exe making sure to keep permissions:
cd = /usr/lib/cgi-bin/
chown -R www-data:www-data = WebCatalogEngine
chmod -R 755 = WebCatalogEngine
# reboot and try again
## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=




## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
## INSTALL WEBMIN
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
sudo nano /etc/apt/sources.list

# Now press Ctrl-W then Ctrl-V to = navigate to the end of the file, then add the following lines to the = file:
# When you are finished editing, = save the file by pressing Ctrl-X, then y, RETURN.
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key = add -
sudo apt-get update
sudo = apt-get install webmin

## =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
DO A SYSTEM REBOOT NOW
## = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D











Kind regards

Stuart Tremain
Pharoah Lane = Software
AUSTRALIA






--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us

--------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us
= --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list talk@webdna.us To unsubscribe, E-mail to: talk-leave@webdna.us archives: http://www.webdna.us/page.dna?numero=3D55 Bug Reporting: support@webdna.us --Apple-Mail=_A23F649E-39F6-4FF7-BB28-640E42414D19-- . Paul Willis

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Searching on 3 different fields (2003) Mac v. NT (1998) Help! WebCat2 bug (1997) [WebDNA] postfix and dna (2011) Narrowing NT Crashing error (2000) Displaying photo attached to first record (1997) SSL Certificates (2004) WebTen + WebCatalog Plugin clarification (1998) upgrade? (1997) textarea input- nevermind (2002) searching illegal HTML (2002) WebCat Error Log problem (2.0.1, acgi, Mac) (1997) For those of you not on the WebCatalog Beta... (1997) WebCatalog vidoes (was: Prices Dropped) (1998) [WebDNA] Upper ASCII and charset [OT] (2016) WebCat editing, SiteGuard & SiteEdit (1997) WebDNA 5.1 is now available! (2003) Big Databases (1997) Re:no template caching (1997) Testing (2003)