commit 25/09
This commit is contained in:
parent
ce0b45c018
commit
baf9071d0c
29
Git/Git-local/Vagrantfile
vendored
Normal file
29
Git/Git-local/Vagrantfile
vendored
Normal 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
|
||||
591
Git/Git-local/logs/install_sys.log
Normal file
591
Git/Git-local/logs/install_sys.log
Normal 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) ...
|
||||
2220
Git/Git-local/logs/install_web.log
Normal file
2220
Git/Git-local/logs/install_web.log
Normal file
File diff suppressed because it is too large
Load Diff
0
Git/Git-local/scripts/install_git.sh
Normal file
0
Git/Git-local/scripts/install_git.sh
Normal file
48
Git/Git-local/scripts/install_sys.sh
Normal file
48
Git/Git-local/scripts/install_sys.sh
Normal 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
|
||||
36
Git/Git-local/scripts/install_web.sh
Normal file
36
Git/Git-local/scripts/install_web.sh
Normal 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"
|
||||
|
||||
0
Git/Git-local/scripts/restore_git.sh
Normal file
0
Git/Git-local/scripts/restore_git.sh
Normal file
78
Git/Git-local/tuto_install_git.txt
Normal file
78
Git/Git-local/tuto_install_git.txt
Normal 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
|
||||
|
||||
60
Git/Git-local/tuto_restore_git.txt
Normal file
60
Git/Git-local/tuto_restore_git.txt
Normal 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
|
||||
23
Git/Gitea-azure/Note.txt
Normal file
23
Git/Gitea-azure/Note.txt
Normal file
@ -0,0 +1,23 @@
|
||||
Acces a VM du Git qui est sur Azure, commande:
|
||||
|
||||
PS C:\Users\zinso\OneDrive\Desktop\ESEO\Semestre 9\PFE\Git> ssh -i "C:\Users\zinso\OneDrive\Desktop\ESEO\Semestre 9\PFE\Git\Gitea_cle.pem" azureuser@20.19.88.39
|
||||
|
||||
|
||||
Sur Ubuntu: ssh -i "/mnt/c/Users/zinso/OneDrive/Desktop/ESEO/Semestre 9/PFE/Git/Gitea_key_0917.pem" azureuser@48.220.32.215
|
||||
|
||||
--> 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$
|
||||
|
||||
-->
|
||||
|
||||
37
Git/Gitea-azure/backup-gitea.sh
Normal file
37
Git/Gitea-azure/backup-gitea.sh
Normal 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 l’archive 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."
|
||||
39
Git/Gitea-azure/cle/Gitea_cle.pem
Normal file
39
Git/Gitea-azure/cle/Gitea_cle.pem
Normal file
@ -0,0 +1,39 @@
|
||||
-----BEGIN RSA PRIVATE KEY-----
|
||||
MIIG4gIBAAKCAYEAs+7li5cAifTIFZfo3cG/MWGyGODqQeX6+0cwfv9W4+g+nHUh
|
||||
x6lI3dRFdO4zhEB3fUEWwhBcrw1Qkjzk8wEX+hkRIdsZgnxlWcyLbcafcCsvc5S/
|
||||
k+68dGwKn19UC3Dk9QaZxnm08ac0LRothrtIFQLDQIgyCB3qWU2JBMTZREarw3NW
|
||||
JkSr7ARouGAUBERR28GWr4sQQbK+voYxAIm2MrTMNW6+PNRJKPK/85ZzgJIDGoGY
|
||||
kgA8XNpkKB7xgMbsdD0zYbzsupF2IVpZBkG1zVTg6JD71Igrw2JiOr9nbF259tZQ
|
||||
skkmFlWNgjW7MYr/6myfB160SqEbsmXuE7geSp2st+ch1iZPtMsEa5F1kDmd8xyW
|
||||
QtcIEqoqkJg8HTIZJ5lLwzosQpiu7wIox3k4VyqywWCCxS0skIsblGwpoVHEtlod
|
||||
X6L+HMnWDiMazMtKolxbTWyqLGyBoppw4PZG2E1dcENqVE2ZA5wUZwVwiTwQhKC/
|
||||
mRUCAm9wTKIwX7ZVAgMBAAECggGAY9Um0z5i9Cg2Y5S3hWKcPD/iWt9f2lRJ3uVu
|
||||
yOfPRAB1zMVIiskoPrwqFWiceMJ0CbD1eZMueYm/rIPQ2+s9bGxADzLLgpSWfy54
|
||||
Jd5QVCIB3/UmHmQVd9sCQc7YiMiIoFKbO34HoRSOZH/jxp9erRmtT77BU7OVdRsJ
|
||||
7PVzPuifIIB7yhvL79W6bKISORPW/0D35EoaKPmNz5QQ2CWQS634p6TcNE/sj6Ww
|
||||
TuypBSr+QdSp3Ef5NeOOMpyIjlTPqocWZJ0lIHrmdDJdzlEqPGIqnKiLYay+SkBe
|
||||
mfvj/O4+LMlPd/EUn59cy+7t9LRJ6nBizEFyqvh8R27CGMjeJROQ92a+tbHxnEod
|
||||
Ia+jGs8APoUPd0e2lFqxrzDypIlv4UOIgUdqWv04b9L0HB82w9RsAc5eTHsMea1f
|
||||
ToSP2E7Z4MXPeAxIsWwqopLOvuG59N5IUKyRzNK7HZ7NvTU1A4qZXiX441mEDNEG
|
||||
SDawPDB6XdLqw8FSvDmtN/uLgN05AoHBAM3EkBG9oBBAunNvePB3E8A+AMSnHD8S
|
||||
TrSfsxwh/jDoCHIpsFzJR75QEOskWdWmcMOzY/8YYZplFpVyL5XHxtpJz7LzO3wK
|
||||
KgIqL7xb1z2EnjJR6YTYhppZdyWTOkg4LwcAebAtoYX/9jBCfIt5TsHzts+/7UFr
|
||||
80jwWXAa9TYm5vOLqLv6l8n6OL0dIReqHid6lQazK/NHS8Ch5I2I6sPmafSvwPLW
|
||||
BBJjsW5zotNiKANGjJ9G+yZJA1hrlEqNWwKBwQDf280l7XYNCNSxY75UO3ioQU68
|
||||
5DoM5DazuXvAPjZL/SCUPK74EhPuBcPtdFqWuFA/eaXX7ySvHSyxv7vKq+cz0zyJ
|
||||
Gfy1fRjpMVD2JGuhMRWRPw0iws4KPOrTflAftzYvnG1HjmVn9ftTOB52hgYzkkGH
|
||||
W6w06GdGqYWjXiDTitMP9NoQJp0AKmuM4lBgQyT4iSu8DWHTrTOgmFb1z/4y503D
|
||||
Mg+81WCLv2XntUw0X/AXtdwiw8XL6Yfg50TZqg8CgcAAg9FoefUAlWjiCRFgaKvf
|
||||
+0e9Nj3X2o/f29Zy55LfRHVg88HBOa+4RjMEo56l7jiyBKznYoQ8Aqy/yv1bfph8
|
||||
y1p9tCYd9ViNkNV1vzUWrlJHBfVzo6cSk868hVXMAHf9qH6ldjfFQhK3pDLzlmYg
|
||||
DiAS/QP2+fIt6IwQv8CFViuVyG+vqLzggIPL1VrT2FUi/CeLUL93aGJEJSORRxpv
|
||||
SxBQ0G/HK8nu0dkL0bZCmShIedC4RVEzk1My0XIZjakCgcBOaYOWgXMUZb9602Fb
|
||||
x+kfpqCZ8aeT1GyEz7fVQvVp8KR0yDzRkCODAGn8xwDkQnN5iHbbCF1lKWb6bBqv
|
||||
hz9ZG+jcbUnjmIodRLUDQwagU70mP1uujWX2mBf5NQmD0n0ceEKfCfXjUHpUUBf7
|
||||
lD6f2d8yNp4/ehiS29Z/vvzonHwJ3s5zUdM0t6cslilpTpuoowO6v0VBDC5FVpc/
|
||||
SzfTRMosUWDJ2EQVL1nWq96hieljpMQTOVgTcR2zXc70H2kCgcBIHEWbM5etr2zr
|
||||
lN91E8SHVqy3Yi08AgQOET6XDdWBPEYQvnSeXtHSuOnBbHAKuosn14eu4RHFndEH
|
||||
6uuqGir94xrcaGcnHLsOxp+WML7z7SmiY8sGVOOU/1oRHn5PI+qeDRv2GuAAkNJt
|
||||
qViJ9LjeqKRmnOPy27qe12hiT7K6laXywPPO7hjUcGokPEm+qH5SRnuYbPjbCA0J
|
||||
yZ0UQKduUTbmkNK8TpOpeFwd1bAkZlFuycjYBd3EOcjgLyHWfWc=
|
||||
-----END RSA PRIVATE KEY-----
|
||||
36
Git/Gitea-azure/cle/Gitea_cle.ppk
Normal file
36
Git/Gitea-azure/cle/Gitea_cle.ppk
Normal file
@ -0,0 +1,36 @@
|
||||
PuTTY-User-Key-File-2: ssh-rsa
|
||||
Encryption: none
|
||||
Comment: Imported-Openssh-Key
|
||||
Public-Lines: 9
|
||||
AAAAB3NzaC1yc2EAAAADAQABAAABgQCz7uWLlwCJ9MgVl+jdwb8xYbIY4OpB5fr7
|
||||
RzB+/1bj6D6cdSHHqUjd1EV07jOEQHd9QRbCEFyvDVCSPOTzARf6GREh2xmCfGVZ
|
||||
zIttxp9wKy9zlL+T7rx0bAqfX1QLcOT1BpnGebTxpzQtGi2Gu0gVAsNAiDIIHepZ
|
||||
TYkExNlERqvDc1YmRKvsBGi4YBQERFHbwZavixBBsr6+hjEAibYytMw1br481Eko
|
||||
8r/zlnOAkgMagZiSADxc2mQoHvGAxux0PTNhvOy6kXYhWlkGQbXNVODokPvUiCvD
|
||||
YmI6v2dsXbn21lCySSYWVY2CNbsxiv/qbJ8HXrRKoRuyZe4TuB5Knay35yHWJk+0
|
||||
ywRrkXWQOZ3zHJZC1wgSqiqQmDwdMhknmUvDOixCmK7vAijHeThXKrLBYILFLSyQ
|
||||
ixuUbCmhUcS2Wh1fov4cydYOIxrMy0qiXFtNbKosbIGimnDg9kbYTV1wQ2pUTZkD
|
||||
nBRnBXCJPBCEoL+ZFQICb3BMojBftlU=
|
||||
Private-Lines: 21
|
||||
AAABgGPVJtM+YvQoNmOUt4VinDw/4lrfX9pUSd7lbsjnz0QAdczFSIrJKD68KhVo
|
||||
nHjCdAmw9XmTLnmJv6yD0NvrPWxsQA8yy4KUln8ueCXeUFQiAd/1Jh5kFXfbAkHO
|
||||
2IjIiKBSmzt+B6EUjmR/48afXq0ZrU++wVOzlXUbCez1cz7onyCAe8oby+/Vumyi
|
||||
EjkT1v9A9+RKGij5jc+UENglkEut+Kek3DRP7I+lsE7sqQUq/kHUqdxH+TXjjjKc
|
||||
iI5Uz6qHFmSdJSB65nQyXc5RKjxiKpyoi2GsvkpAXpn74/zuPizJT3fxFJ+fXMvu
|
||||
7fS0SepwYsxBcqr4fEduwhjI3iUTkPdmvrWx8ZxKHSGvoxrPAD6FD3dHtpRasa8w
|
||||
8qSJb+FDiIFHalr9OG/S9BwfNsPUbAHOXkx7DHmtX06Ej9hO2eDFz3gMSLFsKqKS
|
||||
zr7hufTeSFCskczSux2ezb01NQOKmV4l+ONZhAzRBkg2sDwwel3S6sPBUrw5rTf7
|
||||
i4DdOQAAAMEA39vNJe12DQjUsWO+VDt4qEFOvOQ6DOQ2s7l7wD42S/0glDyu+BIT
|
||||
7gXD7XRalrhQP3ml1+8krx0ssb+7yqvnM9M8iRn8tX0Y6TFQ9iRroTEVkT8NIsLO
|
||||
Cjzq035QH7c2L5xtR45lZ/X7UzgedoYGM5JBh1usNOhnRqmFo14g04rTD/TaECad
|
||||
ACprjOJQYEMk+IkrvA1h060zoJhW9c/+MudNwzIPvNVgi79l57VMNF/wF7XcIsPF
|
||||
y+mH4OdE2aoPAAAAwQDNxJARvaAQQLpzb3jwdxPAPgDEpxw/Ek60n7McIf4w6Ahy
|
||||
KbBcyUe+UBDrJFnVpnDDs2P/GGGaZRaVci+Vx8baSc+y8zt8CioCKi+8W9c9hJ4y
|
||||
UemE2IaaWXclkzpIOC8HAHmwLaGF//YwQnyLeU7B87bPv+1Ba/NI8FlwGvU2Jubz
|
||||
i6i7+pfJ+ji9HSEXqh4nepUGsyvzR0vAoeSNiOrD5mn0r8Dy1gQSY7Fuc6LTYigD
|
||||
RoyfRvsmSQNYa5RKjVsAAADBAJFoiDYmhiQdmpBFbwqBLwRN1p9yLjQ9c1ifzQCp
|
||||
Qr1KdTV7wHjkXsNXKfB2/sbHJAE3yhyMFyTbpctVzp5k48xkwWoMF1Q4CGvdg9D+
|
||||
QSassgpgvUwBstqtGU9XE8FU/AzrcbrP5pvi4fKPdOdY54TOO/mhnzkJMdDW4paI
|
||||
NC3bt9bMYEZkIdMit2e341924g5S6d5h4vfzuMkLocxT4d+v1ikvSQtv5l5ceZPm
|
||||
3gQriFG/DlOxzi9gR1guZ+1mdw==
|
||||
Private-MAC: 88ac8a42d1f720bf0f287f381488258b1553bc16
|
||||
129
Git/Gitea-azure/tuto_install_git.txt
Normal file
129
Git/Gitea-azure/tuto_install_git.txt
Normal 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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user