Install Steps

Attention: 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.

Manual installation

This guide is intended for advanced users and developers.

1. Get the Code

sudo apt-get install git-core
git clone https://gitlab.com/noosfero/noosfero.git
cd noosfero
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

2. Dependencies

Using Debian Squeeze

See the apt-get install command in the beggining of the file INSTALL, located in the source code you've just downloaded. You may also use scripts/quick-start 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 to install Debian Stable.

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

3. Database

Choose one of the options to use as database. You may test them after configuration using script/dbconsole

Postgres

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.

See PostgreSQL.

SQLite

Warning Due to SQL incompatibilities, since Noosfero 0.43.0, Postgres is the recommended database for development and test environments.

Deprecated 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

See InstallData.

5. Servers

See InstallServers.

Deploy installation

These guides are intended for delivering Noosfero to final users in a production environment.

See the alternatives at Deploy.

Developer installation

Will be far more easy to play with Noosfero development if you use a environment build to do it, as you build a environment specific for deploy.

Most of us uses schroot environments (a GNU/Linux inside a GNU/Linux). You must to try it, if you are a GNU/Linux user, or get some tips on that topic to build a virtual machine.

Video tutorials

References

Read Getting started with Noosfero development, specially about the quick-start and sample-data scripts.

Add comment
You need to login to be able to comment.
 
Topic revision: r25 - 26 Apr 2014 - 00:33:18 - AurelioAHeckert

irc Talk with Devs Now!

 
Translations: English
Search on Docs:
   
ActionItem Search:

Copyright © 2007-2014 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres