2
如何编写Expect脚本以安装mariadb?
环境:centos7 + mariadb5.5.64。 让我在运行时在屏幕上显示安装信息mysql_secure_installation。 # mysql_secure_installation NOTE: RUNNING ALL PARTS OF THIS SCRIPT IS RECOMMENDED FOR ALL MariaDB SERVERS IN PRODUCTION USE! PLEASE READ EACH STEP CAREFULLY! In order to log into MariaDB to secure it, we'll need the current password for the root user. If you've just installed MariaDB, …