Install ioncube on Linux server Rumi, July 14, 2016 Begin by downloading the latest loaders to your computer from http://www.ioncube.com/loaders.php Extract the contents of the archived file on your local PC to a folder of your choice. Upload the folder IONCUBE via FTP to your domain webspace Now establish an SSH connection with server using a suitable client (e.g…. Continue Reading
ip_conntrack table full, dropping packet Rumi, July 3, 2016 Last week, I found myself with a server under low load, but it couldn’t make or receive network connections. When I ran dmesg, I found the following line repeating over and over: ip_conntrack: table full, dropping packet I’d seen this message before, but I headed over to Red Hat’s site… Continue Reading
Reinstalling MySQL on CentOS/Redhat 6 Rumi, February 7, 2016 Some time we faces issues with MySQL installation on Linux machine. If we simply remove MySQL packages and re-install doesn’t fixes the issue, in that case old settings may still exists on server which again affects new install. In that case first uninstall MySQL completely from system and erase all… Continue Reading
How to Encrypt VNC Traffic with Putty Rumi, December 9, 2015 By default, VNC is not secure protocol.VNC uses encryption during initial connection and login (passwords are not sent in plain-text). Once, we connected then all the VNC data is unencrypted and hacker could sniff our VNC session. It is better (safer) to start VNC server only on 127.0.0.1(localhost) and tunnel it… Continue Reading
How to Update SSH & MOTD Banner on CentOS 6 Rumi, December 7, 2015December 7, 2015 For legal reasons, Some people need to display a warning banner on their Linux machine before login so that a person requires to acknowledge the contents of the banner before entering the password. To do this, edit a/etc/issue.net file and fill it with the desired context. Edit the /etc/issue.net file: sudo… Continue Reading
IP Setting on CentOS6 using Shell Script Rumi, December 6, 2015 #!/bin/bash if [ $# -eq 5 ] then echo “” echo “Taking the backup and Changing the hostname from $(hostname) to $1 …” sed -i.bk “s/$(hostname)/$1/g” /etc/sysconfig/network echo “” echo “Backing up & Assigning the Static IP …” echo “” cp /etc/sysconfig/network-scripts/ifcfg-$2 /etc/sysconfig/network-scripts/$2.bk cat <<EOF > /etc/sysconfig/network-scripts/ifcfg-$2 DEVICE=$2 BOOTPROTO=static IPADDR=$3.$4… Continue Reading
Install Zenoss on CentOS 6 64bit Rumi, September 27, 2015September 27, 2015 Minimal Hardware Requirements: Small Deployments (1 to 250 Monitored Devices) 4GB RAM 2 CPU Cores 1x 300GB, 10K RPM Drive Medium Deployments (250 to 500 Monitored Devices) 8GB RAM 4 CPU Cores 1x 300GB, 10K RPM Drive Large Deployments (500 to 1000 Monitored Devices) 16GB – 32GB RAM 8 CPU… Continue Reading
NFS Firewall Rumi, September 9, 2015 Dynamic ports cannot be protected by port filtering firewalls such as iptables. First, you need to configure NFS services to use fixed ports. Open /etc/sysconfig/nfs, enter: # vi /etc/sysconfig/nfs Modify config directive as follows to set TCP/UDP unused ports: # TCP port rpc.lockd should listen on. LOCKD_TCPPORT=lockd-port-number # UDP port… Continue Reading
NFS Server and Client on CentOS Rumi, September 9, 2015 Assumptions: NFS Server IP: 172.16.5.100 NFS Client Node1: 172.16.5.101 NFS Client Node2: 172.16.5.102 NFS Client Node3: 172.16.5.103 NFS Client Node4: 172.16.5.104 On the NFS Server & All Client machine as well: yum install nfs-utils nfs-utils-lib Edit the exports file that shows what to share and with whom. So run: Continue Reading
PEN: HTTP Load Balancer Rumi, August 15, 2015August 15, 2015 This is performed on a CentOS 6.x 64 bit machine Install pen which is lightweight simple Load Balancing software. It is TCP protocol based, so it’s possible to balance not only HTTP but SMTP, FTP, LDAP and so on. This example is based on the environment like follows. Configure Pen… Continue Reading