Nano is included in most Linux distributions by default. However, if it’s not present on your system, install Nano using the following steps: 1. Update the apt repositories with the apt update command: 2. Install Nano with: sudo apt install nano Note: If you’re running CentOS or Fedora, execute yum install nano to complete this step....

Install the Linux Dynamic Update Client on Linux Mint
First, install the noip2 client: Then, generate the configuration file Last, make noip2 daemon run at reboot Add this line to crontab:

Cài đặt MongoDB trên CentOS
Configure the package management system (yum). Create a /etc/yum.repos.d/mongodb-org-4.0.repo file so that you can install MongoDB directly using yum: Install the MongoDB packages Start MongoDB Verify that MongoDB has started successfully where <port> is the port configured in /etc/mongod.conf, 27017 by default. You can optionally ensure that MongoDB will start following a system reboot by issuing the...

Hướng dẫn quét mã độc trên VPS với Linux Malware Detect và ClamAV
Trong bài viết này, mình xin hướng dẫn các bạn cài đặt và sử dụng bộ đôi công cụ Linux Malware Detect (MalDet hoặc LMD) và ClamAV (Antivirus Engine) để quét các loại malware khỏi VPS/Server. Linux Malware Detect (Maldet) là một phần mềm tìm và diệt mã độc dành...

Vô hiệu hóa Zoom Webpage trên thiết bị di động

Sử dụng Yii2 ionicon
Installation Either run Usage In view or as dependency in your asset bundle Helper Another prefix

Lệnh xóa file và thư mục trong linux
rm tenteptin : xóa tệp tin rmdir tenthumuc : xóa thư mục rỗng rm -rf tenthumuc: xóa thư mục ko rỗng.

Tìm file/folder lớn nhất trên VPS
Sau đây là hai lệnh rất dễ sử dụng để check 10 folder và 10 file có dung lượng lớn nhất trên VPS Trước tiên bạn cần chuyển đến thư mục cần kiểm tra bằng lệnh cd giả sử bạn cần check trong thư mục home, ta sử dụng...

Câu lệnh VPS
Một số câu lệnh để các bạn có thể kiểm tra thông số cấu hình của VPS Linux Lệnh kiểm tra CPU: cat /proc/cpuinfo Lệnh theo dõi CPU: top -c Lệnh kiểm tra hệ điều hành: uname -a Lệnh kiểm tra phiên bản hệ điều hành (CentOS) cat /etc/redhat-release...

Format Date trong Yii2
Trong ActiveForm : Trong GridView : Tham khảo: Cách sử dụng : http://www.yiiframework.com/doc-2.0/guide-output-formatting.html Class : http://www.yiiframework.com/doc-2.0/yii-i18n-formatter.html#asDatetime()-detail
