Portfolio
gzip

LogRotate – Công cụ quản lý Log files quan trọng cần phải biết

March 20, 2018Category : IT & Network

LOGROTATE là một tiện ích tuyệt vời trên Linux giúp đơn giản hóa việc quản lý log files trên hệ thống, bao gồm xoay vòng file log, di chuyển, nén, gửi tự động… Rotate (xoay vòng) ở đây có thể hiểu là tiến trình xử lý file log cũ theo quy định trước đó (xóa/nén/move) đồng..

Read more
01.

WinNMP – Config

February 27, 2018Category : Code/Web IT & Network

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
02.

Cách thêm website trong web server OpenLiteSpeed

October 9, 2017Category : Code/Web IT & Network

Cách thêm Virtual Host trong OpenLiteSpeed ​Truy cập WebAdmin: http://your_ip_adress:7080 ​Đi tới Virtual Hosts -> Add.  Nhập vào thông tin chi tiết như bên dưới: Variables Value Virtual Host Name ($VH_NAME) elegantjava.info Virtual Host Root ($VH_ROOT) $SERVER_ROOT/elegantjava.info/ Config File $SERVER_ROOT/conf/vhosts/$VH_NAME/elegantjava.info.conf Follow Symbolic Link Yes Enable Scripts/ExtApps Yes Restrained Yes ExtApp Set UID Mode Server UID Trong phần..

Read more
03.

[VPS] Rclone – Backup toàn bộ VPS lên Google Drive – Script sao lưu backup vps

September 28, 2016Category : IT & Network

Rclone 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 more
04.

PentestBox – môi trường kiểm thử thâm nhập tuyệt vời trên Windows

July 26, 2016Category : IT & Network

Lời mở đầu Đôi khi, bạn thấy có những công cụ bảo mật, quét lỗ hổng rất tuyệt vời cho đến khi bạn vào trang chủ để tải về thì bắt gặp dòng chữ “Windows is not supported“… Nhưng đừng buồn, vì bạn không phải là người duy nhất gặp vấn đề đó. Và may..

Read more
05.

[WP] W3 Total Cache settings with Cloudflare GUIDE

October 12, 2015Category : Code/Web

W3 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 more
06.

6 DỊCH VỤ KIỂM TRA TỐC ĐỘ WEBSITE TIN CẬY NHẤT

October 28, 2014Category : Code/Web

Việc tìm kiếm các website để kiểm tra tốc độ thật sự của website bạn không hề khó vì chỉ cần gõ vài từ là có đầy trên internet. Tuy nhiên vấn đề là có nhiều công cụ có thể đưa số liệu không đầy đủ và chính xác, hoặc có thể bạn hiểu lầm..

Read more
07.

Setup Nginx on Apache (XAMPP) On Same Server

November 12, 2013Category : IT & Network

Step by Step Overview: Nginx port 80 Apache port 8080 Nginx and Apache share root directory (F:\xampp\htdocs) Nginx catch request as front-end and proxy dynamic content (PHP) to Apache which will be running in the back-end. Install WordPress, Joomla and Drupal for development on localhost and work perfectly. Setup on Windows XP.

Read more
08.

[magento] Tăng tốc độ cho magento

August 30, 2013Category : Code/Web

Một trong những nhược điểm của Magento là tốc độ nếu cấu hình mặc định được sử dụng. Có nhiều cách nhất định làm cho nó chạy nhanh hơn. Với tôi thì tôi thết tốt nhất là để cho phép nén Gzip bằng cách thay đổi. Htaccess một chút. Bạn chỉ cần bỏ ghi chú..

Read more
09.

[WP] Gzip cho css,js

January 24, 2010Category : Code/Web

– Thay file style.css thành style.css.php. Mục đích là để chèn code php vào – Chèn đoạn code sau vào trên cùng của file vừa đổi tên <?php ob_start (“ob_gzhandler”); header(“Content-type: text/css; charset: UTF-8”); header(“Cache-Control: must-revalidate”); $offset = 60 * 60 ; $ExpStr = “Expires: ” . gmdate(“D, d M Y H:i:s”, time() + $offset)..

Read more
010.

[WP] Bật gzip cho phần html của Thesis

January 23, 2010Category : Code/Web

Để bật gzip cho phần html của Thesis thì các bạn cần thêm đoạn code sau vào file custom-functions.php

Read more
011.
© Oliver / All rights reserved.
To top