October 12

install mariadb in ubuntu

1 apt-get update; apt-get upgrade
2 apt-get install -y mariadb-server htop rsync mc nano vim
3 mysql_secure_installation
4 echo "update user set plugin='' where User='root'; flush privileges;" | mysql -u root -p mysql
5 apt-get install -y phpmyadmin
6 nano /etc/mysql/mariadb.conf.d/50-server.cnf (need to comment line bind-address)
7 /etc/init.d/mysql restart


Copyright 2021. All rights reserved.

Posted 12 October 2016 by admin in category "simple memo

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.