Difference between revisions of "Manager"

From DHVLab

(NFS Server)
Line 3: Line 3:
 
== Network Configuration ==
 
== Network Configuration ==
  
== NFS Server ==  
+
== NFS Server ==
 +
<syntaxhighlight lang="bash">
 +
#install required packages
 +
yum install nfs-utils libnfsidmap
 +
 
 +
#create exports
 +
cat << EOT >> /etc/exports
 +
/exports/homes    DMZ_NETWORK/DMZ_SUBNETMASK  (rw,sync,no_root_squash,no_all_squash,fsid=1) 
 +
                  NODE_NETWORK/NODE_SUBNETMASK(rw,sync,no_root_squash,no_all_squash,fsid=1)
 +
EOT
 +
 
 +
#start and enable NFS server
 +
systemctl enable rpcbind
 +
systemctl enable nfs-server
 +
systemctl start rpcbind
 +
systemctl start nfs-server
 +
systemctl start rpc-statd
 +
systemctl start nfs-idmapd
 +
</syntaxhighlight>
  
 
== DHCP Daemon ==
 
== DHCP Daemon ==

Revision as of 20:35, 9 September 2016


Network Configuration

NFS Server

#install required packages
yum install nfs-utils libnfsidmap

#create exports
cat << EOT >> /etc/exports
/exports/homes     DMZ_NETWORK/DMZ_SUBNETMASK  (rw,sync,no_root_squash,no_all_squash,fsid=1)   
                   NODE_NETWORK/NODE_SUBNETMASK(rw,sync,no_root_squash,no_all_squash,fsid=1)
EOT

#start and enable NFS server
systemctl enable rpcbind
systemctl enable nfs-server
systemctl start rpcbind
systemctl start nfs-server
systemctl start rpc-statd
systemctl start nfs-idmapd

DHCP Daemon

BIND Daemon

LDAP Server