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

This WebDNA talk-list message is from

2010


It keeps the original formatting.
numero = 105443
interpreted = N
texte = 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. 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)
  4. [WebDNA] Cheap tiny VPS running WebDNA 7.0 FastCGI !!! (Kenneth Grome 2010)
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. Kenneth Grome

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:

Search in 2 or more catalogs (1997) For those of you not on the WebCatalog Beta... (1997) PayPal WebMerchant Templates (2006) WebCat2b13MacPlugIn - [include] (1997) Anyone ever have this email problem? (2004) Siteedit (1999) [search] sort problem (2003) Time for a hard questions. (1997) Re:FYI: Error message (1996) [AppendFile] problem (WebCat2b13 Mac .acgi) (1997) [WebDNA] [Orderfile] problem (2009) Search returns all, not 20 (1997) emailer w/F2 (1997) RE: Cart Template (1997) Nested search index (2000) Weird problems with [SHOWIF]s (1997) possible, WebCat2.0 and checkboxes-restated (1997) Frames and WebCat (1997) Before I Can Begin . . . (1998) Parse question (2005)