Install Muximux Ubuntu via the command line

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 server. So we are going to install Nginx.

To be sure we do the software list update.

sudo apt update

Now we are going to install Nginx with PHP.

sudo apt install nginx php7.0-fpm git

Now PHP and Nginx are installed.

Install Muximux Ubuntu

Now it’s time for us to install Muximux.

Go to the www folder of your web server.

cd /var/www

Now we will download the Muximux software.

git clone https://github.com/mescon/Muximux muximux

We must then set the permissions correctly For the Muximux folder.

sudo chown -R www-data:www-data /var/www/muximux

Now we are going to create a vhost for Muximux.

sudo nano /etc/nginx/sites-available/muximux

Copy And paste this in your vhost. Beware! Change dynamic_DNS and ip 192.168.1.100. If you do not have dynamic DNS. Then you can remove this

Change the Ip. To your own Ip.

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.

server {
server_name dynamic_DNS 192.168.1.100;
access_log /var/log/nginx/muximux.access.log;
error_log /var/log/nginx/muximux.error.log;
root /var/www/muximux/;
index index.php;

location / {
try_files $uri $uri/ /index.php?$args;
}

location ~ \.php$ {
try_files $uri =404;
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}

Now press CTRL + Y at the same time. And then Y . To save this file.

Symlink the Muxmix virtual host. To activate the site.

sudo ln -s /etc/nginx/sites-available/muximux /etc/nginx/sites-enabled/muximux

Now we are going to perform a check to see if this went well.

sudo nginx -t

Restart Nginx.

sudo service nginx restart

The installation of Muximux is now ready. And you can now open, via your desired IP address.

Be the first to comment

Laat een reactie achter