mirror of
https://github.com/Qubes-Community/Contents.git
synced 2024-12-23 14:19:24 -05:00
fixed mistype errors
This commit is contained in:
parent
7a8a3b5fba
commit
cab7ac09d4
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
layout: doc
|
layout: doc
|
||||||
title: CentOS Template
|
title: CentOS Minimal Template
|
||||||
permalink: /doc/templates/centos-minimal/
|
permalink: /doc/templates/centos-minimal/
|
||||||
---
|
---
|
||||||
|
|
||||||
# CentOS Minimal Template
|
# CentOS Minimal Template
|
||||||
|
|
||||||
The minimal CentOS images use the standard CentOS installer with all of its regular features minus the selection of packages, thus keeping only the most essential ones, including the xterm terminal emulator. Yum is completed and can be used to add or remove packages, right after the Template installation.
|
The minimal CentOS images use the standard CentOS installer with all of its regular features minus the selection of packages, thus keeping only the most essential ones, including the xterm terminal emulator. `yum` is completed and can be used to add or remove packages, right after the template installation.
|
||||||
|
|
||||||
The CentOS Minimal template is intended only for advanced users and requires some familiarity with the command line and basics of Qubes.
|
The CentOS Minimal template is intended only for advanced users and requires some familiarity with the command line and basics of Qubes.
|
||||||
|
|
||||||
@ -23,7 +23,7 @@ Customization
|
|||||||
|
|
||||||
### Clone
|
### Clone
|
||||||
|
|
||||||
It is highly recommended not to make any changes in the original template, but use a **clone** instead. The following command clones the template. (Replace your-new-clone with your desired name.)
|
It is highly recommended not to make any changes in the original template, but use a **clone** instead. The following command clones the template. (Replace `your-new-clone` with your desired name.)
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
[user@dom0 ~]$ qvm-clone centos-7-minimal your-new-clone
|
[user@dom0 ~]$ qvm-clone centos-7-minimal your-new-clone
|
||||||
@ -31,7 +31,7 @@ It is highly recommended not to make any changes in the original template, but u
|
|||||||
|
|
||||||
You must start the template in order to customize it.
|
You must start the template in order to customize it.
|
||||||
|
|
||||||
**Customizing** the template for specific use cases normally requires installing additional packages. In the running template, use yum to install the required packages as follows(replace packages with a space-delimited list of packages to be installed):
|
**Customizing** the template for specific use cases normally requires installing additional packages. In the running template, use yum to install the required packages as follows (replace packages with a space-delimited list of `packages` to be installed):
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
[user@your-new-clone ~]$ sudo yum install packages
|
[user@your-new-clone ~]$ sudo yum install packages
|
||||||
@ -39,7 +39,7 @@ You must start the template in order to customize it.
|
|||||||
|
|
||||||
### Passwordless root
|
### Passwordless root
|
||||||
|
|
||||||
Before starting to install packages in your template, it is worthy of mention that in Qubes R4.0, the minimal template is not configured for passwordless root.
|
Before starting to install packages in your template, it is worthy of mention that in Qubes, the minimal template is not configured for passwordless root.
|
||||||
To update or install packages to it, from a dom0 terminal window run:
|
To update or install packages to it, from a dom0 terminal window run:
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
@ -48,7 +48,7 @@ To update or install packages to it, from a dom0 terminal window run:
|
|||||||
|
|
||||||
to open a root terminal in the template, from which you can use yum without sudo. You will have to do this every time if you choose not to enable passwordless root.
|
to open a root terminal in the template, from which you can use yum without sudo. You will have to do this every time if you choose not to enable passwordless root.
|
||||||
|
|
||||||
If you want the usual CentoOS qubes `sudo yum ...` commands, open the root terminal just this once using the above command, and in the root xterm window enter
|
If you want the usual CentOS qubes `sudo yum ...` commands, open the root terminal just this once using the above command, and in the root xterm window enter
|
||||||
|
|
||||||
~~~
|
~~~
|
||||||
bash-4.4# yum install qubes-core-agent-passwordless-root polkit
|
bash-4.4# yum install qubes-core-agent-passwordless-root polkit
|
||||||
@ -60,7 +60,7 @@ Optionally check this worked: from the gui open the minimal template's xterm and
|
|||||||
[user@cent-min-clone ~]$ sudo -l
|
[user@cent-min-clone ~]$ sudo -l
|
||||||
~~~
|
~~~
|
||||||
|
|
||||||
which should give you output that includes the NOPASSWD keyword.
|
which should give you output that includes the `NOPASSWD` keyword.
|
||||||
|
|
||||||
From this point, your template is ready to be customized.
|
From this point, your template is ready to be customized.
|
||||||
|
|
||||||
@ -74,12 +74,12 @@ Use case | Description | Required steps
|
|||||||
**Networking** | If you want networking | Install qubes-core-agent-networking
|
**Networking** | If you want networking | Install qubes-core-agent-networking
|
||||||
**Audio** | If you want sound from your VM... | Install `pulseaudio-qubes`
|
**Audio** | If you want sound from your VM... | Install `pulseaudio-qubes`
|
||||||
**FirewallVM** | You can use the minimal template as a template for a [FirewallVM](/doc/firewall/), like `sys-firewall` | Install `qubes-core-agent-networking`, and `nftables`. Also install `qubes-core-agent-dom0-updates`(script required to handle `dom0` updates), if you want to use a qube based on the template as an updateVM (normally sys-firewall).
|
**FirewallVM** | You can use the minimal template as a template for a [FirewallVM](/doc/firewall/), like `sys-firewall` | Install `qubes-core-agent-networking`, and `nftables`. Also install `qubes-core-agent-dom0-updates`(script required to handle `dom0` updates), if you want to use a qube based on the template as an updateVM (normally sys-firewall).
|
||||||
**NetVM** | You can use this template as the basis for a NetVM such as `sys-net` | Install the following packages: `qubes-core-agent-networking`, `qubes-core-agent-network-manager`, and `nftables`.
|
**NetVM** | You can use this template as the basis for a NetVM such as `sys-net` | Install the following packages: `qubes-core-agent-networking`, `qubes-core-agent-network-manager` and `nftables`.
|
||||||
**NetVM (extra firmware)** | If your network devices need extra packages for a network VM | Use the `lspci` command to identify the devices, then find the package that provides necessary firnware and install it.
|
**NetVM (extra firmware)** | If your network devices need extra packages for a network VM | Use the `lspci` command to identify the devices, then find the package that provides necessary firnware and install it.
|
||||||
**Network utilities** | If you need utilities for debugging and analyzing network connections | Install the following packages: `tcpdump` `telnet` `nmap` `nmap-ncat`
|
**Network utilities** | If you need utilities for debugging and analyzing network connections | Install the following packages: `tcpdump` `telnet` `nmap` `nmap-ncat`
|
||||||
**USB** | If you want to use this template as the basis for a [USB](/doc/usb/) qube such as `sys-usb` | Install `qubes-usb-proxy`. To use USB mouse or keyboard install `qubes-input-proxy-sender`.
|
**USB** | If you want to use this template as the basis for a [USB](/doc/usb/) qube such as `sys-usb` | Install `qubes-usb-proxy`. To use USB mouse or keyboard install `qubes-input-proxy-sender`.
|
||||||
**VPN** | You can use this template as basis for a [VPN](/doc/vpn/) qube | You may need to install network-manager VPN packages, depending on the VPN technology you'll be using. After creating a machine based on this template, follow the [VPN howto](/doc/vpn/#set-up-a-proxyvm-as-a-vpn-gateway-using-networkmanager) to configure it.
|
**VPN** | You can use this template as basis for a [VPN](/doc/vpn/) qube | You may need to install network-manager VPN packages, depending on the VPN technology you'll be using. After creating a machine based on this template, follow the [VPN howto](/doc/vpn/#set-up-a-proxyvm-as-a-vpn-gateway-using-networkmanager) to configure it.
|
||||||
**Desktop environment** | To improve desktop experience using additional packages from the `qubes-core-agent` | `qubes-menus `which defines menu layout, `qubes-desktop-linux-common` which contains icons and scripts to improve desktop experience. `qubes-core-agent-nautilus`/`qubes-core-agent-thunar`: packages providing integration with the Nautilus/Thunar file manager (without it, items like "copy to VM/open in disposable VM" will not be shown in Nautilus/Thunar).
|
**Desktop environment** | To improve desktop experience using additional packages from the `qubes-core-agent` | `qubes-menus` which defines menu layout, `qubes-desktop-linux-common` which contains icons and scripts to improve desktop experience. `qubes-core-agent-nautilus`/`qubes-core-agent-thunar`: packages providing integration with the Nautilus/Thunar file manager (without it, items like "copy to VM/open in disposable VM" will not be shown in Nautilus/Thunar).
|
||||||
|
|
||||||
Also, there are packages to provide additional services:
|
Also, there are packages to provide additional services:
|
||||||
- `qubes-gpg-split`: For implementing split GPG.
|
- `qubes-gpg-split`: For implementing split GPG.
|
||||||
@ -87,7 +87,7 @@ Also, there are packages to provide additional services:
|
|||||||
- `qubes-pdf-converter`: For implementing safe conversion of PDFs.
|
- `qubes-pdf-converter`: For implementing safe conversion of PDFs.
|
||||||
- `qubes-img-converter`: For implementing safe conversion of images.
|
- `qubes-img-converter`: For implementing safe conversion of images.
|
||||||
- `qubes-snapd-helper`: If you want to use snaps in qubes.
|
- `qubes-snapd-helper`: If you want to use snaps in qubes.
|
||||||
- `qubes-thunderbird`: Additional tools for use in thunderbird.
|
- `qubes-thunderbird`: Additional tools for use in Thunderbird.
|
||||||
- `qubes-app-shutdown-idle`: If you want qubes to automatically shutdown when idle.
|
- `qubes-app-shutdown-idle`: If you want qubes to automatically shutdown when idle.
|
||||||
- `qubes-mgmt-\*`: If you want to use salt management on the template and qubes.
|
- `qubes-mgmt-\*`: If you want to use salt management on the template and qubes.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user