Browse Source

fixed typo

pull/3/head
Sebastian Rieger 9 months ago
parent
commit
5c06e7437b
  1. 4
      faafo/contrib/install.sh

4
faafo/contrib/install.sh

@ -89,13 +89,13 @@ if [[ -e /etc/os-release ]]; then
#sudo sed -i -e "/bind-address/d" /etc/mysql/mysql.conf.d/mysqld.cnf
##sudo sed -i -e "/bind-address/d" /etc/mysql/my.cnf
sudo sed -i -e "s/127.0.0.1/0.0.0.0/g" /etc/mysql/mariadb.conf.d/50-server.cnf
sudo mysqmladmin password password
sudo mysqladmin password password
sudo systemctl restart mariadb
elif [[ $ID = 'fedora' ]]; then
# fedora currently not tested nor supported
sudo dnf install -y mariadb-server python3-mysql
printf "[mysqld]\nbind-address = 127.0.0.1\n" | sudo tee /etc/my.cnf.d/faafo.conf
sudo mysqmladmin password password
sudo mysqladmin password password
sudo systemctl enable mariadb
sudo systemctl start mariadb
else

Loading…
Cancel
Save