How can I automate dpkg/apt-get?

后端 未结 5 1206
清歌不尽
清歌不尽 2020-12-06 02:34

I\'m trying to create a script that automatically downloads packages for new servers. However, some things like \'mysql-server\' can not installed automatically cause you ne

5条回答
  •  情书的邮戳
    2020-12-06 03:04

    For packages that ask questions through debconf (which is what puts up the ncurses display), you can pre-answer the questions. For sun-java, the questions can be pre-answered by following the instructions at http://www.davidpashley.com/blog/debian/java-license

提交回复
热议问题