Đảm bảo server của bạn hoàn toàn sạch, chúng ta sẽ scan toàn bộ hệ thống bằng 3 công cụ: maldet, rkhunter, lynis. INSTALL MALDET (Linux Malware Detect): cd /usr/local/src sudo wget http://www.rfxn.com/downloads/maldetect-current.tar.gz sudo tar -xzf maldetect-current.tar.gz cd...
Công cụ lập trình
How to fix wordpress “cURL error 77” on Centos php7, php8
Simple way to fix it if you use webserver NGINX yum reinstall ca-certificates service php-fpm restart service nginx restart ...
Sửa lỗi khi yum trên CentOS 8 – Failed to download metadata for repo ‘AppStream’
Khi gõ lệnh YUM trên Cenos8 lỗi như sau [root@vps~]# yum update CentOS-8 – AppStream 70 B/s | 38 B 00:00 Error: Failed to download metadata for repo ‘AppStream’: Cannot prepare internal mirrorlist: No URLs in mirrorlist Bước 1: Đi tới thư mục /etc/yum.repos.d/[/code] [root@vps~]#...
Code đếm ngược sử dụng jQuery sau đó lấy kết qủa từ AJAX
Cách seo của mấy đồng chí PTU là bắt người tải dữ liệu về phải truy cập vào 1 trang nào đó để lấy mã giải nén. Dưới đây mình xin show 1 đoạn code hoạt động tương tự như các trang web lấy mã đó Mã HTML đơn giản như sau, kèm thư viện...
Cách cài đặt PIP trên CentOS 7
I. Introduction What is PIP? PIP is a package management system that simplifies the installation and management of software packages written in Python, such as those found in the Python Package Index (PyPI). PIP isn’t installed by default on CentOS 7, but the installation is pretty straightforward. Khuyến...
Tạo javascript đếm ngược 10s, 30s, 90s
Code Html <!DOCTYPE HTML> <html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> p { text-align: center; font-size: 60px; margin-top: 0px; } </style> </head> <body> <p id="countdown"></p> </body> </html> Code...
Cài đặt Python 3 trên Centos 7 và set làm mặc định
I. Introduction What is Python? Python is a powerful, high-level, object-oriented programming language created by Guido van Rossum. It’s easy to learn and is emerging as one of the best introductory programming languages for newbies. Python is completely dynamically typed and uses automatic memory...