[英]Chef recipe for mysql secure installation
I am looking for help regarding secure installation of mysql using chef. 我正在寻找有关使用Chef安全安装mysql的帮助。 I am pretty much new to chef and I am unable to figure out few things.
我是厨师的新手,我无法弄清几件事。 I would like to know how mysql secure installation can be done.
我想知道如何进行mysql安全安装。
After installing and starting the mysql daemon which is pretty straightforward, I need to secure mysql 安装并启动非常简单的mysql守护程序后,我需要保护mysql
I see my road blocks here 我在这里看到我的路障
How do I change the temporary password of root user in mysql. 如何在mysql中更改root用户的临时密码。 The following linux command gives me the initial temporary password.
以下linux命令为我提供了初始临时密码。
cat /var/log/mysqld.log |grep "temporary password"|awk '{print $NF}'
How to I change this to my desired password? 如何将其更改为所需的密码?
The answer to any "How do I do X with Chef?" 关于“如何与厨师一起X的答案”的答案 is to work out how you would do it without Chef, and then put that in a recipe.
是要弄清楚没有厨师的情况下如何做,然后将其放入食谱中。 "Secure installation of mysql" means many things to many people, so you'll have to work out exactly what that means for you.
“安全安装mysql”对许多人来说意味着很多事情,因此您必须确切地了解这对您意味着什么。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.