---
title: Charmhub | Deploy Canonical Livepatch On-Prem using Charmhub - The Open Operator
  Collection
description: Deploy the latest version of Canonical Livepatch On-Prem on any cloud.
url: https://charmhub.io/canonical-livepatch-server/actions
---

# Canonical Livepatch On-Prem

[Commercial Systems](https://charmhub.io/publisher/commercial-systems "View all packages from Commercial Systems")

* [Commercial Systems](https://charmhub.io/publisher/commercial-systems "View all packages from Commercial Systems")

Platform:

22.04

20.04

18.04

16.04

ops1.x/stable 52

```
juju deploy canonical-livepatch-server --channel ops1.x/stable
```

[Learn to deploy on juju >](https://juju.is/docs/juju/manage-applications)

* [enable](https://charmhub.io/canonical-livepatch-server/actions#enable)
* [restart](https://charmhub.io/canonical-livepatch-server/actions#restart)
* [schema-upgrade](https://charmhub.io/canonical-livepatch-server/actions#schema-upgrade)
* [set-basic-users](https://charmhub.io/canonical-livepatch-server/actions#set-basic-users)

[Learn about actions >](https://juju.is/docs/juju/action)

* enable

  Enables livepatch on-prem.

  Params

  + token
    string

    A Ubuntu Pro token.

  Required

  token
* restart

  Restart livepatch service daemon.
* schema-upgrade

  Upgrade the application database schema.
* set-basic-users

  Sets the basic users for the server

  This action overrides all existing users currently set
  in livepatch, unless the append param is provided.

  Params

  + append
    boolean

    By using append, it will no longer override all default users. But rather
    append any additional users to the servers configuration.
  + users
    string

    A comma delimited list of users and password in the form of
    [username1:password1](https://charmhub.io/canonical-livepatch-server/actions#harmful-link),[username2:password2](https://charmhub.io/canonical-livepatch-server/actions#harmful-link),[username3:password3](https://charmhub.io/canonical-livepatch-server/actions#harmful-link)

  Required

  users
