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/