When trying to run this script I am getting the following ouput with errors.
I've ran this script dozens of times since you made it and I've never ran into this problem.
[root@ModernNerds-App ~]# curl -s https://raw.githubusercontent.com/yaroslav-gwit/WordpressAutoinstallerSh/main/wordpress-installation-freebsd12.sh | bash -
You passed the root user check, all good.
bash is a sane choise of shell, proceeding with the install.
Installing and configuring software: ..bash: line 89: mysql: command not found
bash: line 98: mysql: command not found
..cp: /usr/local/etc/php.ini-production: No such file or directory
bash: line 114: /usr/local/etc/apache24/Includes/php.conf: No such file or directory
.. Done
Downloading WordPress, WP-CLI and populating default config files: .cp: /usr/local/etc/apache24/httpd.conf: No such file or directory
rm: /usr/local/etc/apache24/httpd.conf: No such file or directory
bash: line 153: /usr/local/etc/apache24/httpd.conf: No such file or directory
..rm: /usr/local/www/apache24/data/index.html: No such file or directory
cp: /usr/local/www/apache24/data is not a directory
chown: /usr/local/www/apache24/data/: No such file or directory
chown: /usr/local/www/apache24/data/.htaccess: No such file or directory
bash: line 338: /usr/local/www/apache24/data/.htaccess: No such file or directory
bash: line 339: /usr/local/www/apache24/data/.htaccess: No such file or directory
bash: line 340: /usr/local/www/apache24/data/.htaccess: No such file or directory
bash: line 341: /usr/local/www/apache24/data/.htaccess: No such file or directory
bash: line 342: /usr/local/www/apache24/data/.htaccess: No such file or directory
bash: line 343: /usr/local/www/apache24/data/.htaccess: No such file or directory
.bash: line 367: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
sed: /usr/local/www/apache24/data/wp-config.php: No such file or directory
. Done
Initializing the WordPress installation and removing the default trash: ..... Done
Writing down all passwords to wordpress-creds.txt: ..... Done
The installation is now finished. In case you forgot, this VM IP is: 192.168.1.188
Go to https://192.168.1.188/wp-admin/ if you'd like to configure or test your new WordPress website.
Your admin username: defadm_csgo and password: aBMhzT6xytcNIPST7PO3tLgiDgwq06hcfiniaWXf9pho3i1o1CVs