내가 실행하면 :
sudo apt-get --yes install postfix
또는
sudo bash -c 'yes | apt-get --yes install postfix'
접미사를 구성하기위한 대화 형 프롬프트가 나타납니다. postfix 설치를 자동화해야합니다 (설치 후 구성 파일을 수정할 수 있음).
사람의 개입없이 postfix (및 기타 패키지)를 설치할 수있는 마법이 있습니까?
를 설정 DEBIAN_FRONTEND
합니다 noninteractive
:
DEBIAN_FRONTEND=noninteractive apt-get ...
이것은 또한에 적용 dpkg --reconfigure
, dpkg-configure
등
에서 man 7 debconf
:
noninteractive
This is the anti-frontend. It never interacts with you at all,
and makes the default answers be used for all questions. It
might mail error messages to root, but that's it; otherwise it
is completely silent and unobtrusive, a perfect frontend for
automatic installs. If you are using this front-end, and require
non-default answers to questions, you will need to preseed the
debconf database; see the section below on Unattended Package
Installation for more details.
설정 noninteractive
하면 debconf
을 사용하여 질문에 답하는 것을 고려해야 debconf-set-selections
합니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다