sudo mkdir /etc/nginx/sites-available
sudo mkdir /etc/nginx/sites-enabled
include /etc/nginx/sites-enabled/*;
#!/bin/bash | |
# CHANGE THESE | |
auth_email="[email protected]" | |
auth_key="c2547eb745079dac9320b638f5e225cf483cc5cfdda41" # found in cloudflare account settings | |
zone_name="example.com" | |
record_name="www.example.com" | |
# MAYBE CHANGE THESE | |
ip=$(curl -s http://ipv4.icanhazip.com) |
sudo systemctl start mongod
sudo systemctl status mongod
sudo systemctl stop mongod
sudo systemctl enable mongod // tự động bặt servẻ khi khởi động máy
sudo systemctl restart mongod