By Trust Nerds β Real Tech, Real Setup Guides.
π§± Step 1: Create a Virtual Machine on GCP
β Recommended Specs for VICIdial on Google Cloud:
- OS: AlmaLinux 8.x
- RAM: 8 GB minimum (for small setup)
- vCPUs: 4+
- Disk: 50 GB SSD
- Static IP: Yes (for SIP and web access)
π Commands:
After your instance is ready, SSH into it and run:
sudo dnf update -y
sudo hostnamectl set-hostname vicibox
π§° Step 2: Install Required Dependencies
bashCopyEditsudo dnf install -y epel-release
sudo dnf install -y gcc make wget perl perl-Net-Telnet perl-DBI perl-DBD-MySQL \
screen ncurses-devel ncurses tftp-server httpd php php-mysqlnd mariadb-server \
mariadb php-pdo php-cli php-mbstring php-gd php-common php-xml php-soap \
perl-CPAN perl-Time-HiRes perl-Net-SSLeay mod_ssl
ποΈ Step 3: Enable and Start Services
bashCopyEditsudo systemctl enable mariadb httpd
sudo systemctl start mariadb httpd
Secure MariaDB:
bashCopyEditsudo mysql_secure_installation
π Step 4: Configure Firewall and Ports
bashCopyEditsudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --permanent --add-port=5060-5061/udp
sudo firewall-cmd --permanent --add-port=10000-20000/udp
sudo firewall-cmd --permanent --add-port=22/tcp
sudo firewall-cmd --reload
On GCP, open the same ports in the VPC network > firewall rules.
π₯οΈ Step 5: Install Asterisk
bashCopyEditcd /usr/src/
wget http://downloads.asterisk.org/pub/telephony/asterisk/asterisk-16-current.tar.gz
tar -zxvf asterisk-16-current.tar.gz
cd asterisk-16*/
contrib/scripts/install_prereq install
./configure
make menuselect
make
make install
make samples
make config
ldconfig
π¦ Step 6: Download VICIdial Source
bashCopyEditcd /usr/src/
wget http://download.vicidial.com/iso/vicibox/server.tar.gz
tar -xvzf server.tar.gz
cd vicidial*
Run installer scripts:
bashCopyEdit./install.pl
Follow the prompts for database, web, and dialer setup.
π§ Step 7: Configure Apache and Web Interface
Edit Apache config if needed:
bashCopyEditnano /etc/httpd/conf/httpd.conf
Make sure DocumentRoot
points to:
cssCopyEdit/var/www/html
Start Apache:
bashCopyEditsystemctl restart httpd
π§ͺ Step 8: Set up Crontab for VICIdial
bashCopyEditcrontab -e
Paste in:
bashCopyEdit* * * * * /usr/share/astguiclient/AST_update.pl --debug
* * * * * /usr/share/astguiclient/ASTVDauto_dial.pl --debug
(Add all relevant cronjobs from the VICIdial install guide.)
π§ Step 9: Configure Asterisk
Basic config in:
bashCopyEditnano /etc/asterisk/sip.conf
nano /etc/asterisk/extensions.conf
Then reload:
bashCopyEditasterisk -rx "reload"
π Step 10: Access the VICIdial Web Panel
Go to:
pgsqlCopyEdithttp://[your-server-IP]/vicidial/admin.php
Login with:
yamlCopyEditUsername: 6666
Password: 1234
β Final Checklist
- VICIdial installed and accessible
- Static IP assigned
- SIP and RTP ports open
- Crontab configured
- Apache and Asterisk running
π Questions or Need Help?
If this looks like a lot β donβt worry. Iβve done it from scratch, and I can help you do it too.
π Call us at +1-877-364-7090
π trustnerds.net/contact