[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13732686#comment-13732686
 ] 

Charles Galpin commented on CLOUDSTACK-3012:
--------------------------------------------

Additional differences for the ip[tables setup for nfs on ubuntu. From the 
following blog entry I did the following

http://jjasonclark.com/setting_up_NFS_on_Ubuntu_10.04_server

cgalpin@csmanage1:~$ sudo vi /etc/network/if-pre-up.d/iptablesload
cgalpin@csmanage1:~$ sudo vi /etc/network/if-post-down.d/iptablessave
cgalpin@csmanage1:~$ sudo chmod +x /etc/network/if-pre-up.d/iptablesload
cgalpin@csmanage1:~$ sudo chmod +x /etc/network/if-post-down.d/iptablessave
cgalpin@csmanage1:~$ sudo /etc/network/if-post-down.d/iptablessave
cgalpin@csmanage1:~$ sudo /etc/network/if-pre-up.d/iptablesload
cgalpin@csmanage1:~$ sudo su -
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p udp --dport 111 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p tcp --dport 111 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p tcp --dport 2049 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p tcp --dport 32803 
-j ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p udp --dport 32769 
-j ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p tcp --dport 892 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p udp --dport 892 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p tcp --dport 875 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p udp --dport 875 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p tcp --dport 662 -j 
ACCEPT
root@csmanage1:~# iptables -A INPUT -m state --state NEW -p udp --dport 662 -j 
ACCEPT
root@csmanage1:~# /etc/network/if-post-down.d/iptablessave
                
> Manual section 4.5.6.2 details what to install to have a working NFS server 
> on RedHat but not Ubuntu
> ----------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3012
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3012
>             Project: CloudStack
>          Issue Type: Improvement
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Doc
>    Affects Versions: 4.1.0
>         Environment: Ubuntu Precise
>            Reporter: Gary Richards
>            Priority: Minor
>              Labels: docuentation
>
> Manual section 4.5.6.2 details what to install to have a working NFS server 
> on RedHat but not Ubuntu.
> I part 1 of this section is says:
> On RHEL/CentOS systems, you'll need to install the nfs-utils package:
> $ sudo yum install nfs-utils
> I believe the following should be added:
> On Ubuntu systems, you'll need to install the nfs-kernel-server package:
> $ sudo apt-get install nfs-kernel-server

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to