[pve-devel] r5940 - in dab-pve-appliances/trunk: . debian-6.0-sugarcrm
svn-commits at proxmox.com
svn-commits at proxmox.com
Mon May 9 11:53:16 CEST 2011
Author: dietmar
Date: 2011-05-09 11:53:16 +0200 (Mon, 09 May 2011)
New Revision: 5940
Added:
dab-pve-appliances/trunk/debian-6.0-sugarcrm/
dab-pve-appliances/trunk/debian-6.0-sugarcrm/Makefile
dab-pve-appliances/trunk/debian-6.0-sugarcrm/SugarCE-6.1.4.zip
dab-pve-appliances/trunk/debian-6.0-sugarcrm/dab.conf
dab-pve-appliances/trunk/debian-6.0-sugarcrm/sugarcrm.conf
Log:
Added: dab-pve-appliances/trunk/debian-6.0-sugarcrm/Makefile
===================================================================
--- dab-pve-appliances/trunk/debian-6.0-sugarcrm/Makefile (rev 0)
+++ dab-pve-appliances/trunk/debian-6.0-sugarcrm/Makefile 2011-05-09 09:53:16 UTC (rev 5940)
@@ -0,0 +1,37 @@
+
+
+BASEDIR:=$(shell dab basedir)
+
+all: info/init_ok
+ dab bootstrap
+ dab task mysql --password admin
+ dab install apache2-mpm-prefork
+ dab task php --memlimit=64
+ sed -e 's/^\s*display_errors\s*=\s*On/display_errors = Off/' -i ${BASEDIR}/etc/php5/apache2/php.ini
+ # set php upload filesize limit
+ sed -e 's/^\s*upload_max_filesize\s*=\s*2M/upload_max_filesize = 30M/' -i ${BASEDIR}/etc/php5/apache2/php.ini
+ dab install php5-mysql php5-imap php5-curl
+ unzip -q SugarCE-6.1.4.zip -d ${BASEDIR}/var/www/
+ mv ${BASEDIR}/var/www/SugarCE-Full-6.1.4/ ${BASEDIR}/var/www/sugarcrm
+ find ${BASEDIR}/var/www/sugarcrm -type f -exec chmod 644 \{\} \;
+ find ${BASEDIR}/var/www/sugarcrm -type d -exec chmod 755 \{\} \;
+ dab exec chown -R www-data.www-data /var/www/sugarcrm
+ install -m 0644 sugarcrm.conf ${BASEDIR}/etc/apache2/sites-available/sugarcrm
+ dab exec a2enmod rewrite
+ dab exec a2dissite default
+ dab exec a2ensite sugarcrm
+ 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-sugarcrm/SugarCE-6.1.4.zip
===================================================================
(Binary files differ)
Property changes on: dab-pve-appliances/trunk/debian-6.0-sugarcrm/SugarCE-6.1.4.zip
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: dab-pve-appliances/trunk/debian-6.0-sugarcrm/dab.conf
===================================================================
--- dab-pve-appliances/trunk/debian-6.0-sugarcrm/dab.conf (rev 0)
+++ dab-pve-appliances/trunk/debian-6.0-sugarcrm/dab.conf 2011-05-09 09:53:16 UTC (rev 5940)
@@ -0,0 +1,14 @@
+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: sugarcrm
+Version: 6.1.4-1
+Section: www
+Maintainer: Proxmox Support Team <support at proxmox.com>
+Infopage: http://pve.proxmox.com/wiki/SugarCRM
+ManageUrl: http://__IPADDRESS__/
+Description: SugarCRM customer relationship management
+ SugarCRM is the world's leading provider of commercial open source customer relationship management (CRM) software for companies of all sizes. Sugar easily adapts to any business environment by offering a more flexible, cost-effective alternative than proprietary applications. SugarCRM's open source architecture allows companies to more easily customize and integrate customer-facing business processes in order to build and maintain more profitable relationships.
Added: dab-pve-appliances/trunk/debian-6.0-sugarcrm/sugarcrm.conf
===================================================================
--- dab-pve-appliances/trunk/debian-6.0-sugarcrm/sugarcrm.conf (rev 0)
+++ dab-pve-appliances/trunk/debian-6.0-sugarcrm/sugarcrm.conf 2011-05-09 09:53:16 UTC (rev 5940)
@@ -0,0 +1,44 @@
+ServerAdmin webmaster at loalhost
+ServerSignature Off
+ServerTokens Prod
+
+AddDefaultCharset UTF-8
+
+<IfModule mpm_prefork_module>
+ StartServers 2
+ MinSpareServers 1
+ MaxSpareServers 2
+ MaxClients 50
+ MaxRequestsPerChild 100
+</IfModule>
+
+<VirtualHost *:80>
+
+DocumentRoot /var/www
+
+<Directory />
+ Options FollowSymLinks
+ AllowOverride None
+</Directory>
+
+<Directory /var/www/>
+ Options FollowSymLinks MultiViews
+ AllowOverride None
+ Order allow,deny
+ allow from all
+ RedirectMatch ^/$ /sugarcrm/
+</Directory>
+
+<Directory /var/www/sugarcrm>
+ AllowOverride 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