Setting CentOS up for Django
Enable repositories: AppStream, epel-playground
[foo@bar:~]# dnf config-manager --set-enabled AppStream epel-playground
[foo@bar:~]# dnf install mariadb-server
[foo@bar:~]# systemctl restart mariadb
[foo@bar:~]# mysql_secure_installation
To set a root password for MariaDB, if there's no password yet
[foo@bar:~]# systemctl restart mariadb
[foo@bar:~]# mysqladmin -u root password "NEWPASSWORD"
[foo@bar:~]# mysql -u root -p root
MariaDB [(none)]> create database renodb;
MariaDB [(none)]> exit;
[foo@bar:~]# dnf install python3-django -y
[foo@bar:~]# dnf install mariadb-connector-c-devel
[foo@bar:~]# pip3 install mysqlclient
[foo@bar:~]# dnf install snapd
[foo@bar:~]# systemctl enable --now snapd.socket
[foo@bar:~]# ln -s /var/lib/snapd/snap /snap
[foo@bar:~]# snap install pycharm-community --classic