mirror of
https://github.com/nextcloud/nextcloudpi.git
synced 2026-01-10 15:12:01 -03:30
secure mysqld
This commit is contained in:
parent
20c35ea3fb
commit
efa3a90a2e
9
lamp.sh
9
lamp.sh
@ -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() { :; }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user