2014-07-07 09:11:06 +00:00
---
2015-04-10 20:17:45 +00:00
layout: doc
2015-10-14 03:31:03 +00:00
title: Fedora Minimal Template
2015-10-28 22:14:40 +00:00
permalink: /doc/templates/fedora-minimal/
2015-10-11 07:04:59 +00:00
redirect_from:
2016-05-21 07:49:01 -07:00
- /doc/fedora-minimal/
2015-10-28 22:14:40 +00:00
- /en/doc/templates/fedora-minimal/
2015-10-11 07:04:59 +00:00
- /doc/Templates/FedoraMinimal/
- /wiki/Templates/FedoraMinimal/
2014-07-07 09:11:06 +00:00
---
Fedora - minimal
================
2016-01-22 10:50:06 +01:00
The template weighs only about 300MB and has most of the stuff cut off, except for minimal X and xterm. It is really just a barebone and not even usable in this form - but you can customize it to meet your needs. You can find some usage examples in the section below.
2014-07-07 09:11:06 +00:00
Install
-------
It can be installed via the following command:
2015-09-27 01:00:33 +02:00
~~~
2016-01-22 10:50:06 +01:00
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-23-minimal
2015-09-27 01:00:33 +02:00
~~~
2014-07-07 09:11:06 +00:00
2016-08-03 00:39:13 +02:00
The download may take a while.
2016-01-20 16:00:53 +01:00
2014-07-07 09:11:06 +00:00
Usage
-----
It is a good idea to clone the original template, and make any changes in the new clone instead:
2015-09-27 01:00:33 +02:00
~~~
2016-01-22 10:50:06 +01:00
[user@dom0 ~]$ qvm-clone fedora-23-minimal < your new template name >
2015-09-27 01:00:33 +02:00
~~~
2014-07-07 09:11:06 +00:00
2015-09-05 09:55:34 +02:00
The sudo package is not installed by default, so let's install it:
2014-07-07 09:25:02 +00:00
2015-09-27 01:00:33 +02:00
~~~
2016-01-22 10:50:06 +01:00
[user@F23 -Minimal ~]$ su -
2016-01-22 10:51:17 +01:00
[user@F23 -Minimal ~]$ dnf install sudo
2015-09-27 01:00:33 +02:00
~~~
2014-07-07 09:25:02 +00:00
2014-07-28 14:52:55 +00:00
The rsyslog logging service is not installed by default. All logging is now being handled by the systemd journal. Users requiring the rsyslog service should install it manually.
2015-09-05 09:55:34 +02:00
To access the journald log, use the `journalctl` command.
2014-07-28 14:52:55 +00:00
### as a NetVM
2014-07-07 09:11:06 +00:00
2015-09-05 09:55:34 +02:00
If you want to use this template to for standard NetVMs you should install some more packeges:
2014-07-07 09:11:06 +00:00
2015-09-27 01:00:33 +02:00
~~~
2016-01-22 10:51:17 +01:00
[user@F21 -Minimal ~]$ sudo dnf install NetworkManager NetworkManager-wifi network-manager-applet wireless-tools dbus-x11 dejavu-sans-fonts tinyproxy
2015-09-27 01:00:33 +02:00
~~~
2014-07-07 09:11:06 +00:00
And maybe some more optional but useful packages as well:
2015-09-27 01:00:33 +02:00
~~~
2016-01-22 10:51:17 +01:00
[user@F21 -Minimal ~]$ sudo dnf install pciutils vim-minimal less tcpdump telnet psmisc nmap nmap-ncat gnome-keyring
2015-09-27 01:00:33 +02:00
~~~
2014-07-07 09:11:06 +00:00
2016-01-22 11:33:15 +01:00
If your network device needs some firmware then you should also install the corresponding packages as well. The `lspci` and `dnf search firmware` command will help to choose the right one :)
2014-07-07 09:12:28 +00:00
2014-07-28 14:52:55 +00:00
### as a ProxyVM
2014-07-07 09:12:28 +00:00
2015-09-05 09:55:34 +02:00
If you want to use this template as a ProxyVM you may want to install even more packages
2014-07-28 14:23:49 +00:00
#### Firewall
2016-01-22 10:50:06 +01:00
This template is now ready to use for a standard firewall VM.
2014-07-28 14:23:49 +00:00
#### VPN
2016-01-22 11:33:15 +01:00
The needed packages depend on the VPN technology. The `dnf search "NetworkManager VPN plugin"` command may help you to choose the right one. You should also install the corresponding GNOME related packages as well.
2014-07-28 14:23:49 +00:00
2016-09-25 01:25:34 +02:00
[More details about setting up a VPN Gateway ](/doc/vpn/#proxyvm )
2014-07-28 14:23:49 +00:00
#### TOR
[UserDoc/TorVM ](/wiki/UserDoc/TorVM )