1. cp /etc/sysconfig/network-scripts/ifcfg-eth0 /etc/sysconfig/network-scripts/ifcfg-eth0:1 2. In /etc/sysconfig/network-scripts/ifcfg-eth0:1 change DEVICE=eth0 to DEVICE=eth0:1 3. In /etc/sysconfig/network-scripts/ifcfg-eth0:1 modify IPADDR= to match the additional TCP/IP address you wish to use. 4. Start the secondary interface: ifup eth0:1
See MoreTag: hostripples
Disable open_basedir in plesk
How to disable open_basedir in plesk without breaking/commenting your current httpd.conf basedir lines. Create a new file, called vhost.conf This file will include anything you want to disable from httpd.conf main config from your virtual host. # touch /var/www/vhosts/yourdomain.com/conf/vhost.conf Now we edit the file and we add the following, # vi /var/www/vhosts/yourdomain.com/conf/vhost.conf <Directory /var/www/vhosts/yourdomain.com/httpdocs> php_admin_value […]
See MoreIframe: How to remove it ?
For iFRME injection, first search the all domains on the server using following command which are infected then remove it using following script. find /home/*/public_html/ -type f -exec grep -Eil “iframedomain.com” {} \; >> scanresult.txt Where iframedomain.com is injected domain. Now use following script to remove it. vi remove.sh and add following #!/bin/bash for i in […]
See More