Giter VIP home page Giter VIP logo

Comments (10)

sigvenss avatar sigvenss commented on May 25, 2024

I contacted Noxalu by email and i got this answer:

When you do a "vagrant up" for the first time, it automatically runs a "vagrant provision", so you shouldn't have to run "vagrant provision" yourself.

All you need to do is a "vagrant up" when you want to launch the Nginx RTMP server. If you look at the bootstrap.sh script (here => https://github.com/Noxalus/Multi-Streaming-Server/blob/master/bootstrap.sh#L49), you can see that we set the script to launch Nginx at startup. So when you turn on your VM (via "vagrant up"), it should launch the Nginx RTMP server automatically. If it's not the case, it's a bug.

What you can do is to ssh you on the VM (via "vagrant ssh") and launch the service manually with this command: sudo service nginx start.

Doing vagrant SSH did not work for me since im running it on windows, got error that it could not find an ssh client.
But i started VirtualBox and logged in to the VM manually.
Then i ran the command you suggested(sudo service nginx start) and now it works great :)

from multi-streaming-server.

Noxalus avatar Noxalus commented on May 25, 2024

I'm on Windows too, but I use Cygwin (with OpenSSH module) so I can run "vagrant ssh".

But it's not the ideal solution, I will try to find out why it doesn't work as expected.

I now it's also possible to execute some shell commands at "vagrant up" updating the Vagrant file, it can be a better temporary solution.

Currently, I'm not on my environment, so I need to install all dependencies, but I will come back to you when I have more information.

from multi-streaming-server.

Noxalus avatar Noxalus commented on May 25, 2024

Ok, I've just tested, and it seems to work as expected for me.

When I run vagrant up, I can directly connect to the RTMP server with OBS. If I run vagrant halt, I'm disconnected, but if I run vagrant up again, OBS will reconnect automatically when the VM is up.

What made you say that the RTMP server was not launched after a vagrant up? You couldn't connect to it with OBS after a vagrant up?

from multi-streaming-server.

dwbstreet avatar dwbstreet commented on May 25, 2024

Thanks in advance for all your efforts. I am having difficulties. When I run vagrant up from cmd everything appears to initialize. Then after it forwards ports it tries to ssh into the VM. "This may take a few minutes..." It times out every time. Please advise. I installed Virtual Box and Vagrant on Windows 10 64 and further installed the Mainline nginx. Thanks so much.

from multi-streaming-server.

Noxalus avatar Noxalus commented on May 25, 2024

Hello @dwbstreet, can you give me the versions of VirtualBox and Vagrant that you use (I've just tested it a few minutes ago, and I don't have th problem. I use VirtualBox 5.0.16 and Vagrant 1.8.1).

from multi-streaming-server.

dwbstreet avatar dwbstreet commented on May 25, 2024

Greetings,

Thanks so much for the prompt reply.
I am using Oracle VM Virtual Box Version 5.1.2 r 108956
Vagrant 1.8.5

from multi-streaming-server.

dwbstreet avatar dwbstreet commented on May 25, 2024

Just saw this error on Virtual Box. VT-x/AMD-V hardware acceleration is not available on your system. Your 64-bit guest will fail to detect a 64-bit CPU and will not be able to boot.

from multi-streaming-server.

Noxalus avatar Noxalus commented on May 25, 2024

Indeed, you need to enable virtualization in your BIOS to use VirtualBox properly. A lot of tutorial show you how to do it on the net (this one for example).

from multi-streaming-server.

dwbstreet avatar dwbstreet commented on May 25, 2024

thanks so much, I am searching the BIOS

from multi-streaming-server.

dwbstreet avatar dwbstreet commented on May 25, 2024

The machine is now launching properly! Thank you.
Now, I am not able to configure the nginx.conf properly.
Could you specify which lines need to be altered to my inputs, please.
I have grown extremely frustrated, although I have learned.

from multi-streaming-server.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.