Cockpit

Last modified by Justin Morgan on 2019/09/29 18:04

About


Cockpit is an interactive server admin interface. It is easy to use and very lightweight. Cockpit interacts directly with the operating system from a real Linux session in a browser.

Questions


  • Is there a way to add applications to the applications tab?
  •  

Virtual Machines


Libvirt Wiki

https://wiki.libvirt.org/page/Main_Page

About

Each time a virtual machine needs to be installed, the following steps need to be taken in order for it to complete the installation process:

Cockpit

  1. From the Virtual Machines tab, select "Create VM" in top right corner
  2. Select settings and .iso file
  3. Do NOT check the "Immediately Start VM" box
  4. Click the Create button

Shell in a Box

  1. Log in as root
  2. Enter the command virsh edit VMname (replace VMname with the name of your VM). This will open the virsh .xml file.
  3. Scroll down near the end to the line that begins with <graphics type='vnc'
  4. Change autoport='yes' to autoport='no'
  5. Change the port number to the port of your choice. Check Exposed Ports to see if the port is in use by another application. NOTE: Two VMs using the same port number can not run simultaneously, so it would be best to use a different port number for each VM.
  6. Press Ctrl+o to save
  7. Press Enter to accept the same file name
  8. Press Ctrl+x to exit

Cockpit

  1. From the Virtual Machines tab, find the VM name you just edited the .xml file for
  2. Press the Install button