Topic: Mac Terminal (Big Sur) I'm trying to install and host a WordPress application through this AWS
Mac Terminal (Big Sur)
I'm trying to install and host a WordPress application through this AWS
Every time I would log into an EC2 instance on the macOS Big Sur terminal, I would get this warning: '-bash: warning: setlocale: LC_CTYPE: cannot change locale (UTF-8): No such file or directory'.
So, I learned that I should use the command
'/etc/environment'
and then
'LANG=en_US.utf-8
LC_ALL=en_US.utf-8'.
When I ran the command '/etc/environment', I got 'Password+key symbol', but the terminal wouldn't respond to anything I write. I wasn't even sure which password I should write (because I have no technical background -- still learning and experimenting with AWS), so I wrote my Mac password, but it still wouldn't respond to anything I write, so I simply closed the terminal.
Then, I created a new instance and when I tried to SSH into it using the following command and hit return, it simply moved to the following line without doing anything.
'chmod 600
ssh -i ec2-user@'
Apparently, I did something -- or didn't do -- when I didn't type in a password for the '/etc/environment' command. My question is whether this is something I can solve as something no technical background -- both fix the terminal and do something about the EC2 login warning.