[WebDNA] Ubuntu and WebDNA

This WebDNA talk-list message is from

2019


It keeps the original formatting.
numero = 114702
interpreted = N
texte = 2324 This is a multipart message in MIME format. ------=_NextPart_000_15B0_01D55B97.7A4CF1F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I got Ubuntu Server 18.04.3 LTS running with WebDNA Fast CGI Here are my notes (Got from the Talk list, friends and various other sources) feel free to critique.. This is not for a virtual host Use the directions on the WebDNA site to install WebDNA with Apache -------------------------------------------------------------------------- Side Note: Upgrading to WebDNA Server 8.6.3 Download the Zip Change "mod_WebDNA_apache2.4.so" file name to "mod_webdna.so", replace existing files (mod_webdna.so,WebCatalog, WebDNAMonitor) with the new ones from the zip archive, made the last two files executable, and reboot. ------------------------------------------------------------------------ Change the following: sudo nano /lib/systemd/system/apache2.service sudo nano /etc/systemd/system/multi-user.target.wants/apache2.service Change 'PrivateTmp = true' to PrivateTmp = false on both files, then reboot. - FTP - NOTE: Must use SFTP to write sudo apt-get install vsftpd sudo systemctl start vsftpd sudo systemctl enable vsftpd backup the original config file: sudo mv /etc/vsftpd.conf /etc/vsftpd.conf.orig create a new config file: sudo nano /etc/vsftpd.conf c/p this into the config file: listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key ssl_enable=NO pasv_enable=Yes pasv_min_port=10000 pasv_max_port=10100 allow_writeable_chroot=YES Now create a ftp account sudo useradd -m ftpuser sudo passwd ftpuser Then add user to www-data sudo adduser ftpuser www-data Create a folder under /var/www/html/ give rights to the www-data group chgrp www-data chmod g+rwx Allow WebDNA to write to db's chgrp www-data chmod g+rwx Other Stuff: Remove dir browsing In /etc/apache2/apache2.conf Look for and change it to: Options FollowSymLinks Options -Indexes root level accesscd sudo su - ------=_NextPart_000_15B0_01D55B97.7A4CF1F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I got = Ubuntu Server 18.04.3 LTS running with WebDNA Fast CGI Here are my notes = (Got from the Talk list, friends and various other sources) feel free to = critique….

 

This is not = for a virtual host

 

Use the = directions on the WebDNA site to install WebDNA with = Apache

 

-------------------------------------------------------= -------------------

Side = Note:

Upgrading to WebDNA Server = 8.6.3

 

Download the Zip

Change "mod_WebDNA_apache2.4.so" file name = to "mod_webdna.so",

replace = existing files (mod_webdna.so,WebCatalog, WebDNAMonitor) with the new = ones from the zip

archive, made the = last two files executable, and reboot.

 

-------------------------------------------------------= -----------------

 

Change the = following:

 

sudo nano = /lib/systemd/system/apache2.service

sudo nano = /etc/systemd/system/multi-user.target.wants/apache2.service

 

Change = 'PrivateTmp =3D true'

to

 

PrivateTmp = =3D false

 

on both files, then reboot.

 

- FTP = -

 

NOTE: Must use SFTP to write

 

sudo apt-get = install vsftpd

sudo systemctl start = vsftpd

sudo systemctl enable = vsftpd

 

backup the original config file:

 

sudo mv = /etc/vsftpd.conf /etc/vsftpd.conf.orig

 

create a new = config file:

 

sudo nano /etc/vsftpd.conf

 

c/p this = into the config file:

 

listen=3DNO

listen_ipv6=3DYES

anonymous_enable=3DNO

local_enable=3DYES

write_enable=3DYES

local_umask=3D022

dirmessage_enable=3DYES

use_localtime=3DYES

xferlog_enable=3DYES

connect_from_port_20=3DYES

chroot_local_user=3DYES

secure_chroot_dir=3D/var/run/vsftpd/empty

pam_service_name=3Dvsftpd

rsa_cert_file=3D/etc/ssl/certs/ssl-cert-snakeoil.pem

rsa_private_key_file=3D/etc/ssl/private/ssl-cert-snakeo= il.key

ssl_enable=3DNO

pasv_enable=3DYes

pasv_min_port=3D10000

pasv_max_port=3D10100

allow_writeable_chroot=3DYES

 

Now create a = ftp account

 

sudo useradd -m ftpuser

sudo passwd ftpuser 

 

Then add = user to www-data

 

sudo adduser = ftpuser www-data

 

Create a = folder under /var/www/html/<new folder>

 

give rights = to the www-data group

 

chgrp = www-data <new folder>

chmod = g+rwx  <new folder>

 

Allow WebDNA = to write to db's

 

chgrp = www-data <dbfile>

chmod g+rwx = <dbfile>

 

Other = Stuff:

 

Remove dir browsing

In /etc/apache2/apache2.conf

 

Look for = <Directory /var/www/> and change it to:

 

<Directory /var/www/>

    Options = FollowSymLinks

    = Options -Indexes

</Directory> 

 

 

root level = accesscd

sudo su -

 

 

--------------------------------------------------------- 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 ------=_NextPart_000_15B0_01D55B97.7A4CF1F0-- . Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Ubuntu and WebDNA (Paul Willis 2019)
  2. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  3. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  4. RE: [WebDNA] Ubuntu and WebDNA ("Scott @ Itsula" 2019)
  5. RE: [WebDNA] Ubuntu and WebDNA (Vincent Medina 2019)
  6. RE: [WebDNA] Ubuntu and WebDNA ("Scott @ Itsula" 2019)
  7. Re: [WebDNA] Ubuntu and WebDNA (WebDNA Solutions 2019)
  8. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  9. FW: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  10. RE: [WebDNA] Ubuntu and WebDNA (Dan Strickler 2019)
  11. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  12. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  13. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  14. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  15. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  16. Re: [WebDNA] Ubuntu and WebDNA (Stuart Tremain 2019)
  17. RE: [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
  18. [WebDNA] Ubuntu and WebDNA ("Vincent Medina" 2019)
2324 This is a multipart message in MIME format. ------=_NextPart_000_15B0_01D55B97.7A4CF1F0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I got Ubuntu Server 18.04.3 LTS running with WebDNA Fast CGI Here are my notes (Got from the Talk List, friends and various other sources) feel free to critique.. This is not for a virtual host Use the directions on the WebDNA site to install WebDNA with Apache -------------------------------------------------------------------------- Side Note: Upgrading to WebDNA Server 8.6.3 Download the Zip Change "mod_WebDNA_apache2.4.so" file name to "mod_webdna.so", replace existing files (mod_webdna.so,WebCatalog, WebDNAMonitor) with the new ones from the zip archive, made the last two files executable, and reboot. ------------------------------------------------------------------------ Change the following: sudo nano /lib/systemd/system/apache2.service sudo nano /etc/systemd/system/multi-user.target.wants/apache2.service Change 'PrivateTmp = true' to PrivateTmp = false on both files, then reboot. - FTP - NOTE: Must use SFTP to write sudo apt-get install vsftpd sudo systemctl start vsftpd sudo systemctl enable vsftpd backup the original config file: sudo mv /etc/vsftpd.conf /etc/vsftpd.conf.orig create a new config file: sudo nano /etc/vsftpd.conf c/p this into the config file: listen=NO listen_ipv6=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES use_localtime=YES xferlog_enable=YES connect_from_port_20=YES chroot_local_user=YES secure_chroot_dir=/var/run/vsftpd/empty pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key ssl_enable=NO pasv_enable=Yes pasv_min_port=10000 pasv_max_port=10100 allow_writeable_chroot=YES Now create a ftp account sudo useradd -m ftpuser sudo passwd ftpuser Then add user to www-data sudo adduser ftpuser www-data Create a folder under /var/www/html/ give rights to the www-data group chgrp www-data chmod g+rwx Allow WebDNA to write to db's chgrp www-data chmod g+rwx Other Stuff: Remove dir browsing In /etc/apache2/apache2.conf Look for and change it to: Options FollowSymLinks Options -Indexes root level accesscd sudo su - ------=_NextPart_000_15B0_01D55B97.7A4CF1F0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I got = Ubuntu Server 18.04.3 LTS running with WebDNA Fast CGI Here are my notes = (Got from the Talk List, friends and various other sources) feel free to = critique….

 

This is not = for a virtual host

 

Use the = directions on the WebDNA site to install WebDNA with = Apache

 

-------------------------------------------------------= -------------------

Side = Note:

Upgrading to WebDNA Server = 8.6.3

 

Download the Zip

Change "mod_WebDNA_apache2.4.so" file name = to "mod_webdna.so",

replace = existing files (mod_webdna.so,WebCatalog, WebDNAMonitor) with the new = ones from the zip

archive, made the = last two files executable, and reboot.

 

-------------------------------------------------------= -----------------

 

Change the = following:

 

sudo nano = /lib/systemd/system/apache2.service

sudo nano = /etc/systemd/system/multi-user.target.wants/apache2.service

 

Change = 'PrivateTmp =3D true'

to

 

PrivateTmp = =3D false

 

on both files, then reboot.

 

- FTP = -

 

NOTE: Must use SFTP to write

 

sudo apt-get = install vsftpd

sudo systemctl start = vsftpd

sudo systemctl enable = vsftpd

 

backup the original config file:

 

sudo mv = /etc/vsftpd.conf /etc/vsftpd.conf.orig

 

create a new = config file:

 

sudo nano /etc/vsftpd.conf

 

c/p this = into the config file:

 

listen=3DNO

listen_ipv6=3DYES

anonymous_enable=3DNO

local_enable=3DYES

write_enable=3DYES

local_umask=3D022

dirmessage_enable=3DYES

use_localtime=3DYES

xferlog_enable=3DYES

connect_from_port_20=3DYES

chroot_local_user=3DYES

secure_chroot_dir=3D/var/run/vsftpd/empty

pam_service_name=3Dvsftpd

rsa_cert_file=3D/etc/ssl/certs/ssl-cert-snakeoil.pem

rsa_private_key_file=3D/etc/ssl/private/ssl-cert-snakeo= il.key

ssl_enable=3DNO

pasv_enable=3DYes

pasv_min_port=3D10000

pasv_max_port=3D10100

allow_writeable_chroot=3DYES

 

Now create a = ftp account

 

sudo useradd -m ftpuser

sudo passwd ftpuser 

 

Then add = user to www-data

 

sudo adduser = ftpuser www-data

 

Create a = folder under /var/www/html/<new folder>

 

give rights = to the www-data group

 

chgrp = www-data <new folder>

chmod = g+rwx  <new folder>

 

Allow WebDNA = to write to db's

 

chgrp = www-data <dbfile>

chmod g+rwx = <dbfile>

 

Other = Stuff:

 

Remove dir browsing

In /etc/apache2/apache2.conf

 

Look for = <Directory /var/www/> and change it to:

 

<Directory /var/www/>

    Options = FollowSymLinks

    = Options -Indexes

</Directory> 

 

 

root level = accesscd

sudo su -

 

 

--------------------------------------------------------- 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 ------=_NextPart_000_15B0_01D55B97.7A4CF1F0-- . "Vincent Medina"

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:

WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Showif ~ Netscape : Showif ~ MSIE (2001) WebMerchant and PCAuthorize (1998) Problems with [Search] param - Mac Plugin b15 (1997) file exists on remote server ??? (2006) Database flushing does not work any more... (2000) GD Scumbucket Spammer (2004) Alternating colors (1997) drop down list (2000) OUTSIDE LINKS TO SHOW SHOPPING CART????????? (1998) Error Log.db --however (1997) 6.x on MacOSX 10.3.9 apache 1.73 (2006) PSC recommends what date format yr 2000??? (1997) date format (2000) Training Tapes Improved (1998) [OT] Indexing of dynamic web sites (2003) Sending PGP Mail from WebCatalog (2000) Multi or auto submit (1999) Group search - using contexts (2000) question: webmerchant connection (1997)