renemoser.net

more or less a tech blog
  • Home
  • Contact
  • Projects

Installing Flux CMS on Debian Sarge

Posted by resmo on June 19, 2006 02:52 pm under GNU/Linux, OSS, PHP

Update 1

As a reslut of the release 1.4 of Flux CMS I updated this little howto:

Installing Flux-CMS [1] is quite easy, because there’s in installer. But what is all needed and how get that on a Debian Sarge? It’s not that difficult either, but i will show you as a short how-to:

First of all become root with

su

get the newer libxml2 from testing

wget ftp://mirror.switch.ch/mirror/debian/pool/main/libx/libxml2/libxml2-dbg_2.6.26.dfsg-1_i386.deb
and install it

dpkg -i libxml2-dbg_2.6.26.dfsg-1_i386.deb

and install PHP 5 and MYSQL 5 from the Backports.org Repository, add this line

deb http://www.backports.org/debian/ sarge-backports main

to your /etc/apt/sources.list and these lines

Package: *
Pin: release a=sarge-backports
Pin-Priority: 200

to your /etc/apt/preferences (when this file is missing, create it)

then

aptitude -t sarge-backports install subversion php5 php5-xsl apache2 mysql-server-5.0

if it is done create a new directory in the webserver’s root:

mkdir /var/www/flux-cms && cd /var/www/flux-cms
Then we can checkout by using subversion from the stable branch or development branch. You normally want stable:

svn co https://svn.bitflux.ch/repos/public/fluxcms_demo/branches/1_4/ ./

This may take a while…When it’s done, we’re going to configure apache2:

a2enmod rewrite

then copy the default site config like this

cp /etc/apache2/sites-available/default /etc/apache2/sites-available/flux-cms

and edit with your favorite editor

nano -w /etc/apache2/sites-available/flux-cms

Change the following lines

ServerName localhost
DocumentRoot /var/www/default/
Directory /var/www/devault/
AllowOverride None

to this

ServerName flux.localhost
DocumentRoot /var/www/flux-cms/
Directory /var/www/flux-cms/
AllowOverride All

then we’re enabling this site

a2ensite flux-cms && /etc/init.rd/apache2 restart

then you can point your browser to

http://flux.localhost

and you should see the installer and it should tell you, that the directory is not writeable…so let him write

chmod 0777 /var/www/flux-cms

(change that back to chmod 0755 /var/www/fluxcms after installing is done)

please leave a comment, if something sould be missing or if it works out of the box. thx

[1] http://www.flux-cms.org/

1 Comment so far

  1. chregu on June 19th, 2006

    you can safely use the 1_4 branch nowadays :)

    And which llibxml2 version is installed then? ’cause some have issues. See also http://devblog.flux-cms.org/archive/2006/06/18/about-using-the-right-versions-php-and-libxml2.html for more info

Posting your comment.

  • Search

  • Archives

    • August 2010 (1)
    • May 2010 (1)
    • April 2010 (3)
    • February 2010 (2)
    • January 2010 (3)
    • December 2009 (1)
    • November 2009 (3)
    • October 2009 (2)
    • September 2009 (3)
    • August 2009 (4)
    • July 2009 (12)
    • June 2009 (5)
    • May 2009 (6)
    • April 2009 (3)
    • March 2009 (4)
    • February 2009 (5)
    • January 2009 (10)
    • December 2008 (14)
    • November 2008 (8)
    • October 2008 (10)
    • September 2008 (11)
    • August 2008 (7)
    • July 2008 (13)
    • June 2008 (6)
    • April 2008 (5)
    • February 2008 (3)
    • January 2008 (4)
    • December 2007 (1)
    • November 2007 (3)
    • October 2007 (5)
    • September 2007 (4)
    • July 2007 (1)
    • June 2007 (8)
    • May 2007 (8)
    • April 2007 (3)
    • March 2007 (2)
    • February 2007 (3)
    • January 2007 (1)
    • December 2006 (6)
    • November 2006 (2)
    • September 2006 (4)
    • August 2006 (6)
    • July 2006 (3)
    • June 2006 (5)
    • May 2006 (5)
    • April 2006 (2)
    • March 2006 (11)
    • February 2006 (2)
    • January 2006 (9)
    • December 2005 (10)
    • November 2005 (13)
    • October 2005 (13)
    • September 2005 (13)
    • August 2005 (16)
    • July 2005 (3)
    • June 2005 (4)
    • May 2005 (6)
    • April 2005 (9)
  • Categories

    • GNU/Linux (90)
    • Innovationen (14)
    • Java (55)
    • Networking (54)
    • OSS (185)
    • PHP (39)
    • Security (53)
    • Studium (14)
    • Uncategorized (1)
    • Unkategorisiert (82)
    • Unterwegs (18)
    • Web (4)
  • Tags

    android antivir backup bittorrent chaos radio express cre dns dnsbl eclipse events firewall flash framework fun git github gnupg iphone Java javascript junit ldap linux m0n0wall mac maven monitoring mvc nagios perl PHP podcast proxy server rss scm script snippet spring svn ubuntu video virus vmware web 2.0 web server

  • Pages

    • Contact
    • Projects

Copyright © 2010 renemoser.net
WordPress Theme . Design modified by rene moser