{"id":2458,"date":"2022-04-17T00:56:04","date_gmt":"2022-04-17T04:56:04","guid":{"rendered":"https:\/\/cyburdial.net\/?p=2458"},"modified":"2024-12-05T19:05:15","modified_gmt":"2024-12-06T00:05:15","slug":"how-to-setup-an-archive-server","status":"publish","type":"post","link":"https:\/\/dialer.one\/index.php\/how-to-setup-an-archive-server\/","title":{"rendered":"How to &#8211; Setup an archive server"},"content":{"rendered":"\n<h1 class=\"wp-block-heading\">How to &#8211; Setup an archive server<\/h1>\n\n\n\n<p>This article is going to go over how to &#8220;scratch&#8221; 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. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Step 1 &#8211; Install and setup vsftpd<\/h2>\n\n\n\n<p>The first thing we have to do is install and properly configure vsftpd. <\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>yum install vsftpd\nnano \/etc\/vsftpd\/vsftpd.conf\npaste the following at the very bottom:\n\nallow_writeable_chroot=YES\nuserlist_deny=NO\npasv_min_port=30000\npasv_max_port=31000\nuserlist_enable=YES\nuserlist_deny=NO\nuserlist_file=\/etc\/vsftpd\/user_list\nallow_writeable_chroot=YES<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"636\" height=\"416\" sizes=\"auto, (max-width: 636px) 100vw, 636px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png\" alt=\"vsftpd config\" class=\"wp-image-2460\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png 636w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5-600x392.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5-300x196.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5-500x327.png 500w\" \/><figcaption>vsftpd.conf config<\/figcaption><\/figure><\/div>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/vsftpd\/user_list\n(add \"cronarchive\" to the bottom)\n\nuseradd -m -d \/home\/archive\/ cronarchive\npasswd cronarchive \n(set the pw u want)\n\nmkdir -p \/home\/archive\nchmod -R 777 \/home\/archive<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Step 2 &#8211; Set your archive server in install.pl script<\/h2>\n\n\n\n<p>Below is a settings example to put during the install.pl script which can be run by running the following commands. This has to be run on all asterisk servers:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd \/usr\/src\/astguiclient\/trunk\/\nperl install.pl<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"324\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-6.png\" alt=\"archive setup\" class=\"wp-image-2461\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-6.png 643w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-6-600x302.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-6-300x151.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-6-500x252.png 500w\" \/><figcaption>archive setup during install.pl script<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 3 &#8211; Turning on the cronjob to send the recordings over to the archive server<\/h2>\n\n\n\n<p>Changing this cronjob has to be done on all asterisk servers. You have to remove the # in front of this line by typing &#8220;crontab -e&#8221; and scrolling until you find it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>2,5,8,11,14,17,20,23,26,29,32,35,38,41,44,47,50,53,56,59 * * * * \/usr\/share\/astguiclient\/AST_CRON_audio_3_ftp.pl --MP3 --run-check<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"330\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-1024x330.png\" alt=\"\" class=\"wp-image-2462\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-1024x330.png 1024w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-600x193.png 600w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-300x97.png 300w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-768x247.png 768w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-500x161.png 500w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7-800x258.png 800w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-7.png 1065w\" \/><figcaption>crontab -e<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Step 4 &#8211; Changing the Apache alias for the recordings<\/h2>\n\n\n\n<p>Last thing we need to do is change the alias for the recordings on the archive server as shown below:<\/p>\n\n\n\n<p>nano \/etc\/httpd\/conf.d\/record.conf<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Alias \/RECORDINGS\/ \"\/home\/archive\/\"\n\n&lt;Directory \"\/home\/archive\"&gt;\n    Options Indexes MultiViews\n    AllowOverride None\n    Order allow,deny\n    Allow from all\n    Require all granted\n        &lt;files *.mp3&gt;\n            Forcetype application\/forcedownload\n        &lt;\/files&gt;\n&lt;\/Directory&gt;\n<\/code><\/pre>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"395\" height=\"198\" sizes=\"auto, (max-width: 395px) 100vw, 395px\" src=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-8.png\" alt=\"Apache alias\" class=\"wp-image-2463\" title=\"\" srcset=\"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-8.png 395w, https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-8-300x150.png 300w\" \/><figcaption>Apache alias<\/figcaption><\/figure><\/div>\n\n\n\n<p>Well, thats all there is to it, hopefully this will help some of you with improving your cluster setups and properly setting up an archive server.<\/p>\n\n\n\n<p>-Chris aka carpenox<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to &#8211; Setup an archive server This article is going to go over how to &#8220;scratch&#8221; 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 1 &#8211; Install and setup [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":2460,"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":[96],"tags":[533,536],"class_list":["post-2458","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vicidial","tag-howto","tag-vicidial"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/dialer.one\/wp-content\/uploads\/2022\/04\/image-5.png","jetpack-related-posts":[{"id":3455,"url":"https:\/\/dialer.one\/index.php\/how-to-install-vicidial-on-alma-linux-9-with-my-new-auto-installer\/","url_meta":{"origin":2458,"position":0},"title":"How to &#8211; Install Vicidial on Alma Linux 9 with my new auto installer","author":"carpenox","date":"September 15, 2023","format":false,"excerpt":"How to - Install Vicidial on Alma Linux 9 with my new auto installer That's right, I have fixed the issues with dahdi and php7 installations on Alma Linux 9 and created the auto installer for it, complete with the dynamic portal and the CyburPhone. Its been tested and is\u2026","rel":"","context":"In &quot;Vicidial&quot;","block_context":{"text":"Vicidial","link":"https:\/\/dialer.one\/index.php\/category\/vicidial\/"},"img":{"alt_text":"Alma Linux 9 Vicidial","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/09\/OIG-25-12.jpeg?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":4086,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-a-vicidial-cluster-with-scratch-installs\/","url_meta":{"origin":2458,"position":1},"title":"How to &#8211; Setup a ViciDial Cluster with scratch installs","author":"carpenox","date":"January 27, 2024","format":false,"excerpt":"How to - Setup a ViciDial Cluster with scratch installs This article is going to go over the steps I suggest to take in order to setup a ViciDial Cluster when using scratch install methods. I do things a little different when it comes to this to prepare for worst\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"Vicidial cluster","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2023\/12\/image-2.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":2378,"url":"https:\/\/dialer.one\/index.php\/table-of-contents\/","url_meta":{"origin":2458,"position":2},"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":5150,"url":"https:\/\/dialer.one\/index.php\/how-to-install-vicidial-on-alma-linux-10\/","url_meta":{"origin":2458,"position":3},"title":"How to &#8211; Install ViciDial on Alma Linux 10","author":"carpenox","date":"January 29, 2026","format":false,"excerpt":"How to - Install ViciDial on Alma Linux 10 How to Install VICIdial on AlmaLinux 10 Using My Updated Auto\u2011Installer VICIdial admins have been waiting for this one. AlmaLinux 10 is here with a modernized kernel, updated libraries, and a cleaner security model \u2014 but it also breaks a lot\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"Alma 10","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2026\/01\/image.webp?resize=525%2C300&ssl=1 1.5x"},"classes":[]},{"id":2394,"url":"https:\/\/dialer.one\/index.php\/how-to-setup-a-vicidial-cluster\/","url_meta":{"origin":2458,"position":4},"title":"How to &#8211; Setup a ViciDial Cluster","author":"carpenox","date":"March 12, 2022","format":false,"excerpt":"How to - Setup a ViciDial Cluster This article is going to go over the steps I suggest to take in order to setup a ViciDial Cluster. I do things a little different when it comes to this to prepare for worst case scenario that a server may have problems\u2026","rel":"","context":"In &quot;CyburDial&quot;","block_context":{"text":"CyburDial","link":"https:\/\/dialer.one\/index.php\/category\/cyburdial\/"},"img":{"alt_text":"ViciDial Cluster","src":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/dialer.one\/wp-content\/uploads\/2022\/03\/image-4.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":1913,"url":"https:\/\/dialer.one\/index.php\/how-to-install-asterisk-16-on-vicidial\/","url_meta":{"origin":2458,"position":5},"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":[]}],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2458","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=2458"}],"version-history":[{"count":0,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/posts\/2458\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media\/2460"}],"wp:attachment":[{"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/media?parent=2458"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/categories?post=2458"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dialer.one\/index.php\/wp-json\/wp\/v2\/tags?post=2458"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}