• 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 [crayon-5bf0a4f481d5b626761487/]   Save and reload nginx [crayon-5bf0a4f481d60125530810/]   Check Nginx header [crayon-5bf0a4f481d62377595626/]    

  • 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): [crayon-5bf0a4f482488630750416/] Sample Output [crayon-5bf0a4f48248c063240353/] Find Largest Directories in Linux If you want to display the biggest directories in the current working directory, run: [crayon-5bf0a4f48248e399116420/] Sample Output [crayon-5bf0a4f482490975463507/] Find Largest File in a folder [crayon-5bf0a4f482491325630704/] Sample Output [crayon-5bf0a4f482492267390630/] List Number of open connections per ip [crayon-5bf0a4f482494089984047/] Sample Output [crayon-5bf0a4f482495010734353/] List processes by…

  • VestaCP,  Linux

    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 Apache which is installed on 1gb VPS, it recommended to use Apache MPM worker as prefork :- Centos/RHEL: Under Centos Open this file in editor: [crayon-5bf0a4f4826dd124187805/] And add this configs at the end of httpd.conf : [crayon-5bf0a4f4826e1357295662/] Then restart Apache server : [crayon-5bf0a4f4826e3580614797/] Ubuntu : Under Ubuntu Open this file in editor: [crayon-5bf0a4f4826e4394002713/] Find…

  • Linux

    How to Flush/Clear/Delete Postfix Mail Queue

    This is short tutorial for clearing the mail queue from command line. Postfix is the mail server which is used to send mails, time to time there will increase in mail queue which contains failed email in order to check and clear the mail queue just run this following command from terminal/ssh. To check mail queue: [crayon-5bf0a4f48289b906995441/] To remove all mail from the queue: [crayon-5bf0a4f48289f989502167/] To remove all mails in the deferred queue: [crayon-5bf0a4f4828a1832028692/] Also you can use this script to delete mail queue which contain certain keyword or email id : [crayon-5bf0a4f4828a2320064283/] and add this below code in mailq-del.pl and save it : [crayon-5bf0a4f4828a4866441240/] example usage of script :…