RE: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!!

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105451
interpreted = N
texte = Thanks Ken for flushing this out. I may have to give it a try. -----Original Message----- From: Kenneth Grome [mailto:kengrome@gmail.com] Sent: Friday, July 02, 2010 1:15 AM To: talk@webdna.us Subject: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! The goal here is to get WebDNA running on the cheapest VPS available at this time, and to conserve as much disk space and memory as possible since the server has very limited resources. This is not yet a stripped down or optimized server by any means, but here's how you can get started with WebDNA 7.0 FastCGI very quickly. Just do everything in this order: get a Debian 5 (Lenny) 32 bit VPS from a cheap hosting service open a console/terminal window then login to your VPS: # ssh [username]@[ipaddress] (enter password when requested) update the currently installed Debian package: # apt-get update shut down apache then remove it along with its associated packages: # /etc/init.d/apache2 stop # apt-get remove apache2 apache2-doc apache2-mpm-prefork # apt-get remove apache2-utils apache2.2-common download and install lighttpd: # apt-get install lighttpd download this zip file from WebDNA Software Corporation: http://www.webdna.us/download/config/lighttpd-setup-Debian32.zip extract the files/folders and upload them to the server via sftp FileZilla is a very good sftp software program for this purpose add "www-data" (the WebDNA/Lighttpd user) to the "root" group: # usermod -G root www-data set permissions of the /var/www/ folder to "775" recursively: # chmod -R 0775 /var/www restart lighttpd to make it load the new configuration file: # /etc/init.d/lighttpd restart test webdna to make sure it's working: go to http://[ipaddress] to see the default index.dna page The reason I put WebDNA (the "www-data" user on Debian) into the "root" group then changed the permissions on the "/var/www/" folder to 775 is for simplicity. This is the easiest way for me to login and upload files to the server as root without running into any permissions errors. If you don't like this approach you are welcome to configure your server differently. I setup this server at HostVillage.com on a tiny little VPS that offers only 64 MB of memory (burst to 128 MB), 1 GB of disk space, and 50GB of monthly data transfer. I'm sure there are similar hosting packages available elsewhere, but this was the smallest and cheapest I could find at the time. It only costs $2.49 per month ... and I'm trying to prove a point that WebDNA can easily run on the smallest cheapest VPS on the planet. I ran through these step-by-step instructions three times before I posted them here. The last time it took me less than 7 minutes to get WebDNA running -- not bad for such a tiny VPS and the "latest and greatest" WebDNA version 7.0! :) Sincerely, Kenneth Grome P.S. The configuration above is using less than 31 MB of memory. I still have 97+ MB free according to the VPS control panel. I think that's more than many people will ever need, especially on websites that don't use huge db files. --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! (Kenneth Grome 2010)
  2. RE: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! ("Olin Lagon" 2010)
  3. Re: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! (christophe.billiottet@webdna.us 2010)
Thanks Ken for flushing this out. I may have to give it a try. -----Original Message----- From: Kenneth Grome [mailto:kengrome@gmail.com] Sent: Friday, July 02, 2010 1:15 AM To: talk@webdna.us Subject: [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! The goal here is to get WebDNA running on the cheapest VPS available at this time, and to conserve as much disk space and memory as possible since the server has very limited resources. This is not yet a stripped down or optimized server by any means, but here's how you can get started with WebDNA 7.0 FastCGI very quickly. Just do everything in this order: get a Debian 5 (Lenny) 32 bit VPS from a cheap hosting service open a console/terminal window then login to your VPS: # ssh [username]@[ipaddress] (enter password when requested) update the currently installed Debian package: # apt-get update shut down apache then remove it along with its associated packages: # /etc/init.d/apache2 stop # apt-get remove apache2 apache2-doc apache2-mpm-prefork # apt-get remove apache2-utils apache2.2-common download and install lighttpd: # apt-get install lighttpd download this zip file from WebDNA Software Corporation: http://www.webdna.us/download/config/lighttpd-setup-Debian32.zip extract the files/folders and upload them to the server via sftp FileZilla is a very good sftp software program for this purpose add "www-data" (the WebDNA/Lighttpd user) to the "root" group: # usermod -G root www-data set permissions of the /var/www/ folder to "775" recursively: # chmod -R 0775 /var/www restart lighttpd to make it load the new configuration file: # /etc/init.d/lighttpd restart test webdna to make sure it's working: go to http://[ipaddress] to see the default index.dna page The reason I put WebDNA (the "www-data" user on Debian) into the "root" group then changed the permissions on the "/var/www/" folder to 775 is for simplicity. This is the easiest way for me to login and upload files to the server as root without running into any permissions errors. If you don't like this approach you are welcome to configure your server differently. I setup this server at HostVillage.com on a tiny little VPS that offers only 64 MB of memory (burst to 128 MB), 1 GB of disk space, and 50GB of monthly data transfer. I'm sure there are similar hosting packages available elsewhere, but this was the smallest and cheapest I could find at the time. It only costs $2.49 per month ... and I'm trying to prove a point that WebDNA can easily run on the smallest cheapest VPS on the planet. I ran through these step-by-step instructions three times before I posted them here. The last time it took me less than 7 minutes to get WebDNA running -- not bad for such a tiny VPS and the "latest and greatest" WebDNA version 7.0! :) Sincerely, Kenneth Grome P.S. The configuration above is using less than 31 MB of memory. I still have 97+ MB free according to the VPS control panel. I think that's more than many people will ever need, especially on websites that don't use huge db files. --------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: archives: http://mail.webdna.us/list/talk@webdna.us Bug Reporting: support@webdna.us "Olin Lagon"

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:

WebMerchant and Mac Auth Hub Help Please (1999) WebCatalog on Linux (2000) Search in 2 or more catalogs (1997) Extended [ConvertChars] (1997) hiding return characters (2000) WebCat2b13 Mac plugin - [sendmail] and checkboxes (1997) [format] problems (2000) Webcatalog/Butler (1998) Trouble with formula.db + more explanation (1997) WebCatalog 4.0 Users that want to talk to the Media.... (2000) Dreamweaver and WebDNA (2003) Frustration with formulas.db (1999) How to protect embedded images served via WebCatalog (2001) guest book problem (2000) searching twice on same field (1998) searchable list archive (1997) Causes Site to Crash... (2000) no global [username] or [password] displayed ... (1997) Sorry if this is really stupid but.. (2000) [WebDNA] [returnraw] on different platforms. (2008)