Skip to content

Commit c931531

Browse files
Update commands and added Debian sections
1 parent 0ee2341 commit c931531

File tree

3 files changed

+50
-15
lines changed

3 files changed

+50
-15
lines changed

source/installguide/management-server/_pkg_install.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ Install on SUSE
4646
4747
zypper install cloudstack-management
4848
49-
Install on Ubuntu
50-
^^^^^^^^^^^^^^^^^
49+
Install on Ubuntu/Debian
50+
^^^^^^^^^^^^^^^^^^^^^^^^
5151

5252
.. parsed-literal::
5353

source/installguide/management-server/_pkg_repo.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ Now you should now be able to install CloudStack using zypper.
8888
DEB package repository
8989
~~~~~~~~~~~~~~~~~~~~~~
9090

91+
In Ubuntu:
92+
9193
You can add a DEB package repository to your apt sources with the
9294
following commands. Replace the code name with your Ubuntu LTS version :
9395
Ubuntu 18.04 (Bionic), Ubuntu 20.04 (Focal), Ubuntu 22.04 (Jammy), and Ubuntu 24.04 (Noble).
@@ -115,4 +117,31 @@ Now update your local apt cache.
115117
116118
Your DEB package repository should now be configured and ready for use.
117119

120+
In Debian:
121+
122+
You can also install CloudStack on Debian systems using APT in the same way
123+
as on Ubuntu. Replace the Debian release codename (for example, "bookworm"
124+
for Debian 12 or "bullseye" for Debian 11) as appropriate.
125+
126+
Use your preferred editor and open (or create)
127+
``/etc/apt/sources.list.d/cloudstack.list``. Add the community provided
128+
repository to the file (replace "noble" with "bookworm" or "bullseye" if it is the case):
129+
130+
.. parsed-literal::
131+
132+
deb https://download.cloudstack.org/debian bookworm |version|
133+
134+
We now have to add the public key to the trusted keys.
135+
136+
.. parsed-literal::
137+
138+
wget -O - https://download.cloudstack.org/release.asc |sudo tee /etc/apt/trusted.gpg.d/cloudstack.asc
139+
140+
Now update your local apt cache.
141+
142+
.. parsed-literal::
143+
144+
sudo apt update
145+
146+
Your DEB package repository should now be configured and ready for use.
118147

source/upgrading/upgrade/upgrade-4.22.rst

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -80,13 +80,13 @@ Backup current database
8080

8181
.. parsed-literal::
8282
83-
$ sudo service cloudstack-management stop
83+
$ sudo systemctl stop cloudstack-management
8484
8585
#. If you are running a usage server or usage servers, stop those as well:
8686

8787
.. parsed-literal::
8888
89-
$ sudo service cloudstack-usage stop
89+
$ sudo systemctl stop cloudstack-usage
9090
9191
#. Make a backup of your MySQL database. If you run into any issues or
9292
need to roll back the upgrade, this will assist in debugging or
@@ -105,7 +105,7 @@ Backup current database
105105
Management Server
106106
-----------------
107107

108-
Ubuntu
108+
Ubuntu/Debian
109109
######
110110

111111
If you are using Ubuntu, follow this procedure to upgrade your packages. If
@@ -128,7 +128,13 @@ This file should have one line, which contains:
128128

129129
.. parsed-literal::
130130
131-
deb http://download.cloudstack.org/ubuntu bionic |version|
131+
deb http://download.cloudstack.org/ubuntu noble |version|
132+
133+
If you are using Debian,
134+
135+
.. parsed-literal::
136+
137+
deb http://download.cloudstack.org/debian bookworm |version|
132138
133139
Setup the public key for the above repository:
134140

@@ -147,13 +153,13 @@ Setup the public key for the above repository:
147153

148154
.. parsed-literal::
149155
150-
$ sudo apt-get upgrade cloudstack-management
156+
$ sudo apt-get install cloudstack-management
151157
152158
#. If you use CloudStack usage server
153159

154160
.. parsed-literal::
155161
156-
$ sudo apt-get upgrade cloudstack-usage
162+
$ sudo apt-get install cloudstack-usage
157163
158164
159165
.. _rhel414:
@@ -235,7 +241,7 @@ No additional steps are required for the VMware Hypervisor for this upgrade.
235241
Hypervisor: KVM
236242
#################
237243

238-
KVM on Ubuntu
244+
KVM on Ubuntu/Debian
239245
""""""""""""""
240246

241247
(KVM only) Additional steps are required for each KVM host. These
@@ -249,7 +255,7 @@ hosts.
249255

250256
.. parsed-literal::
251257
252-
$ sudo service cloudstack-agent stop
258+
$ sudo systemctl stop cloudstack-agent
253259
254260
#. Update the agent software.
255261

@@ -261,7 +267,7 @@ hosts.
261267

262268
.. parsed-literal::
263269
264-
$ sudo service cloudstack-agent start
270+
$ sudo systemctl start cloudstack-agent
265271
266272
267273
KVM on CentOS/RHEL
@@ -280,8 +286,8 @@ For KVM hosts, upgrade the ``cloudstack-agent`` package
280286

281287
.. parsed-literal::
282288
283-
$ sudo service cloudstack-agent stop
284-
$ sudo service cloudstack-agent start
289+
$ sudo systemctl stop cloudstack-agent
290+
$ sudo systemctl start cloudstack-agent
285291
286292
287293
Restart management services
@@ -291,13 +297,13 @@ Restart management services
291297

292298
.. parsed-literal::
293299
294-
$ sudo service cloudstack-management start
300+
$ sudo systemctl start cloudstack-management
295301
296302
#. If you use it, start the usage server
297303

298304
.. parsed-literal::
299305
300-
$ sudo service cloudstack-usage start
306+
$ sudo systemctl start cloudstack-usage
301307
302308
303309
.. include:: _sysvm_restart.rst

0 commit comments

Comments
 (0)