Kategorie: Linux

MariaDB installation in Ubuntu 22.04

The following guide describes the installation and initial configuration of MariaDB in Ubuntu 22.04
We will do the whole thing in a few minutes through the console.

We run the terminal and first update the packages:

apt update -y

the next step is installation, Ubuntu has ready-made MariaDB packages in its repos

apt-get install mariadb-server mariadb-client -y

We activate the service in the system:

systemctl start mariadb
systemctl enable mariadb

Now we will do the initial configuration. The following guide describes how to install the Webmin panel on a Debian system:

mysql_secure_installation

I answer questions:

Enter current password for root (enter for none): 

We click enter, we do not have the mysql root password yet.

Switch to unix_socket authentication [Y / N] Y

We set the authorization method by clicking Y

Change the root password? [Y / N] Y

We change the root password by confirming Y

New password: 
Re-enter new password: 

We enter the new root password and repeat it.

Remove anonymous users? [Y / N] Y

We delete all anonymous users with the Y key

Disallow root login remotely? [Y / N] Y

We disable remote login to the root account

Remove test database and access to it? [Y / N] Y

Delete the test database with the Y key

Reload privilege tables now? [Y / N] Y

We are overcharging the permissions .

That's all.

Linux

Udostępnij
Opublikowane przez
Linux

Recent posts

KeePass2 2.52 w Ubuntu 22.04

The guide below describes how to install KeePass on Ubuntu. Całość wykonamy za pomocą kilku poleceń

2 years temu

Installing Master PDF editor in Ubuntu 22.04

Master PDF Editor is a comprehensive PDF program, which includes many features. Oprócz tworzenia i edycji

2 years temu

iotop - memory monitoring

Iotop jest prostym narzędziem dla systemów Uniksowych umożliwiającym monitorowanie użycia dowolnego nośnika pamięci flash/hdd/ssd w

2 years temu

Run multiple commands in one cron job

You can separate two or more commands with semicolons (;), Semicolon (;): służy do oddzielania

2 years temu

Changing the exif data of a photo in the Linux terminal

Poniższy poradnik opisuje w jaki sposób za pomocą konsoli możemy dokonać edycji danych zdjęcia exif.

2 years temu

Installing Rocket.Chat Server on Rocky Linux 8

The following guide describes how to install Rocket.Chat on Rocky Linux 8 Całość bardzo prosto zainstalujemy

2 years temu