Skip to content

Commit

Permalink
secure mysqld
Browse files Browse the repository at this point in the history
  • Loading branch information
nachoparker committed Aug 10, 2017
1 parent 20c35ea commit efa3a90
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lamp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,15 @@ EOF
sed -i '/\[mysqld\]/ainnodb_large_prefix=on' /etc/mysql/mariadb.conf.d/50-server.cnf
sed -i '/\[mysqld\]/ainnodb_file_per_table=1' /etc/mysql/mariadb.conf.d/50-server.cnf
sed -i '/\[mysqld\]/ainnodb_file_format=barracuda' /etc/mysql/mariadb.conf.d/50-server.cnf

mysql_secure_installation <<EOF
$DBPASSWD_
n
y
y
y
y
EOF
}

configure() { :; }
Expand Down

0 comments on commit efa3a90

Please sign in to comment.