the recommended way to install Noosfero for production usage is using the provided
Debian packages on a Debian stable system, following the instructions on HowToInstall
This page contains alternative methods for installing in other systems, and will be of use if you can't or
don't want to use the recommended production setup.
This guide is a compilation of various manuals for different setups. In the source code,
there is a more Debian oriented manual in the file INSTALL.
If you simply want to see Noosfero running or want it to run in a production environment,
take a look at DebianPackage
or others deploy alternatives
But if you want to install Noosfero and understand how it happens
for further modifications and development, then the following
"Source code installation" is the right thing for you.
This guide is intended for advanced users and developers.
1. Get the Code
sudo apt-get install git-core
git clone git://gitorious.org/noosfero/noosfero.git
git checkout stable
More info at GettingStartedWithNoosferoDevelopment
. Prefer the git way to get the code.
Enter the source directory in a shell to run the next steps
Using Debian Squeeze
command in the beggining of the file
, located in the source code you've just downloaded. You may also use
for dependencies installation.
sudo apt-get install ruby rake po4a libgettext-ruby-util libgettext-ruby1.8 libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libwill-paginate-ruby iso-codes libfeedparser-ruby openjdk-6-jre libdaemons-ruby thin tango-icon-theme libhpricot-ruby
You may use a virtual machine
or a chrooted environment.
Using Debian Wheezy (testing)
Similar to Debian Squeeze, but with slight modifications and workarounds for a Rails 2.x based setup. Eventually, for Wheezy a Rails 3.x based Noosfero (currently developed in a separate branch) is going to be recommended.
sudo apt-get -y install ruby po4a libgettext-ruby libsqlite3-ruby rcov librmagick-ruby libredcloth-ruby libfeedparser-ruby libferret-ruby libdaemons-ruby thin tango-icon-theme libhpricot-ruby
sudo apt-get -y install rails
sudo apt-get -y remove ruby1.9.1
sudo apt-get -y install rubygems
sudo gem install will_paginate --no-ri --no-rdoc -v 2.3.16
The differences are: rake and iso-codes are already installed as dependencies; the default Ruby 1.9 in Wheezy needs to be reset to 1.8; will-paginate needs to be installed as a Gem because the version in Wheezy is too new.
Using other Linuxes/Unixes
If you're using any other Unix-like system (be Linux, *BSD or a Mac OS X), follow DepsWithRVMAndGems
Choose one of the options to use as database. You may test
them after configuration using
For development or production, you may use Postgres. Although it is harder
to configure, you get closer to the production environment in your development one.
Due to SQL incompatibilities, since Noosfero 0.43.0, Postgres is the recommended database for development and test environments.
SQLite is a very easy to setup, perfect for the lazy in a development environment. See InstallSQLite
In some rare cases, moving database's data to another DBMS might be useful
4. Populate data
These guides are intended for delivering Noosfero to final users in a production environment.
See the alternatives at Deploy
Read Getting started with Noosfero development
, specially about the