I’ve been looking at the new SnomONE PBX tonight, and have set up a test installation on a virtual machine. I couldn’t see any instructions in their manual for installing on Linux, so I thought I’d blog about the steps I took as it might help someone else!
1. Install Centos 5.5 x86_64 system.
2. SSH into system, and download SnomONE Centos 64 bit version installer from Snom.
cd /root/ wget http://downloads.snom.net/snomONE/centos64/snomone-CentOS5-2011-4.2.0.3950-x64.bin
3. Make the installation script executable:
chmod +x snomone-CentOS5-2011-4.2.0.3950-x64.bin.sh
4. Run the installer script without any arguments to check the integrity of the file:
./snomone-CentOS5-2011-4.2.0.3950-x64.bin.sh
5. Run the installer in install mode
./snomone-CentOS5-2011-4.2.0.3950-x64.bin.sh install
6. Setup firewall rules
echo ' # Generated by iptables-save v1.3.5 on Thu Oct 14 23:11:41 2010 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [11875:1171187] :RH-Firewall-1-INPUT - [0:0] -A INPUT -j RH-Firewall-1-INPUT -A FORWARD -j RH-Firewall-1-INPUT -A RH-Firewall-1-INPUT -i lo -j ACCEPT -A RH-Firewall-1-INPUT -p icmp -m icmp --icmp-type any -j ACCEPT -A RH-Firewall-1-INPUT -p esp -j ACCEPT -A RH-Firewall-1-INPUT -p ah -j ACCEPT -A RH-Firewall-1-INPUT -d 224.0.0.251 -p udp -m udp --dport 5353 -j ACCEPT -A RH-Firewall-1-INPUT -p udp -m udp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m tcp --dport 631 -j ACCEPT -A RH-Firewall-1-INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT -A RH-Firewall-1-INPUT -p tcp -m state --state NEW -m tcp --dport 22 -j ACCEPT # SnomOne Rules # Web -A RH-Firewall-1-INPUT -p tcp --dport 80 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp --dport 443 -j ACCEPT # SIP -A RH-Firewall-1-INPUT -p udp --dport 5060 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp --dport 5060 -j ACCEPT # SIP TLS -A RH-Firewall-1-INPUT -p udp --dport 5061 -j ACCEPT -A RH-Firewall-1-INPUT -p tcp --dport 5061 -j ACCEPT # RTP Media Stream -A RH-Firewall-1-INPUT -p udp --dport 49152:64512 -j ACCEPT # SNMP -A RH-Firewall-1-INPUT -p udp --dport 161 -j ACCEPT # TFTP -A RH-Firewall-1-INPUT -p udp --dport 69 -j ACCEPT -A RH-Firewall-1-INPUT -j REJECT --reject-with icmp-host-prohibited COMMIT # Completed on Thu Oct 14 23:11:41 2010' > /root/snom-firewall.txt iptables-restore < /root/snom-firewall.txt service iptables save
6. Access the admin interface in your web browser…. http://ipaddress-of-centos-box/
The old Wiki http://kiwi.pbxnsip.com/index.php/Installing_in_Linux has more information on how to install it in Linux