简体   繁体   English

使用chef-solo安装mysql

[英]Installing mysql using chef-solo

I have a VM to train myself with chef solo. 我有一个虚拟机,可以单独培训厨师。 Installed it and configured a kitchen. 安装它并配置了一个厨房。 Configured my own VM as the only node in the kitchen. 将我自己的VM配置为厨房中的唯一节点。 Used Librarian to download the mysql cookbook and updated the runlist. 使用图书管理员下载mysql食谱并更新了运行列表。

What is the command to use - to install the mysql on my node? 使用什么命令-在我的节点上安装mysql?

Thanks, Liora 谢谢,莉欧拉

You can use the following command : 您可以使用以下命令:

chef-solo -j JSON_ATTRIBS -c CONFIG

here 这里

  • JSON_ATTRIB is the json data for the VM configuration JSON_ATTRIB是VM配置的json数据
  • CONFIG is the configuration file which contains the runlist to be run on the VM CONFIG是配置文件,其中包含要在VM上运行的运行列表

More help can be found using chef-solo --help 可以使用chef-solo --help找到更多帮助

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM