Ward,
I spun a droplet on DO per instruction. I ran the commands listedand got the following
Retype new password:
[root@centos-s-2vcpu-4gb-nyc3-01 ~]# cd /root
[root@centos-s-2vcpu-4gb-nyc3-01 ~]# wget https://raw.githubusercontent.com/wardmundy/VPS/master/vps.sh
-bash: wget: command not found
[root@centos-s-2vcpu-4gb-nyc3-01 ~]#
I used CentOS 7.4 x64
TIA,
Jeff
I spun a droplet on DO per instruction. I ran the commands listedand got the following
Retype new password:
[root@centos-s-2vcpu-4gb-nyc3-01 ~]# cd /root
[root@centos-s-2vcpu-4gb-nyc3-01 ~]# wget https://raw.githubusercontent.com/wardmundy/VPS/master/vps.sh
-bash: wget: command not found
[root@centos-s-2vcpu-4gb-nyc3-01 ~]#
I used CentOS 7.4 x64
TIA,
Jeff
Installing VitalPBX Securely on Vultr and Digital Ocean (OpenVZ is NOT supported!!)
1. Create at least a 1GB RAM VPS with 64-bit CentOS 7 OS
2. Change your root password: passwd
3. Issue the following commands while logged in as root:
4. Reboot VPS when install completes.Code:cd /root wget https://raw.githubusercontent.com/wardmundy/VPS/master/vps.sh chmod +x vps.sh ./vps.sh
5. Log into VitalPBX GUI with a browser and set your admin password for GUI access
6. WhiteList your client and server IP addresses as well as 127.0.0.1 in Admin:Security:Firewall:WhiteList
7. Enable Fail2Ban in Admin:Security:Intrusion Detection
8. WhiteList your client IP address(es) in Admin:Security:Intrusion Detection:Whitelist
9. Remove the following rules from Admin:Security:Firewall:Rules
10. Install PortKnocker from previous post.Code:SIP HTTP HTTPS SSH IAX2 PJSIP
11. WhiteList the IP addresses of any trunk providers to whom your server doesn't register. (see #6)
12. WhiteList the IP addresses of any remote extensions. (see #6)
Email Configuration. One of the other things you’ll want to get working is email delivery for Voicemails. The VitalPBX solution is the best in the business. It supports Gmail as a RelayHost out of the box. For residential users where your ISP blocks downstream SMTP mail servers, this is a godsend. Setup couldn’t be easier. Navigate to Admin:System Settings:Email Settings. For Server, click Use External Mail Server. For Provider, click Gmail and enter your full Gmail account name and password. Click Save and Reload your Dialplan. Then send yourself a test message by entering an email address and clicking the Envelope icon.