WWBN / AVideo

Create Your Own Broadcast Network With AVideo Platform Open-Source. OAVP OVP
https://avideo.tube/AVideo_OpenSource
Other
1.92k stars 974 forks source link

How to install #9301

Open campones opened 4 months ago

campones commented 4 months ago

Hello I was having a look and it 's a bit confusing to me.

you make a tuto to setup a lamp server which I have already but you don't explain really how to setup the cms itself. especially to set it up manually could be useful.

personnaly I m stuck on the index.php (which for some odd reasons only provide an error code) which tell me that I don't have apache2 rewrite rule setup, but if I m using nginx then I can just leave it as it or empty it. (but that's not working)

question: what is the proper rewrite rule for nginx then?

also I had a quick look at the nginx conf. you setup an http server running at 8080 8843 (i assume that's for the streaming server then) and apparently apache would be running 80 443.

and what if I want to run only nginx with 80 443 ports? . what about the php section of the conf file?

            #location ~ \.php$ {
            #       include /etc/nginx/snippets/fastcgi-php.conf;
            #       fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
            #}
            listen 8443 ssl;
            ssl_certificate /etc/apache2/ssl/localhost.crt; 
            ssl_certificate_key /etc/apache2/ssl/localhost.key; 

thanks

milehighkaraoke commented 4 months ago

The install listed is for a fresh ubuntu install. There is no way to list install variables otherwise

campones commented 4 months ago

i dont want to use apache

i already run nginx-rtmp for years. Im using nginx for both http (webserver) and rtmp streaming server. I do not need a doc to install lamp. my sql server works fine.

I need details how to deal with those files.. I upload them, then what? mystery. why there is no a config.php file that I can edit with variable path etc and db details and hit directly my domain name that already works with a letsencrypt cert ? now., how do I get past this rewrite issue? is this working with nginx or not really? I do not want to install apache.

thanks

campones commented 4 months ago

i do not need to install ffmpeg either , or to compile it rather.

milehighkaraoke commented 3 months ago

This might be what you are looking for. Scroll down to the nginx part https://www.linuxbabe.com/ubuntu/install-avideo-youphptube-ubuntu-20-04-server

JoshWho commented 3 months ago

You cannot run this with NGINEX because this script already uses NGINX for the live streaming only. Apache is the proxy to that as a whole with Avideo.

milehighkaraoke commented 3 months ago

You can also use this https://github.com/WWBN/AVideo/issues/3271

campones commented 3 months ago

You cannot run this with NGINEX because this script already uses NGINX for the live streaming only. Apache is the proxy to that as a whole with Avideo.

then change the script? I m running a streaming site for 10 years and there is no issue setting a webserver using nginx as well as having nginx rtmp running at the same time

I mean honestly who use apache2 these days as a webserver?

You can also use this #3271

thanks, I ll have a look

GreenDragonTavern commented 3 months ago

@campones - "I mean honestly who use apache2 these days as a webserver?" Oh, I don't know, just some lightweights like Netflix, Adobe, Spotify, Samsung, MIT...ya know, only tiny little websites.

campones commented 3 months ago

I seriously doubt about that but anyway, this is not relevant

GreenDragonTavern commented 3 months ago

@campones - https://w3techs.com/technologies/details/ws-apache

What's relevant is if you're going to run an AVideo website, recommend you remove emotion and utilize apache. If you enjoy chaos, then by all means carry on with an AVideo - nginx only implementation.