{"id":10059,"date":"2019-06-13T13:57:50","date_gmt":"2019-06-13T11:57:50","guid":{"rendered":"https:\/\/nzbusenet.com\/install-muximux-ubuntu-via-the-command-line\/"},"modified":"2023-07-22T14:05:40","modified_gmt":"2023-07-22T12:05:40","slug":"install-muximux-ubuntu-command-line","status":"publish","type":"post","link":"https:\/\/nzbusenet.com\/en\/install-muximux-ubuntu-command-line\/","title":{"rendered":"Install Muximux Ubuntu via the command line"},"content":{"rendered":"\n<p>In this tutorial, install Muximux Ubuntu. We are going to install Muximux via the command line. On a computer with Ubuntu. Next we will configure Muximux.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"nginx-en-php-installeren-ubuntu\">Install Nginx and php Ubuntu<\/h2>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<p>We need a web server. So we are going to install Nginx.<\/p>\n\n<p>To be sure we do the software list update.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt update<\/p>\n<\/blockquote>\n\n<p>Now we are going to install Nginx with PHP.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo apt install nginx php7.0-fpm git<\/p>\n<\/blockquote>\n\n<p>Now PHP and Nginx are installed.<\/p>\n\n<h2 class=\"wp-block-heading\" id=\"muximux-installeren-ubuntu\">Install Muximux Ubuntu<\/h2>\n\n<p>Now it&#8217;s time for us to install Muximux.<\/p>\n\n<p>Go to the www folder of your web server.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>cd \/var\/www<\/p>\n<\/blockquote>\n\n<p>Now we will download the Muximux software.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>git clone https:\/\/github.com\/mescon\/Muximux muximux<\/p>\n<\/blockquote>\n\n<p>We must then set the permissions correctly For the Muximux folder.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo chown -R www-data:www-data \/var\/www\/muximux<\/p>\n<\/blockquote>\n\n<p>Now we are going to create a vhost for Muximux.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nano \/etc\/nginx\/sites-available\/muximux<\/p>\n<\/blockquote>\n\n<p>Copy And paste this in your vhost. Beware! Change <b>dynamic_DNS<\/b> and ip <b>192.168.1.100<\/b>. If you do not have dynamic DNS. Then you can remove this<\/p>\n\n<p>Change the Ip. To your own Ip.<\/p>\n\n<p>It is also best to lock this ip address in your router. If you have not done this yet. Otherwise, chances are that you will have to adjust the vhost every time. If your Ubuntu computer has been restarted.<\/p>\n<div class='code-block code-block-8' style='margin: 8px 0; clear: both; width: 700px; height: 250px;'>\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-4833496329174552\"\n     crossorigin=\"anonymous\"><\/script>\n<!-- nzbusenetinberichten2021 -->\n<ins class=\"adsbygoogle\"\n     style=\"display:inline-block;width:700px;height:250px\"\n     data-ad-client=\"ca-pub-4833496329174552\"\n     data-ad-slot=\"6745544931\"><\/ins>\n<script>\n     (adsbygoogle = window.adsbygoogle || []).push({});\n<\/script><\/div>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>server {<br \/>server_name dynamic_DNS 192.168.1.100;<br \/>access_log \/var\/log\/nginx\/muximux.access.log;<br \/>error_log \/var\/log\/nginx\/muximux.error.log;<br \/>root \/var\/www\/muximux\/;<br \/>index index.php;<\/p>\n\n\n\n<p>location \/ {<br \/>try_files $uri $uri\/ \/index.php?$args;<br \/>}<\/p>\n\n\n\n<p>location ~ \\.php$ {<br \/>try_files $uri =404;<br \/>include fastcgi_params;<br \/>fastcgi_pass unix:\/var\/run\/php\/php7.0-fpm.sock;<br \/>fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;<br \/>}<br \/>}<\/p>\n<\/blockquote>\n\n<p>Now press <b>CTRL + Y<\/b> at the same time. And then <b>Y <\/b>. To save this file.<\/p>\n\n<p>Symlink the Muxmix virtual host. To activate the site.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo ln -s \/etc\/nginx\/sites-available\/muximux \/etc\/nginx\/sites-enabled\/muximux<\/p>\n<\/blockquote>\n\n<p>Now we are going to perform a check to see if this went well.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo nginx -t<\/p>\n<\/blockquote>\n\n<p>Restart Nginx.<\/p>\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>sudo service nginx restart<\/p>\n<\/blockquote>\n\n<p>The installation of Muximux is now ready. And you can now open, via your desired IP address.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>In this tutorial, install Muximux Ubuntu. We are going to install Muximux via the command line. On a computer with Ubuntu. Next we will configure Muximux. Install Nginx and php Ubuntu We need a web <a class=\"mh-excerpt-more\" href=\"https:\/\/nzbusenet.com\/en\/install-muximux-ubuntu-command-line\/\" title=\"Install Muximux Ubuntu via the command line\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":12223,"featured_media":49537,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":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":[931],"tags":[],"class_list":{"0":"post-10059","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-muximux-tutorial"},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/nzbusenet.com\/wp-content\/uploads\/2017\/12\/Muximux-installeren-Ubuntu.gif","_links":{"self":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/10059","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/users\/12223"}],"replies":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/comments?post=10059"}],"version-history":[{"count":0,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/posts\/10059\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media\/49537"}],"wp:attachment":[{"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/media?parent=10059"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/categories?post=10059"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nzbusenet.com\/en\/wp-json\/wp\/v2\/tags?post=10059"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}