# pkg install -y mysql80-client mysql80-server
Будет задан вопрос ... отвечаем = y = :
Press y|Y for Yes, any other key for No: y
Проверить версию
# mysql --version
mysql Ver 8.0.32 for FreeBSD14.2 on amd64 (Source distribution)
Enable and start MySQL
Отправляем MySQL в /etc/rc.conf :
# sysrc mysql_enable=yes
mysql_enable: yes
Запускаем MySQL :
# service mysql-server start
Starting mysql.
MySQL Startup Confirmation
Проверяем статус :
# service mysql-server status
mysql is running as pid 59141
Настраиваем Mysql :
# mysql_secure_installation
Press y|Y for Yes, any other key for No: y
Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 0
New password:
Re-enter new password:
Do you wish to continue with the password provided?(Press y|Y for Yes, any other key for No) : y
Remove anonymous users? (Press y|Y for Yes, any other key for No) : y
Disallow root login remotely? (Press y|Y for Yes, any other key for No) : y
Remove test database and access to it? (Press y|Y for Yes, any other key for No) : y
Reload privilege tables now? (Press y|Y for Yes, any other key for No) : y
All done!
Установка PHP8
Установка Apache24
Установка WEBMIN
Установка SAMBA