Set up the firewall to listen MySQL on port 3306 Rumi, September 6, 2008 Just a small tweaking comnand that allows MySQL server on a linux server to open & listen to port 3306 for remote connectivity- [root@linux root]# iptables -I INPUT -p tcp –dport 3306 -j ACCEPT Related Administrations Configurations (Linux) Networking
IP Setting on CentOS6 using Shell Script 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… Read More
Configure iSCSI Initiator (client) in CentOS / RHEL 6 October 30, 2018 To use RHEL/CentOS 6 system as an iSCSI initiator or client, you must have iscsi-initiator-utils package installed. You can verify that this is installed on your system using the rpm command, as shown in the following example: $ rpm -qa | grep iscsi-initiator-utils Install the package if its not already… Read More
.htaccess tips and tricks July 9, 2011 Redirecits redirectpermanent /training/test.html http://www.example.com/learning/newtest.html Allow SSI FIles AddType text/html .shtml .shtm .htm .html AddHandler server-parsed .shtml .shtm .htm .html Parsing PHP in HTML RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html Allow or prevent directory browing IndexIgnore */* Options +Indexes Password Protection <Files secret_file.html> AuthType Basic AuthName "Team Page" AuthUserFile… Read More