forked from fleet-commander/fc-admin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
70 lines (51 loc) · 2.1 KB
/
README
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Fleet Commander
===============
Fleet Commander is an application that allows you to manage the desktop
configuration of a large network of users and workstations/laptops.
It is primarily targeted to Linux systems based on the GNOME desktop.
Fleet Commander consists on two components:
* a web service integrated with Apache that serves the dynamic application and
the profile data to the network.
* and a client side daemon that runs on every host of the network.
Fleet Commander relies on libvirt and KVM to generate the profile data
dynamically from a template VM running the same environment as the rest of the
network.
SETUP
-----
These are the instructions to build and install the admin interface:
```
$ ./configure --prefix=$PREFIX # where $PREFIX can be /usr or /usr/local
$ make
$ make install
$ mkdir -p /var/lib/fleet-commander-admin/profiles
```
These are the instructions to install the logger and enable a VM as a Fleet Commander template:
```
$ ./configure --prefix=/usr
$ make
$ cd logger
$ make install
$ cd ../data/
$ make install
```
The install prefix must be set to /usr so that the fleet-commander-logger.desktop
file makes it to the /etc/xdg/autostart directory.
NOTE ON THE LOGGER
------------------
The logger autostarts on a desktop session only when a special device shows up
in /dev/virtio-ports
RUNNING THE ADMIN INTERFACE
---------------------------
Fleet commander is a plugin for Cockpit. You should already have an installation
of cockpit in your machine. If not, install it first following the instructions
at http://cockpit-project.org/running.html
If you have used the /usr prefix, Fleet Commander plugin is already installed in
the cockpit plugin folder. If you chosen something different like /usr/local
you can enable fleet commander executing the following command as root:
```
# ln -s /usr/local/share/fleet-commander-admin/cockpit/fleet-commander-admin \
/usr/share/cockpit/
```
Then, logout from cockpit if you are already logged in, and when you login
again Fleet Commander will be available under Tools option.
Once in Fleet Commander, just follow the on-screen instructions.