Archives for the 'Software' category

Introducing Passenger

Posted Feb 8 at 09:28 CDT by Daniel in Rails, Software  - 7 comment(s)

Recently, we quietly added an important pair of new apps to our complement of one-click installers based on Phusion Passenger. Passenger’s also known as mod_rails or mod_rack, but in the time I’ve spent playing with it, I’ve come to call it nifty.

Passenger is a module which works with nginx to make it easy to setup and run a wide variety of web applications, but Passenger shines while running Ruby and Ruby on Rails applications. But as you’re about to find out, it’s capable of a lot more.

In the control panel you’ll find two new application types available for installation:

  • Passenger 2.2.8 (nginx 0.7.64/Ruby Enterprise Edition 1.8.7)
  • Rails 2.3.5 (nginx 0.7.64/Passenger 2.2.8/Ruby Enterprise Edition 1.8.7)

The Rails application is a new (and, in many respects, improved) way of setting up your Rails applications; the Passenger application is a more generalized tool for deploying other kinds of applications.

Gems, Rack, and You

One of the great things about both new applications is how easy it is to install Ruby Gems. For example, here’s how I installed Sinatra, a light-weight web application framework:

[ddbeck@web100 ~]$ cd webapps/passenger_app/
[ddbeck@web100 passenger_app]$ export GEM_HOME=$PWD/gems
[ddbeck@web100 passenger_app]$ export PATH=$PWD/bin:$PATH
[ddbeck@web100 passenger_app]$ gem install sinatra
Successfully installed sinatra-0.9.4
1 gem installed
Installing ri documentation for sinatra-0.9.4...
Installing RDoc documentation for sinatra-0.9.4...
[ddbeck@web100 passenger_app]$

Another great feature of Passenger is that it supports the Rack interface which allows Ruby and Ruby frameworks to easily work with web servers. For example, I can use the Sinatra framework I just installed to create a simple web application:

[ddbeck@web100 passenger_app]$ mkdir frank
[ddbeck@web100 passenger_app]$ mkdir frank/public
[ddbeck@web100 passenger_app]$ mkdir frank/tmp
[ddbeck@web100 passenger_app]$ touch frank/config.ru
[ddbeck@web100 passenger_app]$ touch frank/myapp.rb

Then I paste the following code (from Sinatra’s Getting Started guide) into myapp.rb:

require 'rubygems'
require 'sinatra'
get '/' do
  'Hello WebFactioneers!'
end

Next, I put these lines into my config.ru:

require 'rubygems'
require 'sinatra'
require 'myapp'
run Sinatra.application

Finally, I update this line in ~/webapps/passenger_app/nginx/conf/nginx.conf:

root /home/ddbeck/webapps/passenger_app/hello_world/public;

to:

root /home/ddbeck/webapps/passenger_app/frank/public;

and reboot my application with ./bin/restart and voila!

[ddbeck@web100 passenger_app]$ curl ddbeck.webfactional.com
Hello, WebFactioneers!

With the flexibility and other improvements that Passenger provides, we invite you to give the new apps a try. We can’t wait to see what uses you find.

Read the full article and comments


New installers available

Posted Aug 14 at 10:26 CDT by Remi in Django, Drupal, Joomla, Software  - 4 comment(s)

We've just added a bunch of new installers to our control panel:

  • WordPress-2.8.4
  • Joomla-1.5.14
  • Drupal-6.13
  • TurboGears-2.0

These WordPress, Joomla and Drupal releases all fix security issues so upgrading is highly recommended.

Recently we also added mod_wsgi-2.5 and Django-1.1 to our installer.

Enjoy while it's hot!

Read the full article and comments


Latest news

Posted May 28 at 12:17 CDT by Remi in Django, Drupal, Email, General, Memory, Plone, Python, Software, WordPress, Zope  - 8 comment(s)

Here is a quick update on what's been happening lately at WebFaction:

  • New Webmail interface: Squirrelmail served us well for all these years but it was time for something a little more modern. We've setup a new webmail interface (AtMail) at https://atmail.webfaction.com and we'll make it the default at https://webmail.webfaction.com in the near future (we'll still keep Squirrelmail at https://squirrelmail.webfaction.com for people who want to keep using it).

  • New backup system: In the last few weeks we've rolled out a new backup system on all of our CentOS servers. The new system is a lot faster and lighter on the server and as a result the load on the server isn't impacted when it's being backed up.

  • Mail platform improvements: We keep improving our mail platform and we now have better spam detection than ever and we're able to enable new servers within seconds if mail traffic increases.

  • New installers: We regularly add new software or new versions to our one click installers. Lately we added the latest WordPress, Drupal, Django, Plone, Joomla and more.

Read the full article and comments


Installer fiesta: DokuWiki, SimpleLog, Pylons, AWStats

Updated Oct 3 at 06:13 CDT (first posted Oct 2 at 10:59 CDT) by Remi in Software  - 6 comment(s)

We've just added a bunch of new installers to our system:
  • DokuWiki is a "standards compliant, simple to use Wiki". The installer is available from our own Wiki installers page. The DokuWiki website is here.
  • SimpleLog is a "weblog application that helps you focus on writing above all else" written with Ruby on Rails. The installer is available from our own Wiki installers page. The SimpleLog website is here.
  • A new Pylons version (0.9.6.1) has been added to our control panel.
  • A new AWStats version (6.7) has been added to our Wiki installers page.
Enjoy :) Read the full article and comments


TurboGears-1.0.3

Posted Jul 19 at 07:57 CDT by Remi in Software, TurboGears  - 0 comment(s)

Just a quick post to say that we've added TurboGears-1.0.3 to our one-click installer.

This release comes with a lot of new features and according to the release team, "a countless number of bugs perished during the preparation of this release, and we don't feel really sorry for them" :)

Read the full article and comments


WordPress 2.2.1

Posted Jun 26 at 09:02 CDT by Remi in Software, WordPress  - 0 comment(s)

Just a quick post to say that we've just added WordPress-2.2.1 to our one-click installer.

This new version fixes some security issues with the 2.2 version so it is highly recommended to upgrade !

We don't have one-click upgrades yet so you'll have to install a new instance separately and migrate your data. Alternatively you can upgrade your existing code "in place".

Remi. Read the full article and comments


New WordPress-2.2, MoinMoin-1.5.8 and memcached-1.2.1 installers

Posted May 17 at 09:44 CDT by Remi in Software, WordPress  - 3 comment(s)

We've added 3 new installers to our system:

  • The newly released WordPress-2.2 (available from the "app creation" page in the control panel)
  • MoinMoin-1.5.8 (available from our wiki)
  • memcached-1-2.1 (available from our wiki): this installs a running memcached server for you.
Remi. Read the full article and comments


New AWstats installer

Posted May 17 at 08:44 CDT by Remi in Software, Webstats  - 3 comment(s)

We've just added a new one-click installer for AWstats.

Many people consider AWstats a better log analyzer than Webalizer, which was the only analyzer we officially supported until now.

Benefits of the AWstats installer over Webalizer include:

  • Ability to mount the AWstats app on a subdomain or different domain (so you can put your stats on http://stats.domain.com for instance, which wasn't possible with Webalizer)
  • More accurate statistics (AWstats tries to remove all non-human traffic)
  • Faster/more robust parsing of logs

If you switch from Webalizer to AWstats you will probably notice a big drop in your statistics. The reason is detailed in the AWstats FAQ but the main reason is that AWstats doesn't count non-human traffic (robots, worms, ...).

A sample AWstats report can be view here

Remi. Read the full article and comments


Pylons-0.9.5 and Joomla-1.0.12

Posted Apr 13 at 11:13 CDT by Remi in Joomla, Python, Software  - 0 comment(s)

We've added the brand new Pylons-0.9.5 to our one-click installer.

Also, since Joomla-1.5-beta has a few bugs we've added the more stable Joomla-1.0.12 to our install scripts (http://wiki.webfaction.com/wiki/InstallScripts).


Remi. Read the full article and comments


Django-0.96, Zope-2.9.7, MySQLdb-1.2.2

Posted Mar 28 at 03:54 CDT by Remi in Django, MySql, Software, Zope  - 4 comment(s)

We've just added Django-0.96 and Zope-2.9.7 to our control panel. Since Django-0.96 required a newer version of MySQLdb we've upgrade MySQLdb to 1.2.2 on all servers.

If you have an existing Django app and wish to upgrade the recommended way is to manually replace the django module in $HOME/lib/python2.4 as described here.

A security hole has been found in earlier versions of Zope so it is highly recommended to upgrade to this latest Zope version. The procedure to upgrade is described here.

Remi. Read the full article and comments


WordPress 2.1.2

Posted Mar 3 at 13:22 CDT by Remi in General, Software  - 5 comment(s)

Just a quick post to say that we've just added WordPress-2.1.2 to our one-click installer.

This new version fixes some security issues with the 2.1.1 version (the tarball had been compromised) so it is highly recommended to upgrade !

We don't have one-click upgrades yet so you'll have to install a new instance separately and migrate your data. Alternatively you can upgrade your existing code "in place".

Remi. Read the full article and comments


WordPress 2.0.9 and 2.1.1

Posted Feb 21 at 09:56 CDT by Remi in Software, WordPress  - 0 comment(s)

Just a quick post to say that we've just added WordPress-2.1.1 and 2.0.9 to our one-click installer.

These new versions fix some security issues so it is highly recommended to ugprade if you're running an older version. Unfortunately we don't have one-click upgrades yet so you'll have to install a new instance separately and migrate your data. Alternatively you can upgrade your existing code "in place".


Remi. Read the full article and comments


Drupal and Joomla screencast

Updated Feb 19 at 05:50 CDT (first posted Feb 7 at 08:23 CDT) by Remi in Drupal, Joomla, Screencast, Software  - 12 comment(s)

We have just released a new screencast showing how to install Drupal and Joomla using our one-click installers. Check it out here.

Read the full article and comments


WordPress-2.1

Posted Jan 25 at 08:07 CDT by Remi in Software, WordPress  - 1 comment(s)

Just a quick post to say that we've just added WordPress-2.1 to our control panel.


Remi. Read the full article and comments


Django-0.95.1, Zope-2.10.1, Plone-2.5.2-1

Updated Feb 9 at 04:21 CDT (first posted Jan 22 at 08:05 CDT) by Remi in Django, Plone, Software, Zope  - 4 comment(s)

We've just added Django-0.95.1 and Zope-2.10.1 with Plone-2.5.2-1 to our control panel.

Note that if you have an existing Django app and wish to upgrade the recommended way is to manually replace the django module in $HOME/lib/python2.4 as described in the forum.

This is because right now you can't use the one-click installer to install two different Django versions (because they both reside in the same $HOME/lib/python2.4 directory). If you want to run two different Django versions you have to install one of them manually as a custom app

Update: Since Plone-2.5.2-1 is not compatible with Zope-2.10.1 we reverted back to Zope-2.9.6 for now.

Remi. Read the full article and comments


Rails-1.2

Posted Jan 19 at 09:08 CDT by Remi in Rails, Software  - 0 comment(s)

Just a quick post to say that we've added Rails-1.2.1 to our control panel.

Hopefully that was quick enough ;)

Remi. Read the full article and comments


Recent changes (2007-01-16)

Posted Jan 16 at 08:45 CDT by Remi in API, General, Software  - 2 comment(s)

Some recent changes at WebFaction:

- WordPress-2.0.7 has been added in the control panel. If you're running 2.0.4 it is recommend to upgrade since some vulnerabilities have been found.

- New API methods (requested by people) have been added. Check the API forum for details.

- register_globals for PHP apps is now off by default, which is safer. If you want to turn it on you can do so by using a .htaccess file with "php_flag register_globals On" in it.

Remi. Read the full article and comments


TurboGears-1.0, CherryPy-3.0.0 and Pylons-0.9.4

Posted Jan 5 at 09:42 CDT by Remi in Python, Software, TurboGears  - 0 comment(s)

Less than 48 hours after its release we've added TurboGears-1.0 to our one-click installer.

We've also added CherryPy-3.0.0 and Pylons-0.9.4.

Remi. Read the full article and comments


WebDAV and SPF

Posted Dec 27 at 05:50 CDT by Remi in General, Software  - 4 comment(s)

We've added two new features that were requested by quite a few people:

  • WebDAV: There is now a new "WebDAV" application type on the app creation page. This allows you to exposed one of your directories as a WebDAV folder. The folder will be available at the URL where you mount the application.
  • SPF (Sender Policy Framework): There is now a new "SPF record" field on the DNS overrides page. This allows you to enter an SPF record for a particular subdomain ("v=spf1 a:mail1.webfaction.com ?all" for instance)

Keep requesting new features to keep us on our toes :)

Remi. Read the full article and comments


MoinMoin and Mephisto custom install scripts

Updated Dec 29 at 10:40 CDT (first posted Dec 13 at 09:36 CDT) by Remi in API, Python, Rails, Software  - 2 comment(s)

Only a few days since we released our API and people have already contributed some custom install scripts :)

Thanks a lot to Jorge Vargas and David Sissitka for writing the install scripts for MoinMoin-1.5.6 and Mephisto-0.7.3

I look forward to a lot more install scripts !

The install scripts can be found in our Wiki

Remi. Read the full article and comments


TurboGears-1.0b1 is here

Updated Nov 15 at 02:43 CDT (first posted Nov 14 at 09:57 CDT) by Remi in General, Software, TurboGears  - 2 comment(s)

Since TurboGears-1.0-final might still take a while we've added TurboGears-1.0b1 to our control panel.

Note that if you ever installed a previous version of TurboGears you need to manually delete the eggs from $HOME/lib/python2.4 and the scripts from $HOME/bin before installing a TurboGears-1.0b1 app from the control panel.

Remi. Read the full article and comments


Pylons support

Updated Dec 29 at 09:35 CDT (first posted Oct 16 at 12:38 CDT) by Remi in General, Python, Software  - 0 comment(s)

Here is some good news for Pylons users: we've just added Pylons to our one-click installer :)

For each Pylons account that we host we give 50% of our profit back to the Pylons community.

Pylons is another great web framework for python. More details on the Pylons website.

Read the full article and comments


Trac-0.10, Zope-2.9.5, Plone-2.5.1

Posted Oct 4 at 10:24 CDT by Remi in General, Software  - 4 comment(s)

We've added Trac-0.10 to our control panel. Note that if you have an existing Trac-0.9 instance and which to upgrade you first need to delete the $HOME/lib/python2.4/trac directory before adding the new Trac-0.10 app from our control panel. Instructions on how to upgrade can be found at http://trac.edgewall.org/wiki/TracUpgrade

We've also added Zope-2.9.5 and Plone-2.5.1 to our control panel. Note that a security hole has been found in Plone-2.5 so it is recommended to upgrade to 2.5.1 ASAP. Instructions on how to upgrade can be found at http://forum.webfaction.com/viewtopic.php?id=15.

Remi. Read the full article and comments


Debugging tips for your CGI scripts

Updated Dec 29 at 09:34 CDT (first posted Sep 21 at 05:05 CDT) by Remi in CGI script, FAQ, Help, Python, Software  - 19 comment(s)

Read the full article and comments


Python-2.5 is here !

Posted Sep 20 at 08:39 CDT by Remi in General, Software  - 1 comment(s)

Python-2.5 was released less than 24 hours ago and we've already installed it on all of our servers. Now you can just type "python2.5" and start playing with the new with statement, the built-in sqlite3 database module or the new ElementTree module :)

Beware that some python frameworks are not yet 100% compatible with python-2.5 (it's probably only a matter of days before they catch up though)

Remi. Read the full article and comments


Custom application FAQ

Updated Mar 12 at 09:04 CDT (first posted Sep 11 at 04:08 CDT) by Remi in FAQ, Help, Software  - 0 comment(s)

Moved to https://help.webfaction.com/index.php?_m=knowledgebase&_a=view&parentcategoryid=26&pcid=0&nav=0

Read the full article and comments


Django-0.95, Zope-2.9.4, Plone-2.5, Mongrel for Rails

Updated Dec 29 at 09:34 CDT (first posted Jul 31 at 05:15 CDT) by Remi in Django, General, Plone, Python, Rails, Software, Zope  - 1 comment(s)

Just a quick update on what's been happening lately:
  • Django-0.95 is already in our one-click installer, less than 24 hours after its release !
  • Zope-2.9.4 and Plone-2.5 are also in there now
  • All new Rails application are now setup to run with Mongrel by default (much faster than WEBrick)
Read the full article and comments


ProxyPreserveHost

Posted Jun 22 at 03:59 CDT by Remi in General, Software  - 0 comment(s)

We just added ProxyPreserveHost on to all of our VirtualHost sections.

This means that all sites running behind Apache with mod_rewrite (Rails, Django, TurboGears, CherryPy, ...) don't need to read the X-Forwarded-Host header anymore since the Host header is now preserved.

This also means that it will now be easier than ever to host multiple Django applications within one Django instance (just use multiple VirtualHost sections in your httpd.conf file.

Remi. Read the full article and comments