Compare commits

..

12 Commits

Author SHA1 Message Date
d73bf445df 10/10 2025-10-10 10:25:52 +02:00
ZINSOU-PLY Ornel Godwill Kpèssou
95914d8510 03/2025 2025-10-03 14:00:45 +02:00
ZINSOU-PLY Ornel Godwill Kpèssou
60e9398760 03/10/25 2025-10-03 12:41:30 +02:00
ZINSOU-PLY Ornel Godwill Kpèssou
1affade410 03/10/25 2025-10-03 12:38:24 +02:00
fdf04b789b 03/10/2025 2025-10-03 12:17:39 +02:00
31f4c1bcf8 03/10/2025 2025-10-03 12:10:16 +02:00
c30146ec51 commit 29/09 2025-09-29 23:38:08 +02:00
ef8a93d6cb commit 25/09 2025-09-25 22:24:39 +02:00
1e41d55f2a commit 25/09 2025-09-25 19:18:33 +02:00
baf9071d0c commit 25/09 2025-09-25 19:10:39 +02:00
ZINSOU-PLY Ornel Godwill Kpèssou
ce0b45c018 update 2025-09-18 10:50:56 +02:00
ZINSOU-PLY Ornel Godwill Kpèssou
a60b38d087 update 2025-09-18 10:48:15 +02:00
25 changed files with 3563 additions and 0 deletions

Binary file not shown.

0
Documents/test Normal file
View File

29
Git/Git-local/Vagrantfile vendored Normal file
View File

@ -0,0 +1,29 @@
Vagrant.configure("2") do |config|
config.vm.define "vm" do |machine|
machine.vm.hostname = "vm"
machine.vm.box = "chavinje/fr-book-64"
config.vm.network "private_network", ip: "192.168.56.15"
machine.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--name", "vm"]
v.customize ["modifyvm", :id, "--groups", "/PFE"]
v.customize ["modifyvm", :id, "--cpus", "2"]
v.customize ["modifyvm", :id, "--memory", 2*1024]
v.customize ["modifyvm", :id, "--natdnshostresolver1", "off"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "off"]
end
# Provisionnement pour la configuration SSH
machine.vm.provision "shell", inline: <<-SHELL
sed -i 's/ChallengeResponseAuthentication no/ChallengeResponseAuthentication yes/g' /etc/ssh/sshd_config
sleep 3
service ssh restart
SHELL
# Installation des systèmes nécessaires
machine.vm.provision "shell", path: "scripts/install_sys.sh"
machine.vm.provision "shell", path: "scripts/install_web.sh"
# Copier et configurer le script de sauvegarde automatique
end
end

View File

@ -0,0 +1,591 @@
Get:1 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:2 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/main Sources [159 kB]
Get:5 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Get:6 http://deb.debian.org/debian bookworm/main Sources [9,494 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [169 kB]
Get:8 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7,148 B]
Get:9 http://deb.debian.org/debian bookworm/main amd64 Packages [8,791 kB]
Get:10 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:11 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,368 B]
Fetched 25.3 MB in 4s (6,847 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.21.3-1+deb12u1).
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv
Suggested packages:
pinentry-gnome3 tor parcimonie xloadimage scdaemon zip
The following NEW packages will be installed:
unzip
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv
11 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
Need to get 8,423 kB of archives.
After this operation, 388 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1,093 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
apt-listchanges: Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 8,423 kB in 1s (10.1 MB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74448 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 74448 files and directories currently installed.)
Preparing to unpack .../00-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../01-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../02-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../03-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../04-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../05-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../06-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../07-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../08-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../09-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../10-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Setting up unzip (6.0-28) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [160 kB]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [169 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:9 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7,148 B]
Get:10 http://deb.debian.org/debian bookworm/main Sources [9,494 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 Packages [8,791 kB]
Get:12 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,368 B]
Get:14 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:15 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index [21.8 kB]
Ign:15 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index
Get:16 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
Ign:16 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:17 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index [20.7 kB]
Ign:17 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index
Get:18 http://deb.debian.org/debian bookworm-updates/main Sources [3,288 B]
Get:19 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6,924 B]
Get:20 http://deb.debian.org/debian bookworm-updates/main Translation-en [5,448 B]
Fetched 25.4 MB in 10s (2,539 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv
Suggested packages:
pinentry-gnome3 tor parcimonie xloadimage scdaemon zip
The following NEW packages will be installed:
unzip
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv wget
12 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 9,361 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1,093 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
apt-listchanges: Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 9,361 kB in 2s (5,623 kB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../00-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) over (1.21.3-1+b2) ...
Preparing to unpack .../01-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../02-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../03-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../04-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../05-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../06-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../07-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../08-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../09-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../10-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../11-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up unzip (6.0-28) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/main Sources [160 kB]
Get:5 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [169 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:9 http://deb.debian.org/debian bookworm/main Sources [9,494 kB]
Get:10 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index [21.8 kB]
Ign:10 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index
Get:11 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
Ign:11 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:12 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index [20.7 kB]
Ign:12 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7,148 B]
Get:14 http://deb.debian.org/debian bookworm/main amd64 Packages [8,791 kB]
Get:15 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:16 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,368 B]
Get:17 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:18 http://deb.debian.org/debian bookworm-updates/main Sources [3,288 B]
Get:19 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6,924 B]
Get:20 http://deb.debian.org/debian bookworm-updates/main Translation-en [5,448 B]
Fetched 25.4 MB in 10s (2,652 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv
Suggested packages:
pinentry-gnome3 tor parcimonie xloadimage scdaemon zip
The following NEW packages will be installed:
unzip
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv wget
12 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 9,361 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1,093 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
apt-listchanges: Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 9,361 kB in 2s (5,690 kB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../00-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) over (1.21.3-1+b2) ...
Preparing to unpack .../01-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../02-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../03-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../04-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../05-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../06-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../07-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../08-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../09-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../10-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../11-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up unzip (6.0-28) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [160 kB]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [169 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:9 http://deb.debian.org/debian bookworm/main Sources [9,494 kB]
Get:10 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index [21.8 kB]
Ign:10 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index
Get:11 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
Ign:11 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:12 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index [20.7 kB]
Ign:12 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7,148 B]
Get:14 http://deb.debian.org/debian bookworm/main amd64 Packages [8,791 kB]
Get:15 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:16 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,368 B]
Get:17 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:18 http://deb.debian.org/debian bookworm-updates/main Sources [3,288 B]
Get:19 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6,924 B]
Get:20 http://deb.debian.org/debian bookworm-updates/main Translation-en [5,448 B]
Fetched 25.4 MB in 11s (2,339 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv
Suggested packages:
pinentry-gnome3 tor parcimonie xloadimage scdaemon zip
The following NEW packages will be installed:
unzip
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv wget
12 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 9,361 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1,093 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
apt-listchanges: Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 9,361 kB in 2s (5,698 kB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../00-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) over (1.21.3-1+b2) ...
Preparing to unpack .../01-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../02-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../03-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../04-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../05-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../06-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../07-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../08-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../09-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../10-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../11-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up unzip (6.0-28) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [160 kB]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [169 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:9 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7,148 B]
Get:10 http://deb.debian.org/debian bookworm/main Sources [9,494 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 Packages [8,791 kB]
Get:12 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,368 B]
Get:14 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:15 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index [21.8 kB]
Ign:15 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index
Get:16 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
Ign:16 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:17 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index [20.7 kB]
Ign:17 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index
Get:18 http://deb.debian.org/debian bookworm-updates/main Sources [3,288 B]
Get:19 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6,924 B]
Get:20 http://deb.debian.org/debian bookworm-updates/main Translation-en [5,448 B]
Fetched 25.4 MB in 13s (1,923 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv
Suggested packages:
pinentry-gnome3 tor parcimonie xloadimage scdaemon zip
The following NEW packages will be installed:
unzip
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv wget
12 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 9,361 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1,093 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
apt-listchanges: Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 9,361 kB in 2s (4,664 kB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../00-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) over (1.21.3-1+b2) ...
Preparing to unpack .../01-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../02-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../03-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../04-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../05-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../06-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../07-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../08-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../09-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../10-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../11-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up unzip (6.0-28) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...
Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 http://security.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:3 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
Get:4 http://security.debian.org/debian-security bookworm-security/non-free-firmware Sources [796 B]
Get:5 http://security.debian.org/debian-security bookworm-security/main Sources [160 kB]
Get:6 http://security.debian.org/debian-security bookworm-security/main amd64 Packages [279 kB]
Get:7 http://security.debian.org/debian-security bookworm-security/main Translation-en [169 kB]
Get:8 http://security.debian.org/debian-security bookworm-security/non-free-firmware amd64 Packages [688 B]
Get:9 http://deb.debian.org/debian bookworm/non-free-firmware Sources [7,148 B]
Get:10 http://deb.debian.org/debian bookworm/main Sources [9,494 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 Packages [8,791 kB]
Get:12 http://deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:13 http://deb.debian.org/debian bookworm/non-free-firmware amd64 Packages [6,368 B]
Get:14 http://deb.debian.org/debian bookworm/non-free-firmware Translation-en [20.9 kB]
Get:15 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index [21.8 kB]
Ign:15 http://deb.debian.org/debian bookworm-updates/main Sources.diff/Index
Get:16 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
Ign:16 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
Get:17 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index [20.7 kB]
Ign:17 http://deb.debian.org/debian bookworm-updates/main Translation-en.diff/Index
Get:18 http://deb.debian.org/debian bookworm-updates/main Sources [3,288 B]
Get:19 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6,924 B]
Get:20 http://deb.debian.org/debian bookworm-updates/main Translation-en [5,448 B]
Fetched 25.4 MB in 11s (2,328 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
dirmngr gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server
gpgconf gpgsm gpgv
Suggested packages:
pinentry-gnome3 tor parcimonie xloadimage scdaemon zip
The following NEW packages will be installed:
unzip
The following packages will be upgraded:
dirmngr gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client
gpg-wks-server gpgconf gpgsm gpgv wget
12 upgraded, 1 newly installed, 0 to remove and 121 not upgraded.
Need to get 9,361 kB of archives.
After this operation, 302 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 gpgv amd64 2.2.40-1.1+deb12u1 [649 kB]
Get:2 http://deb.debian.org/debian bookworm/main amd64 wget amd64 1.21.3-1+deb12u1 [937 kB]
Get:3 http://deb.debian.org/debian bookworm/main amd64 gpgsm amd64 2.2.40-1.1+deb12u1 [671 kB]
Get:4 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-client amd64 2.2.40-1.1+deb12u1 [540 kB]
Get:5 http://deb.debian.org/debian bookworm/main amd64 gpg-wks-server amd64 2.2.40-1.1+deb12u1 [531 kB]
Get:6 http://deb.debian.org/debian bookworm/main amd64 gpg amd64 2.2.40-1.1+deb12u1 [949 kB]
Get:7 http://deb.debian.org/debian bookworm/main amd64 gnupg-utils amd64 2.2.40-1.1+deb12u1 [927 kB]
Get:8 http://deb.debian.org/debian bookworm/main amd64 gnupg-l10n all 2.2.40-1.1+deb12u1 [1,093 kB]
Get:9 http://deb.debian.org/debian bookworm/main amd64 dirmngr amd64 2.2.40-1.1+deb12u1 [792 kB]
Get:10 http://deb.debian.org/debian bookworm/main amd64 gnupg all 2.2.40-1.1+deb12u1 [846 kB]
Get:11 http://deb.debian.org/debian bookworm/main amd64 gpg-agent amd64 2.2.40-1.1+deb12u1 [694 kB]
Get:12 http://deb.debian.org/debian bookworm/main amd64 gpgconf amd64 2.2.40-1.1+deb12u1 [564 kB]
Get:13 http://deb.debian.org/debian bookworm/main amd64 unzip amd64 6.0-28 [166 kB]
apt-listchanges: Reading changelogs...
dpkg-preconfigure: unable to re-open stdin: No such file or directory
Fetched 9,361 kB in 2s (4,512 kB/s)
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../gpgv_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgv (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Setting up gpgv (2.2.40-1.1+deb12u1) ...
(Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 53047 files and directories currently installed.)
Preparing to unpack .../00-wget_1.21.3-1+deb12u1_amd64.deb ...
Unpacking wget (1.21.3-1+deb12u1) over (1.21.3-1+b2) ...
Preparing to unpack .../01-gpgsm_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgsm (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../02-gpg-wks-client_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-client (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../03-gpg-wks-server_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-wks-server (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../04-gpg_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../05-gnupg-utils_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gnupg-utils (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../06-gnupg-l10n_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg-l10n (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../07-dirmngr_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking dirmngr (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../08-gnupg_2.2.40-1.1+deb12u1_all.deb ...
Unpacking gnupg (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../09-gpg-agent_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpg-agent (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Preparing to unpack .../10-gpgconf_2.2.40-1.1+deb12u1_amd64.deb ...
Unpacking gpgconf (2.2.40-1.1+deb12u1) over (2.2.40-1.1) ...
Selecting previously unselected package unzip.
Preparing to unpack .../11-unzip_6.0-28_amd64.deb ...
Unpacking unzip (6.0-28) ...
Setting up wget (1.21.3-1+deb12u1) ...
Setting up unzip (6.0-28) ...
Setting up gnupg-l10n (2.2.40-1.1+deb12u1) ...
Setting up gpgconf (2.2.40-1.1+deb12u1) ...
Setting up gpg (2.2.40-1.1+deb12u1) ...
Setting up gnupg-utils (2.2.40-1.1+deb12u1) ...
Setting up gpg-agent (2.2.40-1.1+deb12u1) ...
Setting up gpgsm (2.2.40-1.1+deb12u1) ...
Setting up dirmngr (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-server (2.2.40-1.1+deb12u1) ...
Setting up gpg-wks-client (2.2.40-1.1+deb12u1) ...
Setting up gnupg (2.2.40-1.1+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for mailcap (3.70+nmu1) ...

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,27 @@
#!/bin/bash
set -e
echo "=== Mise à jour des paquets ==="
sudo apt update
echo "=== Installation de Git ==="
sudo apt install -y git wget
echo "=== Vérification de la version de Git ==="
git --version
echo "=== Téléchargement de Gitea ==="
sudo wget -O gitea https://dl.gitea.io/gitea/1.23.6/gitea-1.23.6-linux-amd64
echo "=== Application des permissions et déplacement ==="
sudo chmod +x gitea
sudo mv gitea /usr/local/bin/
echo "=== Création de lutilisateur système git ==="
sudo adduser --system --group --home /var/lib/gitea --shell /bin/sh git
echo "=== Installation terminée ! ==="
gitea --version
sudo apt install rsync

View File

@ -0,0 +1,77 @@
#!/bin/bash
set -e
# Trouver tous les backups triés par date décroissante (plus récent en premier)
ALL_BACKUPS=( $(ls -t /vagrant/gitea-backup-*.tar.gz 2>/dev/null) )
if [ ${#ALL_BACKUPS[@]} -eq 0 ]; then
echo "❌ Aucun fichier de backup trouvé dans /vagrant !"
exit 1
fi
# Le plus récent
BACKUP_TAR="${ALL_BACKUPS[0]}"
echo "🗂️ Utilisation du backup le plus récent : $BACKUP_TAR"
# Supprimer les autres
for OLD_BACKUP in "${ALL_BACKUPS[@]:1}"; do
echo "🗑️ Suppression de l'ancien backup : $OLD_BACKUP"
rm -f "$OLD_BACKUP"
done
TMP_DIR="/home/vagrant/backup"
# Nettoyer et recréer le répertoire temporaire
sudo rm -rf $TMP_DIR
sudo mkdir -p $TMP_DIR
# Extraire uniquement le dernier backup
sudo tar -xzf "$BACKUP_TAR" -C $TMP_DIR
# Restaurer le binaire, la config et les données
sudo rsync -av --chown=git:git $TMP_DIR/usr/local/bin/gitea /usr/local/bin/
sudo chmod +x /usr/local/bin/gitea
sudo rsync -av --chown=git:git $TMP_DIR/etc/gitea/ /etc/gitea/
sudo rsync -av --chown=git:git $TMP_DIR/var/lib/gitea/ /var/lib/gitea/
# Permissions
sudo chown -R git:git /var/lib/gitea /etc/gitea
sudo chmod -R 750 /var/lib/gitea /etc/gitea
# Vérifier le répertoire home
sudo mkdir -p /home/git
sudo chown -R git:git /home/git
# Créer le service systemd si absent
if [ ! -f /etc/systemd/system/gitea.service ]; then
echo "⚙️ Création du service systemd Gitea..."
sudo tee /etc/systemd/system/gitea.service > /dev/null <<EOF
[Unit]
Description=Gitea (Git with a cup of tea)
After=syslog.target
After=network.target
[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web -c /etc/gitea/conf/app.ini
Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl enable gitea
fi
# Redémarrer Gitea
sudo systemctl daemon-reload
sudo systemctl restart gitea
sudo systemctl status gitea --no-pager
echo "✅ Restauration terminée avec le backup le plus récent : $BACKUP_TAR"

View File

View File

@ -0,0 +1,48 @@
#!/bin/bash
## install base system
## [JCG] creation d'un script system de base commun à toutes les VMS
IP=$(hostname -I | awk '{print $2}')
#Utilisateur a créer (si vide pas de création)
NOM=""
MDP=""
HDIR=""
APT_OPT="-o Dpkg::Progress-Fancy="0" -q -y"
LOG_FILE="/vagrant/logs/install_sys.log"
DEBIAN_FRONTEND=noninteractive
echo "START - Install Base System on "$IP
echo "=> [1]: Installing required packages..."
apt-get update $APT_OPT \
>> $LOG_FILE 2>&1
apt-get install $APT_OPT \
wget \
gnupg \
unzip \
>> $LOG_FILE 2>&1
echo "=> [2]: Server configuration"
# Ajout de contrib et non-free pour les depots
sed -i 's/main/main contrib non-free/g' /etc/apt/sources.list
# Ajout de la ligne pour le proxy ESEO mais descativé par défaut
echo "#Acquire::http::Proxy \"http://scully.eseo.fr:9999\";" >> /etc/apt/apt.conf
# Pour avoir le clavier en français dans la console VB
# Actif au prochain redémarrage
# sed -i 's/XKBLAYOUT=\"us\"/XKBLAYOUT=\"fr\"/g' /etc/default/keyboard
# sed -i 's/XKBVARIANT=\"\"/XKBVARIANT=\"latin9\" /g' /etc/default/keyboard
/usr/bin/localectl set-keymap fr
echo "=> [3]: Ajout utilisateur"
# ajout utilisateur et autres
if [ -n "$NOM" ] ;then
mkdir -p $HDIR
adduser --home $HDIR --disabled-password --no-create-home $NOM
echo $NOM:$MDP | chpasswd
chown $NOM $HDIR
chmod 755 $HDIR
fi
echo "END - Install Base System on "$IP

View File

@ -0,0 +1,36 @@
#!/bin/bash
## install web server with php
IP=$(hostname -I | awk '{print $2}')
APT_OPT="-o Dpkg::Progress-Fancy="0" -q -y"
LOG_FILE="/vagrant/logs/install_web.log"
DEBIAN_FRONTEND="noninteractive"
echo "START - install web Server - "$IP
echo "=> [1]: Installing required packages..."
apt-get install $APT_OPT \
apache2 \
php \
libapache2-mod-php \
php-mysql \
php-intl \
php-curl \
php-xmlrpc \
php-soap \
php-gd \
php-json \
php-cli \
php-pear \
php-xsl \
php-zip \
php-mbstring \
>> $LOG_FILE 2>&1
echo "=> [2]: Apache2 configuration"
# Add configuration of /etc/apache2
echo "END - install web Server"

View File

@ -0,0 +1,78 @@
sudo apt update
sudo apt install -y git
git --version
wget -O gitea https://dl.gitea.io/gitea/1.23.6/gitea-1.23.6-linux-amd64
chmod +x gitea
sudo mv gitea /usr/local/bin/
sudo adduser --system --group --home /var/lib/gitea --shell /bin/sh git
sudo mkdir -p /var/lib/gitea/
sudo chown -R git:git /var/lib/gitea/
sudo chmod -R 750 /var/lib/gitea/
sudo mkdir -p /etc/gitea/conf
sudo chown -R git:git /etc/gitea
sudo chmod -R 750 /etc/gitea
nano /etc/systemd/system/gitea.service
--------------------
[Unit]
Description=Gitea (Git with a cup of tea)
After=network.target
# Pas besoin de mysql.service car on utilise SQLite
[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/conf/app.ini
Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target
-------------------------------------
nano /etc/gitea/conf/app.ini
-------------------------
[server]
APP_NAME = Gitea: Git with a cup of tea
RUN_USER = git
RUN_MODE = prod
HTTP_PORT = 3000
DOMAIN = 192.168.56.15
ROOT_URL = http://192.168.56.15:3000/
DISABLE_SSH = false
START_SSH_SERVER = false
OFFLINE_MODE = false
[database]
DB_TYPE = sqlite3
PATH = /var/lib/gitea/data/gitea.db
[repository]
ROOT = /var/lib/gitea/data/repositories
[log]
MODE = console
LEVEL = Info
-----------------------------------
chown -R git:git /etc/gitea
chown -R git:git /var/lib/gitea
sudo mkdir /home/git
sudo chown -R git:git /home/git
ls -ld /home/git
systemctl enable gitea
systemctl start gitea
systemctl status gitea

View File

@ -0,0 +1,60 @@
sudo apt update
sudo apt install -y git
git --version
sudo wget -O gitea https://dl.gitea.io/gitea/1.23.6/gitea-1.23.6-linux-amd64
sudo chmod +x gitea
sudo mv gitea /usr/local/bin/
sudo adduser --system --group --home /var/lib/gitea --shell /bin/sh git
----------------
sudo mkdir /home/vagrant/backup
sudo tar -xzf /vagrant/gitea-backup-2025-09-25.tar.gz -C /home/vagrant/backup
sudo mv /home/vagrant/backup/etc/* /etc/
sudo mv /home/vagrant/backup/usr/local/bin/* /usr/local/bin/
sudo mv /home/vagrant/backup/var/lib/gitea/* /var/lib/gitea/
sudo chown -R git:git /var/lib/gitea/
sudo chmod -R 750 /var/lib/gitea/
sudo chown -R git:git /etc/gitea
sudo chmod -R 750 /etc/gitea
sudo nano /etc/systemd/system/gitea.service
--------------------
[Unit]
Description=Gitea (Git with a cup of tea)
After=network.target
# Pas besoin de mysql.service car on utilise SQLite
[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/conf/app.ini
Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target
-------------------------------------
sudo nano /etc/gitea/conf/app.ini
-------------------------
DOMAIN = 192.168.56.15
ROOT_URL = http://192.168.56.15:3000/
-------------------------
sudo mkdir /home/git
sudo chown -R git:git /home/git
ls -ld /home/git
sudo systemctl enable gitea
sudo systemctl start gitea
sudo systemctl status gitea

View File

@ -0,0 +1,37 @@
#!/bin/bash
# Variables
BACKUP_DIR="/backup/gitea"
GITEA_DATA="/var/lib/gitea/data"
GITEA_CONFIG="/etc/gitea"
GITEA_BIN="/usr/local/bin"
DATE=$(date +"%Y-%m-%d")
ARCHIVE_NAME="gitea-backup-$DATE.tar.gz"
# Créer le dossier de sauvegarde s'il n'existe pas
mkdir -p "$BACKUP_DIR"
# Arrêter Gitea pour éviter les incohérences
echo "Arrêt de Gitea..."
systemctl stop gitea
# Vérifier si le répertoire des binaires existe
if [ -d "$GITEA_BIN" ]; then
EXTRA_PATH="$GITEA_BIN"
else
EXTRA_PATH=""
fi
# Création de larchive de sauvegarde
echo "Archivage des fichiers Gitea..."
tar -czf "$BACKUP_DIR/$ARCHIVE_NAME" "$GITEA_DATA" "$GITEA_CONFIG" $EXTRA_PATH
# Redémarrer Gitea
echo "Redémarrage de Gitea..."
systemctl start gitea
# Nettoyage des sauvegardes de plus de 7 jours
echo "Suppression des anciennes sauvegardes..."
find "$BACKUP_DIR" -type f -name "gitea-backup-*.tar.gz" -mtime +7 -exec rm {} \;
echo "Sauvegarde terminée avec succès."

25
Git/Gitea-azure/note.txt Normal file
View File

@ -0,0 +1,25 @@
Acces a VM du Git qui est sur Azure, commande:
zinsouor@master-tc-2026-w11:~/VM_Sauvegarde/VM_Sauvegarde_Gitea$ ls
Gitea_cle.pem logs scripts tuto_install_git.txt Vagrantfile
ssh -i Gitea_cle.pem azureuser@20.19.88.39
--> le fichier qui sauvegarde le git
root@Gitea:~# ls (existe en root)
backup-gitea.sh (un crontab est fait derriere ca: 0 23 * * 4,5,6 /root/backup-gitea.sh)
--> l'endroit où c'est sauvegarder
azureuser@Gitea:~$ cd /backup/
azureuser@Gitea:/backup$ ls
gitea
azureuser@Gitea:/backup$ cd gitea/
azureuser@Gitea:/backup/gitea$ ls
azureuser@Gitea:/backup/gitea$
--> backup vers une vm-sauvegarde local
scp -i ../Gitea_cle.pem azureuser@20.19.88.39:/backup/gitea/gitea-backup-2025-10-02.tar.gz .
scp -i ../cle/Gitea_cle.pem azureuser@20.19.88.39:/backup/gitea/gitea-backup-2025-10-09.tar.gz ../backup/

View File

@ -0,0 +1,129 @@
1- agent de azure et espace de stockage
sudo systemctl status walinuxagent
free -h
2- augmenter l'espace
sudo fallocate -l 1G /swapfile
sudo chmod 600 /swapfile
sudo mkswap /swapfile
sudo swapon /swapfile
sudo apt update
----installer Nginx pour une reidrection de git a l'externe
sudo apt install nginx -y
sudo systemctl enable Nginx
sudo systemctl start Nginx
sudo systemctl status nginx
sudo apt install -y git
git --version
wget -O gitea https://dl.gitea.io/gitea/1.23.6/gitea-1.23.6-linux-amd64
chmod +x gitea
sudo mv gitea /usr/local/bin/
sudo adduser --system --group --home /var/lib/gitea --shell /bin/sh git
sudo mkdir -p /var/lib/gitea/
sudo chown -R git:git /var/lib/gitea/
sudo chmod -R 750 /var/lib/gitea/
sudo mkdir -p /etc/gitea/conf
sudo chown -R git:git /etc/gitea
sudo chmod -R 750 /etc/gitea
nano /etc/systemd/system/gitea.service
--------------------
[Unit]
Description=Gitea (Git with a cup of tea)
After=network.target
# Pas besoin de mysql.service car on utilise SQLite
[Service]
RestartSec=2s
Type=simple
User=git
Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web --config /etc/gitea/conf/app.ini
Restart=always
Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea
[Install]
WantedBy=multi-user.target
-------------------------------------
nano /etc/gitea/conf/app.ini
-------------------------
[server]
APP_NAME = Gitea: Git with a cup of tea
RUN_USER = git
RUN_MODE = prod
HTTP_PORT = 3000
DOMAIN = 20.19.88.39
ROOT_URL = http://20.19.88.39/
DISABLE_SSH = false
START_SSH_SERVER = false
OFFLINE_MODE = false
[database]
DB_TYPE = sqlite3
PATH = /var/lib/gitea/data/gitea.db
[repository]
ROOT = /var/lib/gitea/data/repositories
[log]
MODE = console
LEVEL = Info
-----------------------------------
chown -R git:git /etc/gitea
chown -R git:git /var/lib/gitea
sudo mkdir /home/git
sudo chown -R git:git /home/git
ls -ld /home/git
sudo nano /etc/nginx/sites-available/gitea
----------------------------------------------------------- // a mettre
server {
listen 80;
server_name 20.199.45.80; // a mettre
location / {
proxy_pass http://127.0.0.1:3000; // a mettre
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $http_host;
proxy_set_header X-Forwarded-Proto $scheme;
}
}
-----------------------------------------------------
sudo ln -s /etc/nginx/sites-available/gitea /etc/nginx/sites-enabled/
sudo nginx -t
systemctl enable gitea
systemctl start gitea
systemctl status gitea
sudo systemctl restart nginx
/// fin
systemctl enable gitea
systemctl start gitea
systemctl status gitea

View File

@ -0,0 +1,55 @@
version: "3.8"
services:
prometheus:
image: prom/prometheus:latest
container_name: prometheus-observability
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- "9090:9090"
networks:
- observability
grafana:
image: grafana/grafana:latest
container_name: grafana-observability
ports:
- "3000:3000"
volumes:
- grafana-data:/var/lib/grafana
environment:
- GF_SECURITY_ADMIN_USER=admin
- GF_SECURITY_ADMIN_PASSWORD=admin
networks:
- observability
depends_on:
- loki
loki:
image: grafana/loki:2.8.2
container_name: loki-observability
ports:
- "3100:3100"
command: -config.file=/etc/loki/local-config.yaml
volumes:
- ./loki-config.yaml:/etc/loki/local-config.yaml
- ./loki-wal:/wal
- ./loki-chunks:/loki/chunks
- ./loki-index:/loki/index
networks:
- observability
promtail:
image: grafana/promtail:2.8.2
container_name: promtail-observability
volumes:
- ./promtail-config.yaml:/etc/promtail/config.yaml
- /var/lib/docker/containers:/var/lib/docker/containers:ro
command:
- -config.file=/etc/promtail/config.yaml
networks:
- observability
volumes:
grafana-data:
networks:
observability:
driver: bridge

View File

@ -0,0 +1 @@
{"UID":"714e0dc1-bca9-44e1-aca6-110f8b49de5c","created_at":"2025-09-29T13:46:47.834317171Z","version":{"version":"2.8.2","revision":"9f809eda7","branch":"HEAD","buildUser":"root@e401cfcb874f","buildDate":"2023-05-03T11:07:54Z","goVersion":"go1.20.4"}}

View File

@ -0,0 +1,35 @@
auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
address: 127.0.0.1
ring:
kvstore:
store: inmemory
chunk_idle_period: 5m
chunk_target_size: 1048576
max_transfer_retries: 0
schema_config:
configs:
- from: 2020-10-24
store: boltdb
object_store: filesystem
schema: v11
index:
prefix: index_
period: 168h
storage_config:
boltdb:
directory: /loki/index
filesystem:
directory: /loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h

View File

@ -0,0 +1,44 @@
auth_enabled: false
server:
http_listen_port: 3100
ingester:
lifecycler:
ring:
kvstore:
store: inmemory
replication_factor: 1
chunk_idle_period: 5m
chunk_retain_period: 30s
max_transfer_retries: 0
schema_config:
configs:
- from: 2020-10-24
store: boltdb-shipper
object_store: filesystem
schema: v11
index:
prefix: index_
period: 24h
storage_config:
boltdb_shipper:
active_index_directory: /loki/index
cache_location: /loki/cache
shared_store: filesystem
filesystem:
directory: /loki/chunks
limits_config:
enforce_metric_name: false
reject_old_samples: true
reject_old_samples_max_age: 168h
chunk_store_config:
max_look_back_period: 0s
table_manager:
retention_deletes_enabled: false
retention_period: 0s

View File

View File

@ -0,0 +1,27 @@
# methode 1
# Arrêter tous les containers
docker stop $(docker ps -aq)
# Supprimer tous les containers
docker rm -f $(docker ps -aq)
# Supprimer toutes les images
docker rmi -f $(docker images -q)
# Supprimer tous les volumes
docker volume rm $(docker volume ls -q)
# Supprimer tous les réseaux personnalisés
docker network rm $(docker network ls -q | grep -v "bridge\|host\|none")
# verifier que tt est propre
docker system df
# methode 2
docker system prune -a --volumes --force
# Pour construire
docker compose up --build

View File

@ -0,0 +1,7 @@
global:
scrape_interval: 15s
scrape_configs:
- job_name: 'prometheus'
static_configs:
- targets: ['localhost:9090']

View File

@ -0,0 +1,19 @@
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki:3100/loki/api/v1/push
scrape_configs:
- job_name: docker_logs
static_configs:
- targets:
- localhost
labels:
job: docker
__path__: /var/lib/docker/containers/*/*.log

View File

@ -0,0 +1,18 @@
server:
http_listen_port: 9080
grpc_listen_port: 0
positions:
filename: /tmp/positions.yaml
clients:
- url: http://loki-observability:3100/loki/api/v1/push # URL du service Loki
scrape_configs:
- job_name: 'docker-containers'
static_configs:
- targets:
- localhost
labels:
job: docker
__path__: /var/lib/docker/containers/*/*.log # Chemin vers les logs Docker