Posts

Showing posts from February, 2018

How to configure JBoosFuse Fabric in Centos and RHEL Server

======================================================================== [root@Centos6 ~]# vim /etc/hosts (edit in All Nodes for Name Resolution) 172.16.201.200  node1.example.com node1 172.16.201.201  node2.example.com node2 172.16.201.202  node3.example.com node3 172.16.201.203  nfs.example.com nfs Stop All Firewall and selinux policy ( on All Nodes) [root@nfs ~]# iptables -F [root@nfs ~]# iptables -F -t nat [root@nfs ~]# /etc/init.d/iptables save [root@nfs ~]# /etc/init.d/iptables stop [root@nfs ~]# chkconfig iptables off [root@nfs ~]# vim /etc/sysconfig/selinux SELINUX=enforcing [TO]  SELINUX=disabled [root@nfs ~]# init 6 ======================================================================== Create NFS For shareing Maven [root@nfs ~]# mkdir /opt/MAVEN [root@nfs ~]# chmod -R 777 /opt/MAVEN [root@nfs ~]# vim /etc/exports /opt/MAVEN    172.16.201.0/16(rw,sync) [root@nfs ~]# /etc/init.d/nfs restart ===========================================================

Docker in RHEL-7 or Higher Versions

Hardware and software requirements Linux kernel version 3.10 or higher CS Docker Engine version 1.10 or higher. Learn about the  operating systems supported by CS Docker Engine . 2.00 GB of RAM 3.00 GB of available disk space A static IP address Install Docker Container # wget –c https://download.docker.com/linux/centos/docker-ce.repo # cp docker-ce.repo /etc/yum.repos.d/ # yum install docker* -y Start/Stop/Restart/ Docker Service # systemctl start docker.service # systemctl stop docker.service # systemctl restart docker.service # systemctl status docker.service # systemctl enable docker.service Docker Command for Help # docker images ## List images ## # docker ps ## List containers ## # docker run -it –name “Name” centos ## Run a command in a new container ## # docker exec –it “Name” /bin//bash ## Run a command in a running container ## # docker