master
artemdolgiy 2021-10-20 13:03:20 +03:00
parent fbb4c374b6
commit 26dc6906d6
1 changed files with 10 additions and 2 deletions

View File

@ -350,8 +350,16 @@ sudo yum module install php:7.3
4. Загрузите из репозитория пакет httpd не устанавливая, проверьте есть ли в этом пакете какие-либо скрипты.
```bash
yum --downloadonly httpd
rpm -qp --scripts httpd-2.4.37-39.module_el8.4.0+778+c970deab.x86_64.rpm
sudo yum install --downloadonly --downloaddir /tmp httpd
[user@host ~]$ ls -l /tmp/httpd-
httpd-2.4.37-39.module_el8.4.0+2582+54659116.1.alma.x86_64.rpm
httpd-filesystem-2.4.37-39.module_el8.4.0+2582+54659116.1.alma.noarch.rpm
httpd-tools-2.4.37-39.module_el8.4.0+2582+54659116.1.alma.x86_64.rpm
[user@host ~]$ ls -l /tmp/httpd-2.4.37-39.module_el8.4.0+2582+54659116.1.alma.x86_64.rpm
-rw-r--r--. 1 root root 1465828 окт 20 12:59 /tmp/httpd-2.4.37-39.module_el8.4.0+2582+54659116.1.alma.x86_64.rpm
[user@host ~]$ rpm -qp --scripts /tmp/httpd-2.4.37-39.module_el8.4.0+2582+54659116.1.alma.x86_64.rpm
```
[вверх](#top)