2014-07-07 05:11:06 -04:00
---
2015-04-10 16:17:45 -04:00
layout: doc
2014-07-07 05:11:06 -04:00
title: FedoraMinimal
2015-04-10 16:17:45 -04:00
permalink: /doc/Templates/FedoraMinimal/
redirect_from: /wiki/Templates/FedoraMinimal/
2014-07-07 05:11:06 -04:00
---
Fedora - minimal
================
We have uploaded a new "minimal" template to our templates-itl repo. The template weighs only 150MB and has most of the stuff cut off, except for minimal X and xterm.
More into in ticket \#828
Install
-------
It can be installed via the following command:
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2015-07-01 05:54:28 -04:00
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-21-minimal
2015-04-10 16:17:45 -04:00
{% endhighlight %}
2014-07-07 05:11:06 -04:00
Usage
-----
It is a good idea to clone the original template, and make any changes in the new clone instead:
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2015-07-01 05:54:28 -04:00
[user@dom0 ~]$ qvm-clone fedora-21-minimal < your new template name >
2015-04-10 16:17:45 -04:00
{% endhighlight %}
2014-07-07 05:11:06 -04:00
2014-07-28 10:52:55 -04:00
The sudo package is not installed by default, so lets install it:
2014-07-07 05:25:02 -04:00
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2015-07-01 05:54:28 -04:00
[user@F21-Minimal ~]$ su -
[user@F21-Minimal ~]$ yum install sudo
2015-04-10 16:17:45 -04:00
{% endhighlight %}
2014-07-07 05:25:02 -04:00
2014-07-28 10:52:55 -04: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.
To access the journald log, use the following command: `journalctl`
### as a NetVM
2014-07-07 05:11:06 -04:00
If You want to use this template to for standard NetVMs You should install some more packeges:
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2015-07-01 06:07:39 -04:00
[user@F21-Minimal ~]$ sudo yum install NetworkManager NetworkManager-wifi network-manager-applet wireless-tools dbus-x11 dejavu-sans-fonts tar tinyproxy
2015-04-10 16:17:45 -04:00
{% endhighlight %}
2014-07-07 05:11:06 -04:00
And maybe some more optional but useful packages as well:
2015-04-10 16:17:45 -04:00
{% highlight trac-wiki %}
2015-07-01 05:54:28 -04:00
[user@F21-Minimal ~]$ sudo yum install pciutils vim-minimal less tcpdump telnet psmisc nmap nmap-ncat gnome-keyring
2015-04-10 16:17:45 -04:00
{% endhighlight %}
2014-07-07 05:11:06 -04:00
2014-07-28 10:24:25 -04:00
If Your network device needs some firmware then you should also install the corresponding packages as well. The `lspci; yum search firmware` command will help to choose the right one :)
2014-07-07 05:12:28 -04:00
2014-07-28 10:52:55 -04:00
### as a ProxyVM
2014-07-07 05:12:28 -04:00
2014-07-28 10:23:49 -04:00
If You want to use this template as a ProxyVM You may want to install evem more packages
#### Firewall
2015-07-01 06:07:39 -04:00
This template is ready to use for a standard firewall VM.
2014-07-28 10:23:49 -04:00
#### VPN
2014-07-31 06:50:33 -04:00
The needed packages are depend on the VPN technology. `yum search "NetworkManager VPN plugin"` command may help you to choose the right one.
2014-07-28 10:23:49 -04:00
[More details about setting up a VPN Gateway ](/wiki/VPN#ProxyVM )
#### TOR
[UserDoc/TorVM ](/wiki/UserDoc/TorVM )