Để đây viết bài chi tiết sau 🙂 mount -o remount,rw /dev/sda1 /
Get the official VestaCP File Manager plugin for free, forever
The VestaCP File Manager was inspired by the magnificent GNU Midnight Commander, so it shouldn’t be a surprise when the main screen is similar to what you’d see on the terminal in MC. The File Manger makes it easy for users to manage their directories and files directly from the browser and perform uploads/downloads without using a clumsy sFTP connection. Screenshot…
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…
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…
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…
How to Optimize Apache, PHP and MySQL Performance for 1GB RAM VPS
There are lots of requests from the visitors especially from David T. upon how to optimize Apache, php and MySQL/Mariadb server which are installed on VPS server with 1gb of RAM, Such 1 gb ram vps is enough powerful for single application and optimizations are necessary in order to Avoid OOM (out of memory) and take juice from it. Optimization of Apache : Optimize…
How to Downgrade and Upgrade PHP 7.0 to PHP 7.1 or PHP 7.2 on Ubuntu VestaCP
In this tutorial I’ll show you how to upgrade PHP 7.0 which is by default installed by Vesta CP during installation to PHP 7.1.xx or 7.2.xx latest on Ubuntu server, I’ve personally tested all php version i.e. 7.1 and 7.2 before writing this tutorial and its just working fine without any issue hence it is safe to upgrade to PHP…
-bash: v-restore-user: command not found
Với VestaCP, đôi khi chạy các lệnh CLI của nó bị lỗi command not found v-restore-user admin admin.2018-06-26_05-13-21.tar v-restore-user: command not found Cách fix rất đơn giản như sau: Chạy câu lệnh dưới quyền root hoặc sudo Ghi đầy đủ đường dẫn của câu lệnh /usr/local/vesta/bin/tên_lệnh Vậy chỉ cần đăng nhập dưới quyền root và chạy câu lệnh đầy đủ như…
Sửa lỗi failure: repodata/repomd.xml from C7.4.1708-base: [Errno 256] No more mirrors to try khi cài VestaCp trên CentOS 7
Thỉnh thoảng cài VestaCP trên CentOS 7 lại dính lỗi này, nay note lại để dành 😀 failure: repodata/repomd.xml from C7.4.1708-base: [Errno 256] No more mirrors to try. http://vault.centos.org/7.4.1708 Would you like to continue [y/n]: y Installation backup directory: /root/vst_install_backups/1526197390 Installation will take about 15 minutes ... Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile epel/x86_64/metalink | 5.1 kB…