All posts in Linux
Bảo mật an toàn thông tin là một trong những yếu tố quan trọng nhất trên môi trường Internet. Nếu hệ thống máy tính có lỗ hổng bảo mật, hacker bên ngoài có thể truy cập và điểu khiển traffic từ máy tính và website. Và đó cũng là lí . . . Read more
yum install ntp -y ntpd -gq
firewall-cmd –zone=public –add-port=80/tcp –permanent firewall-cmd –zone=public –add-port=443/tcp –permanent firewall-cmd –reload
Sorry you have no rights to view this entry!
Sorry you have no rights to view this entry!
df -Th
nc -ul 5060
51 Run the following. It’ll insert the rule at the top of your iptables and will allow all traffic unless subsequently handled by another rule. iptables -I INPUT -j ACCEPT You can also flush your entire iptables setup with the following: iptables -F iptables -X iptables -t nat -F iptables . . . Read more
sudo adduser <username> www-data sudo chown -R www-data:www-data /var/www sudo chmod -R g+rwX /var/www