wsl_ubuntu_for_key
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| wsl_ubuntu_for_key [2025/04/07 19:22] – kenson | wsl_ubuntu_for_key [2025/04/07 19:31] (current) – kenson | ||
|---|---|---|---|
| Line 46: | Line 46: | ||
| < | < | ||
| sudo apt install apache2 | sudo apt install apache2 | ||
| - | sudo apt install mysql-server | ||
| sudo apt install php libapache2-mod-php php-mysql | sudo apt install php libapache2-mod-php php-mysql | ||
| + | sudo apt install mysql-server | ||
| + | </ | ||
| + | |||
| + | Next go through the basic mysql setup | ||
| + | |||
| + | < | ||
| + | |||
| + | It will prompt for your sudo password if you haven' | ||
| + | |||
| + | < | ||
| + | [sudo] password for spiderkey: | ||
| + | |||
| + | Securing the MySQL server deployment. | ||
| + | |||
| + | Connecting to MySQL using a blank password. | ||
| + | |||
| + | VALIDATE PASSWORD COMPONENT can be used to test passwords | ||
| + | and improve security. It checks the strength of password | ||
| + | and allows the users to set only those passwords which are | ||
| + | secure enough. Would you like to setup VALIDATE PASSWORD component? | ||
| + | |||
| + | Press y|Y for Yes, and other key for No: y | ||
| + | |||
| + | There are three levels of password validation polocy: | ||
| + | |||
| + | LOW Length >=8 | ||
| + | MEDIUM Length >=8, numeric, mixed case, and special characters | ||
| + | STRONG Length >=8, numeric, mixed case, special characters and dictionary | ||
| + | file | ||
| + | |||
| + | Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 1 | ||
| + | Please set the password for root here. | ||
| </ | </ | ||
| + | Note this is the password for MySQL root, not system root. | ||
wsl_ubuntu_for_key.1744053758.txt.gz · Last modified: 2025/04/07 19:22 by kenson
