-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathinstall-linux.html.md.erb
52 lines (31 loc) · 2.08 KB
/
install-linux.html.md.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
breadcrumb: PCF Dev Documentation
title: Installing PCF Dev on Linux
owner: PCF Dev
---
<strong><%= modified_date %></strong>
This topic describes how to install PCF Dev on Linux.
## <a id="prerequisites"></a>Prerequisites
### QEMU + libvirt
PCF Dev uses [QEMU](https://www.qemu.org/) and [libvirt](https://libvirt.org/) for virtualization.
To install on Ubuntu systems, run `sudo apt install qemu-kvm libvirt-bin libvirt-doc` in a terminal window.
### <a id="cf-cli"></a>Cloud Foundry Command Line Interface
PCF Dev uses the [Cloud Foundry Command Line Interface](https://github.com/cloudfoundry/cli) (cf CLI) to push and scale apps.
1. Download the cf CLI for your Linux distribution from the [cf CLI repository in GitHub](https://github.com/cloudfoundry/cli#downloads). If you previously used the cf CLI v5 Ruby gem, uninstall this gem first.
1. Install the downloaded package using the package manager for your distribution.
1. To verify your installation, open a terminal window and enter `cf` at the prompt. If your installation was successful, the cf CLI help listing appears.
## <a id="install-pcf-dev"></a>Install PCF Dev
1. Download the latest version of PCF Dev from the [Pivotal Network](https://network.pivotal.io/).
1. Install the CF Dev plugin required to run PCF Dev:
<pre class="terminal">$ cf install-plugin cfdev</pre>
1. Start PCF Dev. Enter the following command, replacing `FILEPATH/FILE` with the filepath of the .iso or .tgz file you downloaded:
<pre class="terminal">cf dev start -f FILEPATH/FILE</pre>
It may take several minutes for the PCF Dev VM and its services to start.
<p class="note"><strong>Note</strong>: You may be prompted to continue if your available memory is less than the recommended amount.</p>
After the **PCF Dev is now running** banner appears, you can [log in](./usage.html#pcf-dev).
## <a id="stopping"></a>Stop PCF Dev
To stop PCF Dev, run the following command:
<pre class="terminal">$ cf dev stop</pre>
## <a id="uninstall"></a>Uninstall PCF Dev
To remove PCF Dev, run the following command:
<pre class="terminal">$ cf uninstall-plugin pcfdev</pre>