What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-26 20:36:02
could not connect to server: Connection refused Is the server running on host and accepting TCP/IP connections on port 5432?
cd /etc/postgresql/9.x/main/ ------- open file named postgresql.conf sudo nano postgresql.conf ------- add this line to that file listen_addresses = '*' ------- then open file named pg_hba.conf sudo nano pg_hba.conf ------- and add this line to that file ... Add solution -
Shell/Bash 2021-08-26 17:26:01
ubuntu lemp
// NGINX sudo apt update sudo apt install nginx // MYSQL sudo apt install mysql-server sudo mysql ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password'; FLUSH PRIVILEGES; exit; sudo mysql -u root -p // PHP sudo apt install p... Add solution -
-
Shell/Bash 2021-08-26 11:12:02
ufw config file location ubuntu
sudo nano /etc/ufw/user.rules Add solution -
Shell/Bash 2021-08-26 11:09:03
mac host file
sudo nano /etc/hosts sudo killall -HUP mDNSResponder Add solution