• Webmaster,  VestaCP,  Wordpress Themes,  Linux

    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 a modern browser with it. If you don’t utilize the Vary: Accept-Encoding header your web server or CDN could cache the uncompressed version and deliver that to the modern browser by mistake, which in turn hurts the performance of your WordPress site. By using the Vary: Accept-Encoding header you can ensure that your web server and or…

  • Linux

    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 it Work? Originally known as Zend Optimizer+, Opcache (introduced in PHP 5.5.0) is a powerful PHP extension built to enhance PHP performance thus boosting overall application performance. It is available as an extension through PECL for PHP versions 5.2, 5.3 and 5.4. It works by storing pre-compiled script byte-code in shared memory, thereby removing the need for PHP to load and parse…

  • VestaCP,  Linux

    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    

  • VestaCP,  Linux

    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 is developed by many of the original developers of MySQL who now work for the MariaDB Foundation and the MariaDB Corporation, and by many people in the community. To upgrade follow this simple steps to upgrade it to latest version. Step 1 Before installing it is recommended to backup your…

  • A Control Panel
    Linux

    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 software used to transfers e-mail between servers or computers. You use MTA such as Exim, Qmail, Sendmail, OpenSMTPD, Postfix, and others. Apart from MTA and MDA, you need to install and use Antispam, Antivirus, Webmail and other software too. You need to make sure your IP address stay clean. Apart…

  • Cyber Panel Dashboard
    CyberPanel,  Linux

    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 when LSCache is used. LSCache WordPress Plugin! LiteSpeed has also developed a WordPress plugin that communicates with OpenLiteSpeed web server to cache the dynamic content which greatly reduces the load time, increases performance and puts less load on your server. LiteSpeed’s plugin provides powerful cache-management tools that, due to LSCache’s tight integration into…

  • VestaCP,  Linux

    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 engines, fewer bugs, and better performance. MariaDB is developed by many of the original developers of MySQL who now work for the MariaDB Foundation and the MariaDB Corporation, and by many people in the community. To upgrade follow this simple steps to upgrade it to latest version. Login as root and follow…

  • Linux command cheat sheet
    Linux

    Download 6 Best Linux Command Cheat Sheets For Free

    Brief: This article provides you a list of best Linux command line cheat sheets that you can download without paying a single dollar. I’ll be honest with you. I am a cheat sheet fan. Especially when I am learning something new. It also helps me on topics which I know I’ll have to work on and off again. Benefits of cheat sheets When you learn something new, it’s normal that you won’t know all commands by heart. It comes by practice eventually, if you work on it continuously. Cheat sheets come handy for quick references in such circumstances. You don’t have to memorize, or Google for repetitive commands each time. A little doc can be opened in…

  • Linux

    7 Linux useful commands for everyday System Administration

    Today I’ll publish my top 7 Linux CLI commands which I use everyday for monitoring Linux server, This Article includes network monitoring, memory monitory and disk monitoring commands. The following command will show the list of top processes ordered by RAM and CPU use in descendant form (remove the pipeline ( | ) and head if you want to see the full list): ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head Sample Output [root@server var]# ps -eo pid,ppid,cmd,%mem,%cpu --sort=-%mem | head PID PPID CMD %MEM %CPU 30196 1 /usr/sbin/mysqld 4.5 35.1 25794 18123 /usr/sbin/httpd -DFOREGROUN 1.0 0.9 25315 18123 /usr/sbin/httpd -DFOREGROUN 1.0 1.0 3501 18123 /usr/sbin/httpd -DFOREGROUN 0.9 1.1 25785 18123 /usr/sbin/httpd -DFOREGROUN 0.9 0.9 25285…