How To Install EPEL Repo on a CentOS and RHEL 7.x
How To Install EPEL Repo on a CentOS and RHEL 7.x The following command will install EPEL Repo on a CentOS and RHEL 7.x: $ sudo yum install epel-release Install EPEL on CentOS 8.x
How To Install EPEL Repo on a CentOS and RHEL 7.x The following command will install EPEL Repo on a CentOS and RHEL 7.x: $ sudo yum install epel-release Install EPEL on CentOS 8.x
If you using VestaCP with Cloudflare Global Content Delivery Network (CDN) in logs you will have problem with showing the original visitors IP addresses in logs. Its very easy to fix. Add to NGINX main config file (before include and… Continue Reading
Intel Visual Compute Accelerator (VCA) can crash CentOS 7 if yiu dont have kernel option “nosmap”. Due to CentOS 7.1 not having full support for Intel® Xeon® Processor E5-2600 v4 family, the kernel option “nosmap” must be added when booting… Continue Reading
How to Remote Desktop from Windows to Linux You can connect to Linux machine from Windows using standard Windows Remote Desktop Connection (RDP). First we need xrdp package on Linux server. xrdp provides a graphical login to remote machines using… Continue Reading
In this article i will show how to install tcpdump on Linux (Ubuntu, Redhat) and Capture DHCP requests using tcpdump utility in Linux. DHCP requests can be captured with tcpdump. So first we need install tcpdump utility in our Linux… Continue Reading
How to capture broadcast or multicast packets with tcpdump utility First install tcpdump software: For Ubuntu: # apt-get install tcpdump ForCentOS: # yum install tcpdump Then you can run tcpdump # tcpdump -n “broadcast and multicast” Example output: Discuss article… Continue Reading
VestaCP Upgrade MYSQL 5.6 for CentOS6 rpm -Uvh http://dev.mysql.com/get/mysql-community-release-el6-5.noarch.rpm You can edit file: /etc/yum.repos.d/mysql-community.repo yum update mysql-server service mysqld restart mysql_upgrade chkconfig mysqld on This will update your MySQL to MySQL 5.6 See also: Upgrade to PHP 5.6 in… Continue Reading
Default VestaCP instillation for CentOS 6.7 comes with PHP5.4 . 1. Install the REMI and EPEL RPM repositories wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm && rpm -Uvh epel-release-latest-6.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm && rpm -Uvh remi-release-6*.rpm 2. Edit /etc/yum.repos.d/remi.repo vi /etc/yum.repos.d/remi.repo Under the section that looks… Continue Reading
Fix error: realpath(): open_basedir restriction in effect During Magento installation on VestaCP CentOS you may have problem: [error] PHP Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/home/admin/web/mydomain.com/public_html:/home/admin/tmp) in /home/admin/web/mydomain.com/public_html/vendor/magento/framework/Filesystem/DirectoryList.php on line 99 For… Continue Reading
For example we need configure DHCP client on eth0 for getting dynamic IP’ 1. Start editing /etc/sysconfig/network-scripts/ifcfg-eth0 file using text editor: # vi /etc/sysconfig/network-scripts/ifcfg-eth0 Sample configuration: HWADDR=your MAC address DEVICE=eth0 BOOTPROTO=dhcp ONBOOT=yes Save and close just edited ifcfg-eth0 file 2.… Continue Reading