CentOS
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
CentOS
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
CentOS
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 # Wildcard include) next directives: NGINX main config file location: /etc/
CentOS
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 CentOS 7.1 based OSs with this family of
CentOS
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 RDP (Microsoft Remote Desktop Protocol). xrdp accepts connections from variety
CentOS
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 system. Install tcpdump utility Install tcpdump in Ubuntu or Debian
CentOS
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 in ArsTech Forum If you like what you are reading, please:
CentOS
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
CentOS
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
CentOS
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/
CentOS
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. Restart
CentOS
How to Create Virtual Interface on CentOS 6 Linux Creating Virtual Interface and Assign Multiple IP Addresses Let’s assume you want create new virtual interface ifcfg-eth0:0 device and assign new IP 10.10.10.20 Network device files are located in /etc/sysconfig/network-scripts/ directory. # cd /etc/sysconfig/
CentOS
How to Remove CentOS old kernels or CentOS freeing up disk space 1. Check currently list of installed Linux kernels with RPM command #rpm -q kernel kernel-2.6.32-573.12.1.el6.i686 kernel-2.6.32-573.18.1.el6.i686 kernel-2.6.32-573.22.1.el6.i686 kernel-2.6.32-573.