Important notice
Since
Noosfero 0.36.0, the Debian packages are developed for,
and tested on,
Debian GNU/Linux stable (currently Debian 6.0, codename Squeeze).
In special, Noosfero currently requires Rails version 2.3.5, which is the version shipped
with Debian Squeeze.
If you try to install this package on other Debian-based systems, it may work if you have
Rails 2.3.5 installed, but it can also melt down your CPU, eat your hard drives, steal
your wallet and crap on your kitchen. Use at your own risk.
The Noosfero Debian repository does not includes the
tango icon theme package anymore
because this package has moved into the main section on Squeeze.
If you have any questions, ask on the
mailing lists or on
IRC (Freenode: #noosfero for English, #noosfero-br for Portuguese).
Installation
Add the following line to your
/etc/apt/sources.list:
deb http://download.noosfero.org/debian/squeeze ./
Run the following command to add our archive signing key to your APT security database:
$ wget -O - http://download.noosfero.org/debian/signing-key.asc | sudo apt-key add -
Update your packages lists:
$ sudo apt-get update
Install Noosfero:
$ sudo apt-get install noosfero noosfero-apache
Attention: Noosfero
0.35.3, is the last version that requires Rails 2.1.0 and works on Debian 5 (lenny). To obtain it, add the following line to your
/etc/apt/sources.list instead of the one above: deb
http://download.noosfero.org/debian/lenny ./
Converting a manual installation to a Debian package installation
If you already have an installation of Noosfero which was made by following the instructions in the distributed
INSTALL file, this section describes how to migrate to a Debian package-based installation.
The migration must be done to the same version of the current installation, so you must first upgrade your manual installation to the same version of the Debian packages you wish to install. To do that, follow the instructions in the
INSTALL file.
After your manual installation is running the latest Noosfero version, follow the following steps to migrate from it to a Debian package-based installation:
- Stop Noosfero
- invoke-rc.d noosfero stop
- Unlink /etc/init.d/noosfero
- unlink /etc/init.d/noosfero
- Unlink /etc/logrotate.d/noosfero
- unlink /etc/logrotate.d/noosfero
- Install the following packages noosfero and noosfero-apache
- apt-get install noosfero noosfero-apache
- Stop Noosfero
- invoke-rc.d noosfero stop
- Create a dump of noosfero_production and populate the database noosfero
- Move the following folders from the old installation to the new one
- mv public/articles/* /var/lib/noosfero-data/public/articles/
- mv public/thumbnails/* /var/lib/noosfero-data/public/thumbnails/
- mv public/images/[0-9]* /var/lib/noosfero-data/public/image_uploads/
- mv index/* /var/lib/noosfero-data/index/
- If varnish is in use
- change port number from 80 to 8080 at /etc/apache2/sites-available/noosfero
- correct include path at /etc/varnish/default.vcl file to /etc/noosfero/varnish-accept-language.vcl
- Change noosfero home to /usr/share/noosfero
- usermod -d /usr/share/noosfero/ noosfero
- Start noosfero
- invoke-rc.d noosfero start
If you have any questions, ask on the
mailing lists or on IRC.