{"id":390,"date":"2021-11-05T19:45:04","date_gmt":"2021-11-05T17:45:04","guid":{"rendered":"https:\/\/blog.gentz.com.de\/bloggentz\/?p=390"},"modified":"2024-09-06T09:00:06","modified_gmt":"2024-09-06T07:00:06","slug":"tutorial-oscam-auf-ubuntu-20-04-ltsr-installieren","status":"publish","type":"post","link":"https:\/\/gentz.cloud\/?p=390","title":{"rendered":"TUTORIAL: Installing OSCAM on Ubuntu 20.04 LTSR"},"content":{"rendered":"\n<p><strong>Update on 09\/06\/2024: Translated to English.<\/strong><br><br>So, after a long time, here&#8217;s another post, which, like all my posts, is mainly for myself, but I&#8217;m happy to share the information publicly. After spending several days figuring out how OSCAM works, I now have a stable installation.<\/p>\n\n\n\n<p>What was important to me was a simple installation since my Linux knowledge is limited.<\/p>\n\n\n\n<p>Let&#8217;s get started. I created a VM that will serve both OSCAM and TVHeadend (instructions to follow). I set it up with 1024 MB RAM (dynamic), 4 VCPUs, and a 120 GB HDD.<\/p>\n\n\n\n<p>Then I installed Ubuntu (source) including the SSH server.<\/p>\n\n\n\n<p>Now onto the console:<\/p>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\"> apt-get update\napt-get upgrade\ncd \/opt\napt install subversion\ngit clone https:\/\/github.com\/gorgone\/s3_releases.git\ncd s3_releases\nchmod 777 s3\n\n.\/s3 menu\n <\/pre>\n\n\n\n<p>We installed the community tool S3, which downloads and packages the correct OSCAM version for us.<\/p>\n\n\n\n<p>Here are some screenshots:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image.png\"><img loading=\"lazy\" decoding=\"async\" width=\"532\" height=\"274\" src=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image.png\" alt=\"\" class=\"wp-image-393\" srcset=\"https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image.png 532w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-300x155.png 300w\" sizes=\"auto, (max-width: 532px) 100vw, 532px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>I recommend version 11581 since I had some issues with the current one (11703).<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"312\" height=\"180\" src=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-1.png\" alt=\"\" class=\"wp-image-394\" srcset=\"https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-1.png 312w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-1-300x173.png 300w\" sizes=\"auto, (max-width: 312px) 100vw, 312px\" \/><\/a><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"482\" height=\"247\" src=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-2.png\" alt=\"\" class=\"wp-image-395\" srcset=\"https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-2.png 482w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-2-300x154.png 300w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/a><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"634\" height=\"263\" src=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-3.png\" alt=\"\" class=\"wp-image-396\" srcset=\"https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-3.png 634w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-3-300x124.png 300w\" sizes=\"auto, (max-width: 634px) 100vw, 634px\" \/><\/a><\/figure>\n<\/div>\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"551\" height=\"384\" src=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-5.png\" alt=\"\" class=\"wp-image-398\" srcset=\"https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-5.png 551w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-5-300x209.png 300w\" sizes=\"auto, (max-width: 551px) 100vw, 551px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>The standard installation is sufficient for me, but feel free to make changes if needed.<\/p>\n\n\n\n<p>The finished package is now located in &#8220;\/opt\/s3_releases\/support\/binaries&#8221;. We exit the program with &#8220;back&#8221; and &#8220;exit&#8221;.<\/p>\n\n\n\n<p>Moving on in the console:<\/p>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\ncd \/opt\/s3_releases\/support\/binaries\ncp \/opt\/s3_releases\/support\/binaries\/oscam-svn11581-Linux-x86_64-webif-dvbapi \/usr\/local\/bin\/oscam\ncd \/usr\/local\/bin\nnano softcam.oscamd\n<\/pre>\n\n\n\n<p>Here we enter the following to start OSCAM automatically:<\/p>\n\n\n\n<iframe src=\"https:\/\/pastebin.com\/embed_iframe\/R5fc5QHj?theme=dark\" style=\"border:none;width:100%;height:1000px\"><\/iframe>\n\n\n\n<p>From here, back to the console:<\/p>\n\n\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\ncp softcam.oscamd \/etc\/init.d\/\nsystemctl daemon-reload\nchmod 755 \/etc\/init.d\/softcam.oscamd\nchmod +x \/etc\/init.d\/softcam.oscamd\nchown root:root \/etc\/init.d\/softcam.oscamd\nupdate-rc.d softcam.oscamd defaults\nreboot\n<\/pre>\n\n\n\n<p>We have now placed OSCAM in the system and written a startup script.<\/p>\n\n\n\n<p>After a reboot, OSCAM should be available:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><a href=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"472\" src=\"https:\/\/blog.gentz.com.de\/bloggentz\/wp-content\/uploads\/2021\/11\/image-6.png\" alt=\"\" class=\"wp-image-404\" srcset=\"https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-6.png 856w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-6-300x165.png 300w, https:\/\/gentz.cloud\/wp-content\/uploads\/2021\/11\/image-6-768x423.png 768w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/a><\/figure>\n<\/div>\n\n\n<p>The configuration files are located under &#8220;\/usr\/local\/etc&#8221;.&#8221;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Update on 09\/06\/2024: Translated to English. So, after a long time, here&#8217;s another post, which, like all my posts, is mainly for myself, but I&#8217;m happy to share the information publicly. After spending several days figuring out how OSCAM works, I now have a stable installation. What was important to me was a simple installation<\/p><\/div>\n<div class=\"blog-btn\"><a href=\"https:\/\/gentz.cloud\/?p=390\" class=\"home-blog-btn\">Read More<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-390","post","type-post","status-publish","format-standard","hentry","category-tips-ricks"],"_links":{"self":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/390","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=390"}],"version-history":[{"count":29,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions"}],"predecessor-version":[{"id":784,"href":"https:\/\/gentz.cloud\/index.php?rest_route=\/wp\/v2\/posts\/390\/revisions\/784"}],"wp:attachment":[{"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=390"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=390"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/gentz.cloud\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=390"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}