Wei Zhou
4a77a79949
CLOUDSTACK-9462: Build packages on Ubuntu 14.04/16.04 and support tomcat6/tomcat7
...
Changes
(1) add systemd support in debian/control and debian/rules for 16.04
(2) add python-setuptools in Build-Depends in debian/control
(3) seperate cloudstack-management.service and cloudstack-management.default for CentOS7 and Ubuntu 16.04
(4) add server7-ssl.xml and server7-nonssl.xml in management installation
(5) link /usr/share/cloudstack-management/lib and /usr/share/cloudstack-management/bin to correct path (tomcat6 or tomcat7)
(6) link /etc/cloudstack/management/server.xml to correct file path (server-nonssl.xml or server7-nonssl.xml)
(7) remove *.zip from .gitignore to avoid build error caused by missing /vhds/test.vhd.zip
Instruction
(1) build packages on Ubuntu 16.04: dpkg-buildpackage -uc -us
Output on Ubuntu 16.04:
-rw-r--r-- 1 root root 4090 Feb 17 10:12 cloudstack_4.10.0.0-SNAPSHOT_amd64.changes
-rw-r--r-- 1 root root 1235 Feb 17 09:53 cloudstack_4.10.0.0-SNAPSHOT.dsc
-rw-r--r-- 1 root root 8018248 Feb 17 09:53 cloudstack_4.10.0.0-SNAPSHOT.tar.xz
-rw-r--r-- 1 root root 91868746 Feb 17 10:11 cloudstack-agent_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 52882 Feb 17 10:12 cloudstack-cli_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 98556216 Feb 17 10:08 cloudstack-common_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 52864 Feb 17 10:12 cloudstack-docs_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 585434 Feb 17 10:12 cloudstack-integration-tests_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 323459934 Feb 17 10:10 cloudstack-management_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 442656 Feb 17 10:12 cloudstack-marvin_4.10.0.0-SNAPSHOT_all.deb
-rw-r--r-- 1 root root 87037576 Feb 17 10:12 cloudstack-usage_4.10.0.0-SNAPSHOT_all.deb
(2) setup tomcat6/tomcat7 on management server:
tomcat6: cloudstack-setup-management --tomcat6
tomcat7: cloudstack-setup-management --tomcat7
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2017-04-07 18:41:24 +05:30
Milamber
6051fa503a
Fix a little issue from PR1610 if the db.properties file hasn't EOL character at the end of file
...
And some improvements about the dir/file using variables
2016-08-30 08:29:06 +01:00
Wido den Hollander
343ea6098e
packaging: Add db.X.driver=jdbc:mysql to db.properties on upgrade
...
This is required afther the upgrade to 4.9.0 and for convience we
add this to the configuration so our users do not have to.
2016-07-12 10:13:23 +02:00
Felix Geyer
b77198def5
Use invoke-rc.d instead of service to stop tomcat.
...
Debian policy requires that invoke-rc.d is used.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:39:54 +01:00
Felix Geyer
71b42e266f
Use /bin/sh and set -e uniformly in maintainer scripts.
...
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:53 +01:00
Felix Geyer
6ce9729580
Add DEBHELPER tokens to maintainer script.
...
dh_* tools insert their scripts there.
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2015-03-05 14:35:53 +01:00
Rohit Yadav
b9f705f238
debian: remove old cache after upgrade
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
(cherry picked from commit d4ead2c72a )
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2015-02-07 01:39:43 +05:30
Rohit Yadav
4179ccbf55
debian: stop tomcat6 after installing cloudstack-management
...
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
2014-09-12 17:34:44 +02:00
Wei Zhou
57ba367f3c
CLOUDSTACK-5042: change cloud.keystore to cloudmanagementserver.keystore and install it (cherry picked from commit de448ec479)
2013-11-08 09:00:29 +01:00
Wido den Hollander
a773ed88b7
debian: Management server packaging fixes
...
We should be carefull what we package since all configuration should
be in /etc/cloudstack/management
Signed-off-by: Wido den Hollander <wido@widodh.nl>
2013-04-05 16:13:42 +02:00
Wido den Hollander
d80d8d8a67
Remove db-enc.properties
...
This seemed to be used with Ant, but there is no other reference to this file.
It shouldn't be here and isn't used. It only confuses people.
2013-04-04 08:51:38 +02:00
Wido den Hollander
44a0facd38
debian: Copy management server configuration from old location
...
Signed-off-by: Wido den Hollander <wido@42on.com>
2013-03-31 14:16:31 +02:00
Brian Spindler
ae3a048350
CLOUDSTACK-1736: Changes required to get cloudstack-management service
...
working again.
The newly created package for cloudstack-management was not correctly
installing the service. This prevented cloud-setup-management from being
able to configure the service, and the init script didn't even believe
the service was installed. I also added sudo to the chmod command for
checking script permissions, as most scripts belong to root. It was
trying to configure the agent with cloudstack-setup-agent but the script
was still called cloud-setup-agent, so I renamed it to cloudstack-setup-agent.
2013-03-25 17:23:18 +00:00
Wido den Hollander
aee6fc3bce
debian: Copy the contents of the old ~cloud directory to the new location
2013-03-12 14:26:10 +01:00
Wido den Hollander
579b02756f
debian: Change the homedir of the user 'cloud'
2013-03-05 16:10:38 +01:00
Noa Resare
2f135be15f
CLOUDSTACK-1415: Debian & Ubuntu packaging work
...
Some concepts included:
* the replace.properties location used by maven is parameterized to allow
for a build that does not modify the currently git tracked files
* package naming is updated along the lines of what was discussed on the
-dev mailing list and between committers at the Build a Cloud Day in Belgi
* package version pattern is updated (since we redo all package names,
we might as well drop the epoch)
2013-02-27 15:44:46 +00:00