Responses are grouped in five classes: Informational responses ( 100 – 199 ), Successful responses ( 200 – 299 ), Redirects ( 300 – 399 ), Client errors ( 400 – 499 ), and Server errors ( 500 – 599 ).
Month: July 2020
Yep. We’ve probably all run into those “chirpy” little b….s. What do you do when it is not just a battery that needs changing? I’ve had to swap out old smoke alarms at least a couple times in my life and I keep forgetting the secret. So, I’m going to write it down this time. …
touch $HOME/.pgpasschmod 600 $HOME/.pgpass Contents of the file .pgpass will be in the format: hostname:port:database:username:password https://www.postgresql.org/docs/current/libpq-pgpass.html
!/bin/bash yum update -yyum install -y httpdservice httpd start You will have to update the security group to allow http traffic on port 80 – there is a default for it, and if you choose 0.0.0.0/0
Apparently for connections to mariadb the users client host needs to be in the create user statement, in the form of: create ‘username’@’your-host.lv.lv.cox.net’ identified by ‘Pass#_22word’; grant all privileges on *.* to ‘username’@’yourhost.lv.lv.cox.net’ with grant option; Not sure if there is an option to turn off this requirement – a form of database whitelisting hosts… …
One good way to find out what applications is listening to which interface and on what port is to use netstat You can do this as root: netstat -tlnp