http://www.davidbaker.cc/?q=node/3
# Append the following to /usr/share/tomcat6/shared/classes/alfresco-global.properties
cifs.enabled=true
cifs.Server.Name=alfresco
cifs.ipv6.enabled=false
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
# To load the NAT module at system startup append the following to /etc/modules
iptable_nat
# Enable port forwarding. In /etc/sysctl.conf uncomment the following line
net.ipv4.ip_forward=1
# Configure port forwarding
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 445 -j REDIRECT --to-ports 1445
iptables -t nat -A PREROUTING -p tcp --dport 139 -j REDIRECT --to-ports 1139
iptables -t nat -A PREROUTING -p udp --dport 137 -j REDIRECT --to-ports 1137
iptables -t nat -A PREROUTING -p udp --dport 138 -j REDIRECT --to-ports 1138
# Save iptables configuration
iptables-save > /etc/iptables.rules
# Set network interface to load iptables configuration at system startup. Append the following to the end of your primary network interface configuration in /etc/network/interfaces
pre-up iptables-restore /etc/iptables.rules
# Reboot server. Ensure you can connect to "http://ServerIPAddress:8080/alfresco" and "http://ServerIPAddress:8080/share" using your web browser. Also ensure you can connect to "\\ServerIPAddress\Alfresco" using Windows Explorer. Log into each interface with user name and password of "admin"
# Append the following to /usr/share/tomcat6/shared/classes/alfresco-global.properties
cifs.enabled=true
cifs.Server.Name=alfresco
cifs.ipv6.enabled=false
cifs.tcpipSMB.port=1445
cifs.netBIOSSMB.namePort=1137
cifs.netBIOSSMB.datagramPort=1138
cifs.netBIOSSMB.sessionPort=1139
# To load the NAT module at system startup append the following to /etc/modules
iptable_nat
# Enable port forwarding. In /etc/sysctl.conf uncomment the following line
net.ipv4.ip_forward=1
# Configure port forwarding
iptables -F
iptables -t nat -F
iptables -P INPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -P OUTPUT ACCEPT
iptables -t nat -A PREROUTING -p tcp --dport 445 -j REDIRECT --to-ports 1445
iptables -t nat -A PREROUTING -p tcp --dport 139 -j REDIRECT --to-ports 1139
iptables -t nat -A PREROUTING -p udp --dport 137 -j REDIRECT --to-ports 1137
iptables -t nat -A PREROUTING -p udp --dport 138 -j REDIRECT --to-ports 1138
# Save iptables configuration
iptables-save > /etc/iptables.rules
# Set network interface to load iptables configuration at system startup. Append the following to the end of your primary network interface configuration in /etc/network/interfaces
pre-up iptables-restore /etc/iptables.rules
# Reboot server. Ensure you can connect to "http://ServerIPAddress:8080/alfresco" and "http://ServerIPAddress:8080/share" using your web browser. Also ensure you can connect to "\\ServerIPAddress\Alfresco" using Windows Explorer. Log into each interface with user name and password of "admin"
'정보기술 > 일반' 카테고리의 다른 글
Google Chrome Extensions 추천 (0) | 2010.10.18 |
---|---|
Windows Server 2008 에 VPN 서버 설정하기 (0) | 2010.06.11 |
Manual Intall Alfresco 3.3 on Ubuntu 10.04 LTS (0) | 2010.05.10 |
Windows 7 Automatic Login Setting 변경 (0) | 2010.04.28 |
Incremental Backup in Windows 7 (0) | 2010.03.24 |