Configure Redis to Use Unix Socket Speed Boost

Redis is a high speed caching system for storing objects in RAM. It works well with WordPress and WooCommerce as an object cache for storing transients so they are not stored in the MySQL database. On WooCommerce particularly this can help a lot because of the number of transients used by plugins, orders and shoppers. Unix […]

Hướng dẫn đồng bộ thời gian trên Linux và Windows

Khi nói đến việc đồng bộ hóa thời gian cho mọi hoạt động, Network Time Protocol (NTP) sẽ giúp chúng ta giải quyết cả hai vấn đề, cung cấp cho người dùng thời gian chính xác trải dài trên nhiều thiết bị khác nhau. NTP là một giao thức internet – được sử dụng để đồng […]

Tạo SSH key trên Ubuntu/Linux

1. Khởi tạo cặp SSH key – keypair mới Mở terminal (Ctrl + Shift + T với Ubuntu), chạy lệnh: Ở đây bạn có thể chọn tên file cho SSH, mặc định là id_rsa. Nếu bạn chưa có SSH key nào, chúng tôi khuyến cáo bạn dùng tên này. Sau khi chọn tên file, Terminal […]

Stormssh – Quản lý truy cập server trên Linux client

Mỗi server mà bạn quản lý, bạn cần ghi nhớ thêm thông tin về username, IP (hoặc hostname). Nếu bạn có quá nhiều server, việc này là không dễ và có thể phát sinh những nhầm lẫn. Với người dùng Linux client, chúng tôi sẽ giới thiệu cho bạn một công cụ cho phép bạn […]

Sử dụng SSH command

Remove key from known_hosts Example Remove key or All answers are good, but for real SSH pro we have missing information how to remove ssh signature with (non-standard) port number. and you get warning, and to remove this, you need to use square brackets colon port number: Note, that probably there will be IP record for the […]

CWP – Install Mod_Security and Comodo

1) Register at Comodo Waf website [https://waf.comodo.com/] as we will be needing Email and Password later. https://accounts.comodo.com/cwaf/management/signup 2) Install Mod_Security. cd /usr/src wget https://www.modsecurity.org/tarball/2.9.0/modsecurity-2.9.0.tar.gz tar xzf modsecurity-2.9.0.tar.gz cd modsecurity-2.9.0 ./configure –with-apxs=/usr/local/apache/bin/apxs make && make install 3) Create Mod_Security config file. wget –output-document=”/usr/local/apache/conf.d/modsec2.conf” http://dl-package.bullten.in/cwp/files/mod_security/modsec2.txt 4) Restart Apache. service httpd restart 5) Check if Mod_Security is loaded […]

Remmina Couldn’t Connect RDP Server MS

Problem to solve Remmina currently unable to connect to Microsoft Servers where TLS 1.2 or higher for RDP /SCHANNEL /SSL is enforced. Microsoft native RDP client can connect to enforced servers. Further details Error displayed in the GUI: Could not connect to the RDP server “10.4.53.34” via TLS. Check that client and server support a […]

PHP code get IP hostname

<?php $ip = gethostbyname(‘www.google.com’); echo “Resolution pour www.google.com: $ip”; echo “<br>”; $ip = gethostbyname(‘inet.vn’); echo “Resolution pour inet.vn: $ip”; ?>

How to Allow Multiple RDP Sessions in Windows 10 and 11

emote users can connect to their Windows 10 and 11 computers via the Remote Desktop Services (RDP). It is enough to enable RDP in the device settings and connect to the computer using any Remote Desktop client. But there is a restriction on the number of simultaneous RDP sessions – only one remote user can […]