Linux
Using tcpdump for capture SIP packets
How to capture SIP packets with tcpdump (example) tcpdump -nt -s 0 -A -i eth0 port 5060 -w call.cap Tcpdump will create file call.cap Capture DHCP requests with tcpdump
Linux
How to capture SIP packets with tcpdump (example) tcpdump -nt -s 0 -A -i eth0 port 5060 -w call.cap Tcpdump will create file call.cap Capture DHCP requests with tcpdump
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,
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
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-
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/
Linux
1. Login to MySQL with root credentials $ mysql -u root -p Enter password: Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 43 Server version: 5.5.49-0ubuntu0.14.04.1 (Ubuntu) Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights
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
VMware
How to Remove VDP Appliance from vCenter To properly delete and remove vdp appliance (vSphere Data Protection) from VMware vCenter Server we need: 1. Power off vSphere Data Protection 6.1 2. Delete all attached disks 3. Delete VDP appliance from disk 4. Finally delete the VDP plug-in from
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
Asterisk
Asterisk logging parameters defined in /etc/asterisk/logger.conf So we need edit and save logger.conf Sample config: [general] [logfiles] console => notice,warning,error,dtmf messages => notice,warning,error ;verbose => notice,warning,error,verbose ;full => notice,warning,error,debug,verbose,fax After save the file,
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.