Trong bài viết này mình sẽ hướng dẫn bạn cách cài đặt và sử dụng Varnish làm front-end cho Nginx hoặc Apache để cache các request HTTP nhanh hơn mà không cần phải nhờ đến webserver xử lý. Varnish là một hệ thống cache được dùng để tăng tốc server, đặc biệt là với những hệ thống lớn, có trafic nhiều. Varnish hoạt động bằng..
Read moreNginx Amplify là công cụ tuyệt vời giúp giám sát tình trạng NGINX và Server theo thời gian thực, qua đó giúp phân tích và tối ưu các ứng dụng hoạt động dựa trên NGINX. Đặc biệt, với bản cập nhật mới nhất, Nginx Amplify theo dõi toàn bộ hệ thống cài đặt LEMP Stack – Linux, Nginx,..
Read morethis is how to fix / disable new apps popping up all the time: ————–I—————– 1 – enable root by going into Nox’s System Settings under “General” and put Enable under “Root startup”. ————–I—————– 2 – After rebooting check root by going to “Settings” – “Superuser”, if you have this menu you are good to..
Read moreInstall PM2 Now we will install PM2, which is a process manager for Node.js applications. PM2 provides an easy way to manage and daemonize applications (run them as a service). We will use Node Packaged Modules (NPM), which is basically a package manager for Node modules that installs with Node.js, to install PM2 on our app server…
Read moreNhững người sử dụng torrent vẫn đang tiếp tục chiến đấu, nhưng anh Sunde lại không lạc quan về kết quả cuộc chiến này, khi anh nói rằng: “Chúng ta đã thua rồi”. “Internet ngày nay là một đống mớ hỗn độn thối rữa. Mọi thứ đã hỏng. Có lẽ nó đã luôn hỏng từ..
Read more1. Giới thiệu – Ichimoku Kinko Hyo là một kỹ thuật đồ thị được tạo ra trước thế chiến thứ 2 bởi 1 phóng viên người Nhật là Goichi Hosoda, đã nhanh chóng trở thành công cụ khá phổ thông cho các nhà đầu tư Nhật, không chỉ riêng cho thị trường cổ phiếu mà..
Read moreKế hoạch giao dịch This is the most important part of your trading business and it isn’t easy to fulfill, but planning out your trades will benefit you a lot in the long-run, so it’s important to understand that you can and will in time get better at this. Đây là điều quan trọng nhất..
Read moreA/ Trái tim của phân tích kỹ thuật: xu hướng lên, xu hướng xuống và đi ngang. Thứ phải xem xét đầu tiên khi nhìn vào thị trường là xu hướng của nó. Giá chỉ có thể đi theo 3 hướng: lên, xuống và sang hai bên (sideways). Để nhận ra xu hướng của nó..
Read more# Triggering the vulnerability # 1) Run this python script. # 2) Open WinRar # 3) Click Options # 4) Click Import/Export # 5) Import Settings from file # 6) Select the Specially crafted Settings.reg file #!/usr/bin/python -w # Title : WinRar Settings Import Command Execution # Date : 02/10/2015 # Author : R-73eN #..
Read moreMemcached là một hệ thống cache hoạt động bằng cách lưu tạm thông tin những dữ liệu bạn hay sử dụng vào bộ nhớ RAM. Do tốc độ đọc ghi của bộ nhớ bao giờ cũng cao hơn so với lưu trữ file nên việc sử dụng memcached giúp cho hệ thống của bạn tăng tốc lên một cách..
Read moreBạn có thể sử dụng tool này trên server để theo dõi gần như toàn bộ tình trạng hệ thống: Total and Per Core CPU usage, interrupts, softirqs and frequency. Total Memory, RAM, Swap and Kernel usage. Disk I/O (per disk: bandwidth, operations, backlog, utilization, etc). Monitors Network interfaces including: bandwidth, packets, errors, drops, etc)…
Read moreRclone là một công cụ đồng bộ hóa dữ liệu tương tự Rsync nhưng lại được tập trung phát triển chức năng kết nối với các dịch vụ lưu trữ đám mây. Ưu điểm của việc sử dụng dịch vụ lưu trữ đám mây đó là tốc độ cao (do có server được đặt trên khắp thế..
Read moreI recently had to transfer the inventory of an old Shop Factory site into Magento 1.7. Magento offers a powerful facility to do this via CSV using its DataFlow profiles but this is not without its quirks and pitfalls so I thought I’d share my experiences. Importing product data First, you will need to know..
Read moreĐây là thư viện để các bạn không phải sửa từng chút một trong code nữa thêm include hoặc require trong config.php là được <?php namespace { if (!function_exists(‘\mysql_connect’)) { define (‘MYSQL_ASSOC’, 1); define (‘MYSQL_NUM’, 2); define (‘MYSQL_BOTH’, 3); define (‘MYSQL_CLIENT_COMPRESS’, 32); define (‘MYSQL_CLIENT_SSL’, 2048); define (‘MYSQL_CLIENT_INTERACTIVE’, 1024); define (‘MYSQL_CLIENT_IGNORE_SPACE’, 256); function mysql_connect( $hostname =..
Read more
WinNMP – Config
How to send emails using PHP WinNMP has 2 options for processing emails sent by PHP’s mail() function: mSmtp and mailToDisk (default). To change the option, edit confphp.ini and modify sendmail_path: For Development use mailToDisk (the default): sendmail_path = ‘”C:/WinNMP/bin/php” -n -f “C:/WinNMP/include/tools/mailtodisk.php”‘ Emails will be saved to logmail-XX.txt For Production use mSmtp: sendmail_path = ‘”C:/WinNMP/bin/msmtp/msmtp.exe” -C “C:/WinNMP/conf/msmtp.ini” -t’ You also need to edit confmsmtp.ini in order to configure SMTP server options How..
Read more