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 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 moreCài đặt Certbot Cách dễ dàng để cài đặt chứng chỉ Let’s Encrypt trên VPS là sử dụng Certbot Client. Trên CentOS 7, Certbot có sẵn ở EPEL Repository. Bạn chỉ cần enable lên với câu lệnh sau: 1 rpm –ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm Ubuntu bạn cần cấu hình Certbot PPA với câu lệnh sau: 1 2 3..
Read moreThu thập địa chỉ email là một trong những phần mà mình thấy thú vị nhất. Bạn có thể tìm kiếm trên Google và ra hàng loạt những công cụ thu thập địa chỉ email có cả miễn phí, dùng thử và trả phí. Nhưng có 1 công cụ mới giúp bạn thâm nhập vào..
Read moreMột số thông tin: – Tool tạo profiles dựa theo thao tác người dùng – Tạo 1 profiles với 3 Keyword – 5 Link google – 1 Link onpage: mất tầm 50 phút – Random chọn keyword từ file, random click link Linkdown Update V1.1.0: https://drive.google.com/file/d/0B0zrLJH2KcUwTktLbUFJS0pBLTg/view?usp=sharing Linkdown máy ảo kèm tool V1.1.0: Lưu ý:..
Read moreBạn đang làm việc với nhiều thiết bị như iPhone, Android và Web rồi đi xem một bài giải thích bạn làm thế nào để phát triển một API RESTful trong PHP. Chuyển giao trạng thái biểu hiện (REST) là một hệ thống Phần mềm để phân phối dữ liệu cho các loại ứng dụng..
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 moreBạn đang làm việc với nhiều thiết bị như iPhone, Android và Web rồi đi xem một bài giải thích bạn làm thế nào để phát triển một API RESTful trong PHP. Chuyển giao trạng thái biểu hiện (REST) là một hệ thống Phần mềm để phân phối dữ liệu cho các loại ứng dụng..
Read moreW3 Total cache is a WordPress Performance Optimization framework that is designed to improve user experience and page speed. It is recommended by many web hosting providers, and used by countless major websites such as mashable.com as well as many others. W3TC improves the user experience of your site by increasing web server performance by reducing..
Read moreWhy install PHP + FastCGI? Mod-PHP comes installed with XAMPP, and it is slow. You also cannot utilise the Zend opcode cache, which is included with PHP itself since PHP 5.5. Steps to install PHP + FastCGI
Read moreThe definitive guide to Search and Social Meta Tags you should be using in 2013. No fluff, no wasted code, just what you need to use. Let’s get back to basics. If I’m to be honest, flashbacks of arguments with copywriters in ad agencies turn me off to the discussion of metadata. However the reality..
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