Virtualmin setup differed. No option for "Yes for MySQL and NO for PostgreSQL", only MariaDB and PostgreSQL.
MariaDB is the default so I chose that.
-
I think that might make the "Configuring MySQL database" section defunct. IE: "sudo nano /etc/mysql/mysql.conf.d/mysql.cnf" does not exist.
Can we just skip this whole section now?
-
Also, I had to use "sudo" in this line:
sudo sh ./install.sh --minimal
-
When I "Enter mysql_secure_installation" it asks for root password, and none of the root passwords work. Even after I do "sudo -i" and change the root pw with "passwd".
-
I can log into https://sendy.mydomain.com:10000/ with Virtualmin’s root password.
That password doesn't work for the above sequence either though.
I tried method 1 & 2 here https://linuxhandbook.com/authentication-token-manipulation-error.
-
I used these instructions for the key file https://vpsfix.com/3052/key-pair-login-amazon-ec2-instance/.
-
Not sure if this is related:
sudo su sendy
mkdir .ssh
mkdir: cannot create directory ‘.ssh’: Permission denied
-
sudo mkdir .ssh
works. But it asks for PW again, and the PW still doesn't work.
[sudo] password for sendy:
-
I went to AWS IAM and see there's no PW for "user sendy", but pressing "enter" without inputting any PW above doesn't work either.
-
These FileZilla instructions may be helpful: https://vpsfix.com/3034/connect-linux-vps-ssh-puttyfilezilla/
But why can't we just use Virtualmin's file manager? I did that and it seemed to work fine.