Compare commits
2 Commits
ce0b45c018
...
1e41d55f2a
| Author | SHA1 | Date | |
|---|---|---|---|
| 1e41d55f2a | |||
| 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."
|
||||
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