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


parent 3825e7a6
......@@ -40,7 +40,7 @@ enabled=1
Install MySQL:
Copy the GPG key in [] to `/etc/pki/rpm-gpg/RPM-GPG-KEY-mysql` and install MySQL:
yum repolist enabled | grep mysql
yum install mysql-community-server
......@@ -50,10 +50,13 @@ systemctl enable mysqld.service
### Create the database
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