{"id":2168,"date":"2021-07-14T22:18:16","date_gmt":"2021-07-15T02:18:16","guid":{"rendered":"https:\/\/cyburdial.net\/?p=2168"},"modified":"2023-10-29T16:48:17","modified_gmt":"2023-10-29T20:48:17","slug":"how-to-scratch-install-the-dynportal-on-alma-rocky-centos","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-scratch-install-the-dynportal-on-alma-rocky-centos\/","title":{"rendered":"How to &#8211; Scratch install the dynportal on CentOs, Rocky or Alma Linux"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">How to &#8211; Scratch install the dynportal on CentOs, Rocky, or Alma Linux<\/h1>\n\n\n\n<p>This article will go over the steps to Scratch install the dynportal on a scratch CentOs, Rocky or Alma Linux Vicidial box that normally comes with the ISO. I have created the files you need and host them on one of my sites for download. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 &#8211; Download the necessary files<\/h2>\n\n\n\n<p>You will need 4 files to get this working on your server that you can download below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install -y firewalld\ncd \/home\nwget https:\/\/dialer.one\/dynportal.zip\nwget https:\/\/dialer.one\/firewall.zip\nwget https:\/\/dialer.one\/aggregate\nwget https:\/\/dialer.one\/VB-firewall<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 &#8211; Move and unzip the files<\/h2>\n\n\n\n<p>You can copy and paste the following<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>mkdir -p \/var\/www\/vhosts\/dynportal<\/li>\n\n\n\n<li>mv \/home\/dynportal.zip \/var\/www\/vhosts\/dynportal\/<\/li>\n\n\n\n<li>mv \/home\/firewall.zip \/etc\/firewalld\/<\/li>\n\n\n\n<li>cd \/var\/www\/vhosts\/dynportal\/<\/li>\n\n\n\n<li>unzip dynportal.zip<\/li>\n\n\n\n<li>cd etc\/httpd\/conf.d\/<\/li>\n\n\n\n<li>mv viciportal-ssl.conf viciportal.conf \/etc\/httpd\/conf.d\/<\/li>\n\n\n\n<li>cd \/etc\/firewalld\/<\/li>\n\n\n\n<li>unzip -o firewall.zip<\/li>\n\n\n\n<li>mv \/home\/aggregate \/usr\/bin\/<\/li>\n\n\n\n<li>chmod +x \/usr\/bin\/aggregate<\/li>\n\n\n\n<li>mv \/home\/VB-firewall \/usr\/bin\/<\/li>\n\n\n\n<li>chmod +x \/usr\/bin\/VB-firewall<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image is-style-default\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"388\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/03\/image-3.png\" alt=\"\" class=\"wp-image-2382\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/03\/image-3.png 603w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/03\/image-3-600x386.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/03\/image-3-300x193.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/03\/image-3-500x322.png 500w\" \/><figcaption class=\"wp-element-caption\">Unzip your files<\/figcaption><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">Step 3 &#8211; Add your SSL cert to dynportal-ssl.conf and location for redirect is defaults.inc.php<\/h2>\n\n\n\n<p>You need to edit your dynportal-ssl.conf file in \/etc\/httpd\/conf.d\/<\/p>\n\n\n\n<p>nano \/etc\/httpd\/conf.d\/viciportal-ssl.conf<\/p>\n\n\n\n<p>change the location to your SSL cert files<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"877\" height=\"631\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3.png\" alt=\"Scratch install the dynportal on CentOs\" class=\"wp-image-2173\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3.png 877w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3-600x432.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3-300x216.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3-768x553.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3-500x360.png 500w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-3-800x576.png 800w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><figcaption class=\"wp-element-caption\">Dynportal SSL config<\/figcaption><\/figure>\n<\/div>\n\n\n<p>nano \/var\/www\/vhosts\/dynportal\/inc\/defaults.inc.php<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 &#8211; add entry to crontab<\/h2>\n\n\n\n<p>Add the following lines to the bottom of your crontab by typing: crontab -e<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>### ViciBox integrated firewall, by default just load the VoIP Black list and reload it every 4 hours\n### You can lock everyone out of your server if you set this wrong, so understand what you are doing!!!\n@reboot \/usr\/bin\/VB-firewall --whitelist=ViciWhite --dynamic --quiet\n* * * * * \/usr\/bin\/VB-firewall --whitelist=ViciWhite --dynamic --quiet --flush<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 5 &#8211; Add ports to firewall and apache<\/h2>\n\n\n\n<p>Now use firewall-cmd and open port 446 on the firewall for public zone like such:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>firewall-offline-cmd --add-port=446\/tcp --zone=public --permanent<\/code><\/pre>\n\n\n\n<p>And edit the apache conf file to add the port to it:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>nano \/etc\/httpd\/conf\/httpd.conf<\/li>\n\n\n\n<li>Add this line: Listen 446<\/li>\n<\/ul>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 6 &#8211; Restart services<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>service firewalld restart<\/li>\n\n\n\n<li>service httpd restart<\/li>\n\n\n\n<li>systemctl enable firewalld<\/li>\n<\/ul>\n\n\n\n<p>That&#8217;s it, now go to http:\/\/yourdomain.com:446\/valid8.php and you should see the following:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"324\" height=\"326\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-5.png\" alt=\"Dynportal Interface\" class=\"wp-image-2175\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-5.png 324w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-5-100x100.png 100w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-5-298x300.png 298w, https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image-5-150x150.png 150w\" sizes=\"auto, (max-width: 324px) 100vw, 324px\" \/><figcaption class=\"wp-element-caption\">Dynportal Interface<\/figcaption><\/figure>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>How to &#8211; Scratch install the dynportal on CentOs, Rocky, or Alma Linux This article will go over the steps to Scratch install the dynportal on a scratch CentOs, Rocky or Alma Linux Vicidial box that normally comes with the ISO. I have created the files you need and host them on one of my [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2170,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"content-type":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[529,96],"tags":[],"class_list":["post-2168","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cyburdial","category-vicidial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2021\/07\/image.png","jetpack-related-posts":[{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2168,"position":0},"title":"Table of Contents &#8211; Knowledge Base","author":"carpenox","date":"March 7, 2022","format":false,"excerpt":"Welcome to my blog, some of you may know me from the ViciDial forums, I am carpenox and I am here to share my knowledge with everyone, for free!","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"CyburDial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/02\/image.png?resize=1050%2C600&ssl=1 3x"},"classes":[]},{"id":1913,"url":"https:\/\/dialer.one\/index.php\/how-to-install-asterisk-16-on-vicidial\/","url_meta":{"origin":2168,"position":1},"title":"How to &#8211; Install Asterisk 16 on Vicidial","author":"carpenox","date":"April 7, 2021","format":false,"excerpt":"How to - Install Asterisk 16 on Vicidial In this article, I will demonstrate Install Asterisk 16 on Vicidial aka vicibox 9. In theory it should also work for you CentOS lovers (bleh) too, but just change the zypper commands to yum. Step 1 - Remove Asterisk 13 & install\u2026","rel":"","context":"With 5 comments","block_context":{"text":"With 5 comments","link":"https:\/\/dialer.one\/index.php\/how-to-install-asterisk-16-on-vicidial\/#comments"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/04\/image-4.png?resize=350%2C200&ssl=1","width":350,"height":200},"classes":[]},{"id":2267,"url":"https:\/\/dialer.one\/index.php\/how-to-migrate-from-centos-8-to-almalinux-conversion\/","url_meta":{"origin":2168,"position":2},"title":"How to migrate from CentOS 8 to AlmaLinux 8.5(conversion)","author":"carpenox","date":"January 4, 2022","format":false,"excerpt":"How to migrate from CentOS 8 to AlmaLinux (conversion) I already wrote about\u00a0migrating from CentOS 8 to Rocky Linux. Today, this quick post will list steps to convert existing VM or bare metal server from CentOS 8 to AlmaLinux 8. WARNING!\u00a0Make a backup before you start upgrading and the conversion\u2026","rel":"","context":"In &quot;Information&quot;","block_context":{"text":"Information","link":"https:\/\/dialer.one\/index.php\/category\/information\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/01\/image-2.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":5029,"url":"https:\/\/dialer.one\/index.php\/how-to-fix-unable-to-open-master-device-dev-dahdi-ctl-for-dahdi\/","url_meta":{"origin":2168,"position":3},"title":"How to &#8211; Fix: Unable to open master device &#8216;\/dev\/dahdi\/ctl&#8217; for Dahdi","author":"carpenox","date":"July 7, 2025","format":false,"excerpt":"How to - Fix: Unable to open master device '\/dev\/dahdi\/ctl' for Dahdi This happens after updating your operating system for redhat distro's such as Alma, Rocky or CentOS. Its an easy fix thats outlined below: Step 1 - Browse to proper directory cd \/usr\/src\/dahdi-linux-complete-3.4.0+3.4.0\/ Step 2 - Recompile Dahdi make\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2458,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-an-archive-server\/","url_meta":{"origin":2168,"position":4},"title":"How to &#8211; Setup an archive server","author":"carpenox","date":"April 17, 2022","format":false,"excerpt":"How to - Setup an archive server This article is going to go over how to \"scratch\" install an archive server on CentOS 8, Rocky Linux or Alma Linux. You can pretty much follow it for OpenSuSe as well but there would be some small variations for installing vsftpd. Step\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"archive","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2235,"url":"https:\/\/dialer.one\/index.php\/how-to-scratch-install-vicidial-on-almalinux\/","url_meta":{"origin":2168,"position":5},"title":"How to \u2013 Scratch install Vicidial on AlmaLinux","author":"carpenox","date":"November 16, 2021","format":false,"excerpt":"How to \u2013 Scratch install Vicidial on AlmaLinux This article will go over how to scratch install Vicidial on AlmaLinux 8.6 -:- Special thanks to https:\/\/zestvoip.com\/ and https:\/\/zenithbsolutions.com\/ for testing this out. You can also use the Video tutorial at the bottom created by HBtutorials IMPORTANT UPDATE: Alma changed one\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"CyburDial Realtime Screen","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/realtime2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/realtime2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/realtime2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/realtime2.png?resize=700%2C400&ssl=1 2x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2021\/07\/realtime2.png?resize=1050%2C600&ssl=1 3x"},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2168","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/comments?post=2168"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2168\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/2170"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2168"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2168"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2168"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}