Skip to content

MariaDB 10.6 #81

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jul 31, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### https://www.hanssonit.se/wordpress-vm/

- Ubuntu 20.04 Server
- MariaDB 10.5
- MariaDB 10.6
- NGINX 1.18
- PHP-FPM 7.4
- Latest Wordpress (updates automatically)
Expand Down
8 changes: 4 additions & 4 deletions wordpress_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -206,14 +206,14 @@ done

# Install MariDB repos
install_if_not software-properties-common
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-10.5" --skip-maxscale
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-10.6" --skip-maxscale
# Avoid i386 since we use x64
sed -i "s|deb http|deb [arch=amd64] http|g" /etc/apt/sources.list.d/mariadb.list
# USed debconf to install it
sudo debconf-set-selections <<< "mariadb-server-10.5 mysql-server/root_password password $MARIADB_PASS"
sudo debconf-set-selections <<< "mariadb-server-10.5 mysql-server/root_password_again password $MARIADB_PASS"
sudo debconf-set-selections <<< "mariadb-server-10.6 mysql-server/root_password password $MARIADB_PASS"
sudo debconf-set-selections <<< "mariadb-server-10.6 mysql-server/root_password_again password $MARIADB_PASS"
apt update -q4 & spinner_loading
install_if_not mariadb-server-10.5
install_if_not mariadb-server-10.6

# mysql_secure_installation
install_if_not expect
Expand Down