.run パッケージの自動インストール

.run パッケージの自動インストール

単一のコマンド実行で.runファイル(この場合はxampp)を自動的にインストールしようとしています。これにはユーザーの対話型応答が必要です。

これは手動インストールです:

sudo ./xampp-linux-1.8.3-5-installer.run
----------------------------------------------------------------------------
Welcome to the XAMPP Setup Wizard.

----------------------------------------------------------------------------
Select the components you want to install; clear the components you do not want 
to install. Click Next when you are ready to continue.

XAMPP Core Files : **Y** (Cannot be edited)

XAMPP Developer Files [Y/n] :**n**

Is the selection above correct? [Y/n]: **Y**

----------------------------------------------------------------------------
Installation Directory

XAMPP will be installed to /opt/lampp
Press **[Enter]** to continue:

----------------------------------------------------------------------------
Setup is now ready to begin installing XAMPP on your computer.

Do you want to continue? [Y/n]: **Y**

----------------------------------------------------------------------------
Please wait while Setup installs XAMPP on your computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

----------------------------------------------------------------------------
Setup has finished installing XAMPP on your computer.

ユーザーの介入なしに最初から次のユーザーエントリをどのようにプリセットできますか? [入力]ですか?はい

ベストアンサー1

そして神秘的

 --optionfile <optionfile>      Installation option file

と組み合わせる文書が見つかりません--mode unattended

そうでなければ、私はhackish echo -e "YNY\nY" | <command>where will beに<command>いくつかの成功を収めましたsudo ./xampp-linux-1.8.3-5-installer.run。 (参考までに、私はXAMPPではなくEMC Networkerのインストールを完了しました。)

おすすめ記事