Sử dụng APC hoặc APCu từ lâu đã là một phương pháp opcode cache được sử dụng rộng rãi để tối ưu hoạt động của VPS. Tuy nhiên APC không được cập nhật, nâng cấp thường xuyên (phiên bản stable mới nhất 3.1.9 ra ngày 2011-05-14) và thỉnh thoảng vẫn xuất hiện một số lỗi vặt. Với sự xuất hiện…
Cấu hình để VPS gửi email thông báo khi có đăng nhập qua SSH
VPS của bạn có nhiều User sử dụng ? Và bạn muốn VPS gửi email thông báo cho bạn mỗi khi có user đăng nhập vào VPS . Hay đơn giản, bạn muốn nhận thông báo qua email mỗi khi VPS được đăng nhập qua SSH. Bạn có thể làm được điều đó một cách rất đơn giản theo hướng…
Xử lý lỗi “read-only file system” trên Linux
Để đây viết bài chi tiết sau 🙂 mount -o remount,rw /dev/sda1 /
How to Fix “Specify a Vary: Accept-Encoding Header” Warning
Are you seeing the “Specify a Vary: Accept-Encoding Header” warning in Pingdom, GTmetrix, or Google PageSpeed Insights on your WordPress site? This is an HTTP header and should be included on every origin server response, as it tells the browser whether or not the client can handle compressed versions of the content. For example, let’s say you have an old browser without gzip compression and…
Install OPCache to Improve PHP Performance in CentOS 7
PHP is one of the most popular programming language for developing applications, you will find it on every web hosting server. The most popular Content Management Systems (CMSs) are written in PHP, such as WordPress, Drupal, and Joomla. One of the many reasons why PHP is well known out there is because it has numerous extensions in its default distribution, an example is OPcahce. What is Opcache and How Does…
X-XSS Protection in VestaCP
Edit /etc/nginx/conf.d/nginx.conf Add add_header X-Frame-Options SAMEORIGIN; add_header X-Content-Type-Options nosniff; add_header X-XSS-Protection "1; mode=block"; Save and reload nginx service nginx restart Check Nginx header curl -I domain.com
Upgrade Mariadb 5.5 to Mariadb 10.2 on Centos 7 VestaCP
In this tutorial we’ll upgrade/install to Mariadb 10.2 on Centos 7 running Vesta CP, by default vesta cp will install old base version of Mariadb 5.5 when installing on Centos 7. This tutorial will also work without vestacp installed. MariaDB is designed as a drop-in replacement of MySQL with more features, new storage engines, fewer bugs, and better performance. MariaDB…
3 Awesome Complete Open Source Mail Servers Solutions For Linux and UNIX servers
In the world of mail servers, there are many software and technologies. Here is a list of 3 of them that you must know. Most mail servers made of Mail delivery agent (MDA) and Mail Transfer Agents (MTA). MDA software used to routes e-mail to its destination. You use MDA such as Dovecot, Qpopper, Courier, and Cyrus IMAP/POP3 servers. MTA…
How to Install WordPress with LSCache, OpenLiteSpeed and CyberPanel
OpenLiteSpeed is a high-performance event-driven open source web server developed and maintained by LiteSpeed Technologies. In this article, we will see how we can use CyberPanel to get up and running with LSCache and WordPress on OpenLiteSpeed in few clicks. What is LSCache? LSCache is a full-page cache built directly into OpenLiteSpeed web server, it is similar to Varnish but more efficient because we remove the reverse proxy layer from the picture…
How to Upgrade MySQL and Install MariaDB 10.2 on Ubuntu 18.04 LTS and 16.04 LTS
In this tutorial we’ll upgrade/install to Mariadb 10.2 on Ubuntu 18.04 LTS, 16.04 LTS and with vestacp when you install MySQL version 5.7 will be install on Ubuntu 16 and 18. This tutorial will also work with vestacp installed soon 18.04 will be supported by vestacp. MariaDB is designed as a drop-in replacement of MySQL with more features, new storage…