Commit 6df4d335 authored by Daniela Daniel's avatar Daniela Daniel
Browse files

Update README.md

parent 3825e7a6
......@@ -40,7 +40,7 @@ enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
```
Install MySQL:
Copy the GPG key in [https://dev.mysql.com/doc/refman/5.7/en/checking-gpg-signature.html] to `/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql` and install MySQL:
```sh
yum repolist enabled | grep mysql
yum install mysql-community-server
......@@ -50,10 +50,13 @@ systemctl enable mysqld.service
### Create the database
```sh
mysql -u root
# get the temporary root password
sudo grep 'temporary password' /var/log/mysqld.log
mysql -u root -p
mysql> ALTER USER 'root'@'localhost' IDENTIFIED BY 'vsftpd';
mysql> CREATE DATABASE vsftpd;
mysql> exit;
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql
mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql -p
```
### FTP
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment