Skip to content

Commit

Permalink
Ubuntu 24.04
Browse files Browse the repository at this point in the history
- MariaDB 11.4
  • Loading branch information
enoch85 authored Oct 2, 2024
1 parent 4598805 commit 0152151
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions wordpress_install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -213,13 +213,13 @@ 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.10" --skip-maxscale
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version="mariadb-11.4" --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.10 mysql-server/root_password password $MARIADB_PASS"
sudo debconf-set-selections <<< "mariadb-server-10.10 mysql-server/root_password_again password $MARIADB_PASS"
install_if_not mariadb-server-10.10
sudo debconf-set-selections <<< "mariadb-server-11.4 mysql-server/root_password password $MARIADB_PASS"
sudo debconf-set-selections <<< "mariadb-server-11.4 mysql-server/root_password_again password $MARIADB_PASS"
install_if_not mariadb-server-11.4

# mysql_secure_installation
install_if_not expect
Expand Down

0 comments on commit 0152151

Please sign in to comment.