摘要: STEP 1 : Install Remi Repository and EPEL Repository on your server :RHEL 7 rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarc 阅读全文
posted @ 2020-11-04 16:18 Hall·Morse 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 正常情况下,一般MySQL免密码登录数据库可以通过在~/.my.cnf写入密码实现,然后设置chmod 600,一般来说是比较安全的。 但是如果不想给人知道用户名和实际的密码,但是又想给人用,可以使用MySQL自己带的mysql_config_editor. 执行下面命令,输入MySQL用户root 阅读全文
posted @ 2020-11-04 12:52 Hall·Morse 阅读(359) 评论(0) 推荐(0) 编辑
摘要: Vim 可以用高亮显示空格和TAB。 文件中有 TAB 键的时候,你是看不见的。要把它显示出来: :set list TAB 键显示为 ^I, $显示在每行的结尾,表示换行;空格仍然显示为空格。 :set list 进入List Mode :set nolist 退出List Mode 1) Use 阅读全文
posted @ 2020-11-04 12:16 Hall·Morse 阅读(4010) 评论(0) 推荐(0) 编辑
摘要: [default] callback_whitelist = profile_tasks # The best way I’ve found to time the execution of Ansible playbooks is by enabling the profile_tasks cal 阅读全文
posted @ 2020-11-04 11:32 Hall·Morse 阅读(107) 评论(0) 推荐(0) 编辑