'Buster of World'에 해당되는 글 449건

  1. 2011.08.09 NFS Setting
  2. 2011.07.27 debian nfs 공유 및 받기
  3. 2011.01.04 홍콩 사진 몇컷
  4. 2010.12.07 python Function Description
카테고리 없음2011. 8. 9. 22:16
반응형

mount.nfs: access denied by server while mounting



 /home/me *(rw,all_squash,async,no_subtree_check,anonuid=1000,anongid=1000)


rpcinfo -p

cdsmgr@carat ~]$ rpcinfo -p 
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp    947  status
    100024    1   tcp    950  status
    100011    1   udp    663  rquotad
    100011    2   udp    663  rquotad
    100011    1   tcp    666  rquotad
    100011    2   tcp    666  rquotad

    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs

    100021    1   udp  35112  nlockmgr
    100021    3   udp  35112  nlockmgr
    100021    4   udp  35112  nlockmgr
    100021    1   tcp  32770  nlockmgr
    100021    3   tcp  32770  nlockmgr
    100021    4   tcp  32770  nlockmgr

    100005    1   udp    679  mountd
    100005    1   tcp    682  mountd
    100005    2   udp    679  mountd
    100005    2   tcp    682  mountd
    100005    3   udp    679  mountd
    100005    3   tcp    682  mountd

    391991  100   tcp   7325



/etc/sysconfig

-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 111 -j ACCEPT 
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 2049 -j ACCEPT 
-A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 679 -j ACCEPT 
-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 111 -j ACCEPT 
-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 2049 -j ACCEPT 
-A RH-Firewall-1-INPUT -p udp -m state --state NEW -m udp --dport 682 -j ACCEPT 



반응형
Posted by Dream Come True
IT2011. 7. 27. 10:53
반응형


#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
/sbin/mount.nfs xxx.xxx.xxx.xxx:/serverpm /home/serverpm/mes1
/sbin/mount.nfs xxx.xxx.xxx.xxx:/serverpm /home/serverpm/mes2

 


/etc/export

/home 192.168.50.2(rw,sync,no_root_squash,no_subtree_check)
/home2 192.168.50.2(rw,sync,no_root_squash,no_subtree_check)

반응형

'IT' 카테고리의 다른 글

xenserver 6 network reconfigure 네트웍 재설정  (0) 2011.10.29
cadence IC5033 실행 화면  (0) 2011.08.10
samba error 로그에 대한 간단 tip  (0) 2010.11.30
mint linux 10 스샷  (0) 2010.10.26
debian lenny 한국 daum source List 입니다.  (0) 2010.10.21
Posted by Dream Come True
카테고리 없음2011. 1. 4. 19:50
반응형
비행기 에서 바라 본 HK 의 전경

Mong Kok 의 이정표

반응형
Posted by Dream Come True
IT/인터넷 마케팅2010. 12. 7. 19:35
반응형

Function Description
dir([obj]) Display attributes of object or the names of global variables if no parameter given
help([obj]) Display object's documentation string in a pretty-printed format or enters interactive help if no parameter given
int(obj) Convert object to an integer
len(obj) Return length of object
open(fn, mode) Open file fn with mode ('r' = read, 'w' = write)
range([[start, ]stop[,step]) Return a list of integers that begin at start up to but not including stop
                            in increments of step; start defaults to 0, and step defaults to 1
raw_input(str) Wait for text input from the user, optional prompt string can be provided
str(obj) Convert object to a string
type(obj) Return type of object (a type object itself!)

반응형
Posted by Dream Come True