{"id":55921,"date":"2020-05-20T17:05:12","date_gmt":"2020-05-20T21:05:12","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=55921"},"modified":"2021-08-16T15:37:45","modified_gmt":"2021-08-16T19:37:45","slug":"how-to-install-red5-on-centos-7","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/","title":{"rendered":"How to Install Red5 on CentOS 7"},"content":{"rendered":"<p><strong>Red5<\/strong> is a popular flash-based streaming software that allows users to stream their own content on their own server, as opposed to using a service such as <strong>Twitch<\/strong> or <strong>YouTube<\/strong>. This allows for greater control over your stream and allows you to customize how your viewers interact with your streamed content. In this article, we will outline how to install Red5 on your <strong>CentOS 7<\/strong> server. As this process requires use of the <a href=\"https:\/\/www.inmotionhosting.com\/support\/server\/linux\/command-line-tutorials\/\">Linux command-line<\/a> and <a href=\"https:\/\/www.inmotionhosting.com\/support\/amp\/obtain-root-access\/\">root access<\/a>, we recommend only performing this task if you are comfortable using the command-line interface.<\/p>\n\n\n\n<p>Topics Include:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"#build\">Building the Red5 RPM Package<\/a><\/li><li><a href=\"#install\">Installing the Red5 RPM Packaging<\/a><\/li><li><a href=\"#manage\">Managing Red5<\/a><\/li><\/ul>\n\n\n\n<p class=\"alert alert-info\">Install Red5 on your <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\">Dedicated Hosting<\/a> server and start streaming today!<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"build\">Building the Red5 RPM Package<\/h2>\n\n\n\n<p>Before you can install Red5, you need to build the package from the source code. To do this, you must first install the <strong>rpm-build<\/strong> software that allows you to build the Red5 <strong>RPM package.<\/strong><\/p>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>First, cd or change directory in to the \/usr\/src folder as follows:<br><br><pre>cd \/usr\/src<\/pre><\/li><li>Next, install rpm-build with the following command:<br><br><pre>yum -y install rpm-build<\/pre><\/li><li>Next, use the git clone command to clone the Red5 source code to your server:\u00a0<br><br><pre>git clone https:\/\/github.com\/Red5\/installer\/ .\/red5-installer<\/pre><\/li><li>Then, cd into the red5-installer\/redhat\/ folder:\u00a0<br><br><pre>cd red5-installer\/redhat\/<\/pre><\/li><li>Inside this folder, build the Red5 RPM package with the following command:\u00a0<br><br><pre>.\/make_rpmPackage.sh &lt;version number&gt;\u00a0<\/pre><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"install\">Installing the Red5 RPM package<\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Now that the necessary package has been built, you can install it with the following command:<br><br><pre>yum -y localinstall RPMS\/x86_64\/&lt;filename&gt;.rpm<\/pre>*To find the name of the .rpm file you built in the previous steps, check the RPMS\/x86_64 folder<br><\/li><li>To complete the installation, you will need to use the nano text editor command to edit the following files:<br><br><pre>nano \/var\/lib\/red5\/conf\/logback.xml:<\/pre><br><strong>Replace<\/strong> <code>&lt;File&gt;log\/red5.log&lt;\/File&gt;<\/code> <strong>with<\/strong> <code>&lt;File&gt;\/var\/lib\/red5\/log\/red5.log&lt;\/File&gt;<\/code><br><br><pre>nano \/etc\/init.d\/red5:<\/pre><br><strong>Replace<\/strong> <code>\u2018export JAVA_HOME=\u2019<\/code> <strong>with<\/strong> <code>\u2018export JAVA_HOME=\/usr\/lib\/jvm\/jre\u2019<\/code><\/li><\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"manage\">Managing Red5 <\/h2>\n\n\n\n<ol class=\"article_list wp-block-list\"><li>Now that Red5 has been installed and configured, you can start the service with the following command:<br><br><pre>service red5 start<\/pre><\/li><li>At any time, you can check the status of the Red5 server with the following command:<br><br><pre>service red5 status<\/pre><\/li><li>To add Red5 to the list of programs that launch automatically when the server reboots, use the following command:<br><br><pre>chkconfig --add red5<\/pre><\/li><li>Before you can connect to Red5, you will need to open port 5080 in your firewall. You can do this via the following command:<br><br><pre>sudo firewall-cmd --zone=public --add-port=5080\/tcp<\/pre><\/li><li>To test if Red5 was installed properly, you can visit your IP followed by :5080. For example, if your IP is 123.4.5.6, you can visit 123.4.5.6:5080 to test the installation. If the installation was successful, you should see the following page in your browser:<br><br><a href=\"\/support\/wp-content\/uploads\/2020\/05\/red5centos.png\"><img loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" class=\"std_ss alignnone wp-image-6525 size-thumbnail\" src=\"\/support\/wp-content\/uploads\/2020\/05\/red5centos.png\" alt=\"Red5 Splash Page\"><\/a><\/li><\/ol>\n\n\n\n<p>Congratulations, you have successfully installed Red5! <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Red5 is a popular flash-based streaming software that allows users to stream their own content on their own server, as opposed to using a service such as Twitch or YouTube. This allows for greater control over your stream and allows you to customize how your viewers interact with your streamed content. In this article, we<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4304],"tags":[],"class_list":["post-55921","post","type-post","status-publish","format-standard","hentry","category-live-broadcasting"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Install Red5 on CentOS 7 | InMotion Hosting Support Center<\/title>\n<meta name=\"description\" content=\"Red5 is a popular flash-based application for streaming digital content. This article outlines how to install Red5 on your CentOS 7 server.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install Red5 on CentOS 7 | InMotion Hosting Support Center\" \/>\n<meta property=\"og:description\" content=\"Red5 is a popular flash-based application for streaming digital content. This article outlines how to install Red5 on your CentOS 7 server.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-05-20T21:05:12+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-16T19:37:45+00:00\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"How to Install Red5 on CentOS 7\",\"datePublished\":\"2020-05-20T21:05:12+00:00\",\"dateModified\":\"2021-08-16T19:37:45+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\"},\"wordCount\":406,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"articleSection\":[\"Live Broadcasting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\",\"name\":\"How to Install Red5 on CentOS 7 | InMotion Hosting Support Center\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"datePublished\":\"2020-05-20T21:05:12+00:00\",\"dateModified\":\"2021-08-16T19:37:45+00:00\",\"description\":\"Red5 is a popular flash-based application for streaming digital content. This article outlines how to install Red5 on your CentOS 7 server.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install Red5 on CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install Red5 on CentOS 7 | InMotion Hosting Support Center","description":"Red5 is a popular flash-based application for streaming digital content. This article outlines how to install Red5 on your CentOS 7 server.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/","og_locale":"en_US","og_type":"article","og_title":"How to Install Red5 on CentOS 7 | InMotion Hosting Support Center","og_description":"Red5 is a popular flash-based application for streaming digital content. This article outlines how to install Red5 on your CentOS 7 server.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2020-05-20T21:05:12+00:00","article_modified_time":"2021-08-16T19:37:45+00:00","author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"How to Install Red5 on CentOS 7","datePublished":"2020-05-20T21:05:12+00:00","dateModified":"2021-08-16T19:37:45+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/"},"wordCount":406,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"articleSection":["Live Broadcasting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/","name":"How to Install Red5 on CentOS 7 | InMotion Hosting Support Center","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"datePublished":"2020-05-20T21:05:12+00:00","dateModified":"2021-08-16T19:37:45+00:00","description":"Red5 is a popular flash-based application for streaming digital content. This article outlines how to install Red5 on your CentOS 7 server.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/live-broadcasting\/how-to-install-red5-on-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"How to Install Red5 on CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/55921","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=55921"}],"version-history":[{"count":20,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/55921\/revisions"}],"predecessor-version":[{"id":82917,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/55921\/revisions\/82917"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=55921"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=55921"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=55921"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}