Making NFS server Live:
Server side (Server IP 10.1.31.1):
1. Check nfs-utils is installed or not using
#yum list nfs-utils
2. Edit /etc/exports , add dir you want share with netrwork information and permision
# vi /etc/exports
/var/ftp/pub 10.1.0.0/16(rw,sync,no_root_squash)
3. Restart nfs service
# service nfs retstart
or
# service nfs reload
4. Check port & shared dir using
# rcpinfo -p
# export -v
# service portmap status
Client Side (Client IP : 10.1.0.0/16, eg 10.1.31.67):
1. mount shared nfs folder
# mount 10.1.31.3:/var/ftp/pub /mnt
2. Do static mount using /etc/fstab
# vi /etc/fstab
10.1.31.1:/var/ftp/pub /mnt nfs defaults 0 0
Subscribe to:
Post Comments (Atom)
Optimize Query Performance in MySQL Databases
Optimize Query Performance in MySQL Databases In this we learn step by step to Optimize Query Performance in MySQL Databases and cover below...
-
Change Views DEFINER without ALTER VIEW: UPDATE `mysql`.`proc` p SET definer = ‘root@localhost’ WHERE definer=’root@foobar’ AND db=’w...
-
If you accidentally created a file with a - in the beginning then you want to remove it, you have to do : rm ./-thefile
-
The Unix top command is designed to help users determine which processes are running and which applications are using more memory or process...
3 comments:
simple and useful
Great post. Exactly what I needed. Thanks!
Easy to use
Post a Comment