|
1 | 1 | --- |
2 | 2 | layout: default |
3 | | -title: "Install Puppet Server" |
4 | | -canonical: "/puppetserver/latest/install_from_packages.html" |
| 3 | +title: "Install OpenVox Server" |
5 | 4 | --- |
6 | 5 |
|
7 | | -[repodocs]: https://puppet.com/docs/puppet/latest/puppet_platform.html |
| 6 | +[prereqs]: ./install_pre.html |
| 7 | +[tuning]: ./tuning_guide.html |
| 8 | +[install_linux]: /openvox/latest/install_linux.html |
| 9 | +[openvoxdb]: /openvoxdb/latest/install_via_module.html |
| 10 | +[downloads_page]: https://voxpupuli.org/openvox/install/ |
8 | 11 |
|
9 | | -Puppet Server is a required application that runs on the Java Virtual Machine (JVM). It controls the configuration information for one or more managed agent nodes. |
| 12 | +Install `openvox-server` on the host that will act as the Puppet CA and catalog |
| 13 | +compiler for your infrastructure. |
10 | 14 |
|
11 | | -> Note: If you have any issues with the steps below, submit these to our [bug tracker](https://tickets.puppet.com/browse/SERVER). |
| 15 | +**Before you begin:** Review the [pre-install tasks][prereqs] to confirm your |
| 16 | +platform is supported, your Java version is correct, and port 8140 is open. |
12 | 17 |
|
13 | | -## Before you begin |
| 18 | +1. Enable the OpenVox repository for your distribution. |
14 | 19 |
|
15 | | -Review the supported operating systems and make sure you have a supported version of Java. |
| 20 | + On apt-based systems, download and install the release package for your OS from |
| 21 | + [apt.voxpupuli.org](https://apt.voxpupuli.org). For example, on Ubuntu 22.04: |
16 | 22 |
|
17 | | -### Supported operating systems |
| 23 | + ```bash |
| 24 | + wget https://apt.voxpupuli.org/openvox8-release-ubuntu22.04.deb |
| 25 | + sudo dpkg -i openvox8-release-ubuntu22.04.deb |
| 26 | + sudo apt update |
| 27 | + ``` |
18 | 28 |
|
19 | | -Puppet provides official packages that install Puppet Server 6 and all of its prerequisites on x86_64 architectures for the following platforms: |
| 29 | + On yum/dnf-based systems, install the release package for your OS from |
| 30 | + [yum.voxpupuli.org](https://yum.voxpupuli.org). For example, on EL 9: |
20 | 31 |
|
21 | | -* Red Hat Enterprise Linux 6, 7 |
22 | | -* Debian 8 (Jessie), 9 (Stretch), 10 (Buster) |
23 | | -* Ubuntu 16.04 (Xenial), 18.04 (Bionic) |
24 | | -* SLES 12 SP1 |
| 32 | + ```bash |
| 33 | + sudo rpm -Uvh https://yum.voxpupuli.org/openvox8-release-el-9.noarch.rpm |
| 34 | + ``` |
25 | 35 |
|
26 | | -### Java support |
| 36 | + For the full list of supported distributions and release packages, see the |
| 37 | + [Installing OpenVox][downloads_page] page. |
27 | 38 |
|
28 | | -Puppet Server versions are tested against the following versions of Java: |
| 39 | +2. Install the package. |
29 | 40 |
|
30 | | -| Puppet Server | Java | |
31 | | -|---|---| |
32 | | -| 2.x | 7, 8 | |
33 | | -| 5.x | 8 | |
34 | | -| 6.0-6.5 | 8, 11 (experimental) | |
35 | | -| 6.6 and later | 8, 11 | |
| 41 | + On apt-based systems: |
36 | 42 |
|
37 | | -Some Java versions may work with other Puppet Server versions, but we do not test or support those cases. Community submitted patches for support greater than Java 11 are welcome. Both Java 8 and 11 are considered long-term support versions and are planned to be supported by upstream maintainers until 2022 or later. |
| 43 | + ```bash |
| 44 | + sudo apt install openvox-server |
| 45 | + ``` |
38 | 46 |
|
39 | | -> Note: Java 8 runtime packages do not exist in the standard repositories for Debian 8 (Jessie) or Ubuntu 18.04 (Bionic). To install Puppet Server on Jessie, [configure the `jessie-backports` repository](https://backports.debian.org/Instructions/). To install Puppet Server on Bionic, enable the [universe repository](https://help.ubuntu.com/community/Repositories/Ubuntu). |
| 47 | + On yum/dnf-based systems: |
40 | 48 |
|
41 | | -## Install Puppet Server |
| 49 | + ```bash |
| 50 | + sudo yum install openvox-server |
| 51 | + ``` |
42 | 52 |
|
43 | | -Puppet Server is configured to use 2 GB of RAM by default. If you're just testing an installation on a Virtual Machine, this much memory is not necessary. To change the memory allocation, see [Running Puppet Server on a VM](#Running-Puppet-Server-on-a-VM). |
| 53 | +3. Start and enable the service. |
44 | 54 |
|
45 | | -1. [Enable the Puppet package repositories][repodocs], if you haven't already done so. |
| 55 | + ```bash |
| 56 | + sudo systemctl start puppetserver |
| 57 | + sudo systemctl enable puppetserver |
| 58 | + ``` |
46 | 59 |
|
47 | | -2. Install the Puppet Server package by running one of the following commands. |
| 60 | +4. Verify the installation. |
48 | 61 |
|
49 | | -Red Hat operating systems: |
| 62 | + ```bash |
| 63 | + puppetserver --version |
| 64 | + sudo systemctl status puppetserver |
| 65 | + ``` |
50 | 66 |
|
51 | | -```` |
52 | | -yum install puppetserver |
53 | | -```` |
| 67 | + The service should be active and you should see a version string printed. |
54 | 68 |
|
55 | | -Debian and Ubuntu: |
| 69 | +## What to do next |
56 | 70 |
|
57 | | -``` |
58 | | -apt-get install puppetserver |
59 | | -``` |
60 | | - |
61 | | -There is no `-` in the package name. |
62 | | - |
63 | | -> Note: If you're upgrading, stop any existing `puppetmaster` or `puppetserver` service by running `service <service_name> stop` or `systemctl stop <service_name>`. |
64 | | -
|
65 | | -3. Start the Puppet Server service: |
66 | | - |
67 | | -``` |
68 | | -sudo systemctl start puppetserver |
69 | | -``` |
70 | | - |
71 | | -4. To check you have installed the Puppet Server package correctnly, run the following command to check the version: |
72 | | - |
73 | | -``` |
74 | | -puppetserver -v |
75 | | -``` |
76 | | - |
77 | | -### What to do next |
78 | | - |
79 | | -Now that Puppet Server is installed, move on to these next steps: |
80 | | - |
81 | | -1. [Install a Puppet agent](https://puppet.com/docs/puppet/latest/install_agents.html) |
82 | | -2. [Install PuppetDB](https://puppet.com/docs/puppetdb/latest/install_via_module.html) (optional) — if you would like to to enable extra features, including enhanced queries and reports about your infrastructure. |
83 | | - |
84 | | -## Running Puppet Server on a VM |
85 | | - |
86 | | -By default, Puppet Server is configured to use 2GB of RAM. However, if you want to experiment with Puppet Server on a VM, you can safely allocate as little as 512MB of memory. To change the Puppet Server memory allocation, you can edit the init config file. |
87 | | - |
88 | | -* For RHEL or CentOS, open `/etc/sysconfig/puppetserver` |
89 | | -* For Debian or Ubuntu, open `/etc/default/puppetserver` |
90 | | - |
91 | | -1. In your settings, update the line: |
92 | | - |
93 | | - # Modify this if you'd like to change the memory allocation, enable JMX, etc |
94 | | - JAVA_ARGS="-Xms2g -Xmx2g" |
95 | | - |
96 | | - Replace 2g with the amount of memory you want to allocate to Puppet Server. For example, to allocate 1GB of memory, use `JAVA_ARGS="-Xms1g -Xmx1g"`; for 512MB, use `JAVA_ARGS="-Xms512m -Xmx512m"`. |
97 | | - |
98 | | - For more information about the recommended settings for the JVM, see [Oracle's docs on JVM tuning.](http://docs.oracle.com/cd/E15523_01/web.1111/e13814/jvm_tuning.htm) |
99 | | - |
100 | | -2. Restart the `puppetserver` service after making any changes to this file. |
| 71 | +- [Install OpenVox agent on Linux][install_linux] — roll out agents to managed nodes. |
| 72 | +- [Install OpenVoxDB][openvoxdb] (optional) — enables enhanced queries and reports about your infrastructure. |
| 73 | +- Review the [tuning guide][tuning] if you need to adjust the default 2 GB JVM heap size. |
0 commit comments