[pve-devel] r5939 - in dab-pve-appliances/trunk: . debian-6.0-joomla

svn-commits at proxmox.com svn-commits at proxmox.com
Mon May 9 11:51:43 CEST 2011


Author: dietmar
Date: 2011-05-09 11:51:43 +0200 (Mon, 09 May 2011)
New Revision: 5939

Added:
   dab-pve-appliances/trunk/debian-6.0-joomla/
   dab-pve-appliances/trunk/debian-6.0-joomla/Joomla_1.6.3-Stable-Full_Package.tar.gz
   dab-pve-appliances/trunk/debian-6.0-joomla/Makefile
   dab-pve-appliances/trunk/debian-6.0-joomla/dab.conf
   dab-pve-appliances/trunk/debian-6.0-joomla/joomla.conf
Log:


Added: dab-pve-appliances/trunk/debian-6.0-joomla/Joomla_1.6.3-Stable-Full_Package.tar.gz
===================================================================
(Binary files differ)


Property changes on: dab-pve-appliances/trunk/debian-6.0-joomla/Joomla_1.6.3-Stable-Full_Package.tar.gz
___________________________________________________________________
Added: svn:mime-type
   + application/octet-stream

Added: dab-pve-appliances/trunk/debian-6.0-joomla/Makefile
===================================================================
--- dab-pve-appliances/trunk/debian-6.0-joomla/Makefile	                        (rev 0)
+++ dab-pve-appliances/trunk/debian-6.0-joomla/Makefile	2011-05-09 09:51:43 UTC (rev 5939)
@@ -0,0 +1,37 @@
+
+
+BASEDIR:=$(shell dab basedir)
+
+all: info/init_ok
+	dab bootstrap
+	dab task mysql --password admin
+	dab install apache2-mpm-prefork apache2
+	dab task php
+	sed -e 's/^\s*display_errors\s*=\s*On/display_errors = Off/' -i ${BASEDIR}/etc/php5/apache2/php.ini
+	sed -e 's/^\s*output_buffering\s*=\s*4096/output_buffering = off/' -i ${BASEDIR}/etc/php5/apache2/php.ini
+	dab install php5-mysql
+	mkdir ${BASEDIR}/var/www/joomla
+	tar -xzf Joomla_1.6.3-Stable-Full_Package.tar.gz -C ${BASEDIR}/var/www/joomla
+	touch ${BASEDIR}/var/www/joomla/configuration.php
+	find ${BASEDIR}/var/www/joomla -type f -exec chmod 644 \{\} \;
+	find ${BASEDIR}/var/www/joomla -type d -exec chmod 755 \{\} \;
+	dab exec chown -R www-data.www-data /var/www/joomla
+	install -m 0644 joomla.conf ${BASEDIR}/etc/apache2/sites-available/joomla
+	dab exec a2enmod rewrite
+	dab exec a2dissite default
+	dab exec a2ensite joomla
+	dab finalize
+
+info/init_ok: dab.conf
+	dab init
+	touch $@
+
+.PHONY: clean
+clean:
+	dab clean
+	rm -f *~
+
+.PHONY: dist-clean
+dist-clean:
+	dab dist-clean
+	rm -f *~

Added: dab-pve-appliances/trunk/debian-6.0-joomla/dab.conf
===================================================================
--- dab-pve-appliances/trunk/debian-6.0-joomla/dab.conf	                        (rev 0)
+++ dab-pve-appliances/trunk/debian-6.0-joomla/dab.conf	2011-05-09 09:51:43 UTC (rev 5939)
@@ -0,0 +1,17 @@
+Suite: squeeze
+CacheDir: ../cache
+#Source: http://ftp.debian.org/debian SUITE main contrib
+#Source: http://ftp.debian.org/debian SUITE-updates main contrib
+#Source: http://security.debian.org SUITE/updates main contrib
+Architecture: i386
+Name: joomla
+Version: 1.6-3
+Section: www
+Maintainer: Proxmox Support Team <support at proxmox.com>
+Infopage: http://pve.proxmox.com/wiki/Joomla!
+ManageUrl: http://__IPADDRESS__/
+Description: Joomla! Content Management
+ Joomla! is one of the most powerful Open Source Content Management 
+ Systems on the planet. It is used all over the world for everything from 
+ simple websites to complex corporate applications. Joomla! is easy to 
+ install, simple to manage, and reliable.

Added: dab-pve-appliances/trunk/debian-6.0-joomla/joomla.conf
===================================================================
--- dab-pve-appliances/trunk/debian-6.0-joomla/joomla.conf	                        (rev 0)
+++ dab-pve-appliances/trunk/debian-6.0-joomla/joomla.conf	2011-05-09 09:51:43 UTC (rev 5939)
@@ -0,0 +1,37 @@
+ServerAdmin webmaster at localhost
+ServerSignature Off
+ServerTokens Prod
+
+<IfModule mpm_prefork_module>
+    StartServers 2
+    MinSpareServers 1 
+    MaxSpareServers 2
+    MaxClients          50
+    MaxRequestsPerChild 100
+</IfModule>
+
+<VirtualHost *:80>
+
+DocumentRoot /var/www/joomla
+
+<Directory />
+        Options FollowSymLinks
+        AllowOverride None
+</Directory>
+
+<Directory /var/www/joomla>
+        Options FollowSymLinks MultiViews
+        AllowOverride None
+        Order allow,deny
+        allow from all
+</Directory>
+
+ErrorLog /var/log/apache2/error.log
+
+# Possible values include: debug, info, notice, warn, error, crit,
+# alert, emerg.
+LogLevel warn
+
+CustomLog /var/log/apache2/access.log combined
+
+</VirtualHost>




More information about the pve-devel mailing list