Glusterfsのインストール†# yum install fuse # cd /usr/local/src # wget http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/x86_64/glusterfs-3.3.1-1.el6.x86_64.rpm # wget http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/x86_64/glusterfs-fuse-3.3.1-1.el6.x86_64.rpm # wget http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/x86_64/glusterfs-geo-replication-3.3.1-1.el6.x86_64.rpm # wget http://download.gluster.org/pub/gluster/glusterfs/3.3/3.3.1/CentOS/epel-6/x86_64/glusterfs-server-3.3.1-1.el6.x86_64.rpm ←●不要??? # rpm -ivh glusterfs-* # service glusterd start Glusterfsの準備設定†●サービスの自動起動 # chkconfig glusterd on # chkconfig glusterd --list ●ポート開放 # cp -p /etc/sysconfig/iptables /etc/sysconfig/iptables.20121112 # vi /etc/sysconfig/iptables 以下を追加 -A INPUT -p tcp -m state --state NEW -m tcp --dport 24007:24047 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 111 -j ACCEPT -A INPUT -p udp -m state --state NEW -m udp --dport 111 -j ACCEPT -A INPUT -p tcp -m state --state NEW -m tcp --dport 38465:38485 -j ACCEPT # service iptables restart
|