Differences between revisions 23 and 25 (spanning 2 versions)
Revision 23 as of 2020-05-31 02:10:18
Size: 1561
Editor: coringao
Comment:
Revision 25 as of 2020-05-31 02:19:29
Size: 1641
Editor: coringao
Comment:
Deletions are marked like this. Additions are marked like this.
Line 17: Line 17:
{{attachment:jail.png}}
Line 32: Line 34:

=== 1. Installing the Debian base in the cage ===

debian-cage.png

PACKAGES STUCK WITH SCHROOT

Chroot Manager

Allows you to configure chroots without requiring root credentials.

For a better knowledge on the subject:

wiki.debian.org/Schroot

wiki.debian.org/Debootstrap

Starting prison for packages

jail.png

To start the installations, we will download the following packages:

# apt install debootstrap schroot

Once installed, we will edit the "/etc/schroot/schroot.conf" file.

# cp /etc/schroot/schroot.conf /etc/schroot/schroot.conf.old

# editor /etc/schroot/schroot.conf

{*} editor = your favorite text editor: nano, vim, mcedit, etc ...

Copy and paste into the file.

[unstable]
description=debian unstable
type=directory
directory=/srv/chroot/unstable
users=your-username
root-groups=root
preserve-environment=true

1. Installing the Debian base in the cage