COCKOS
CONFEDERATED FORUMS
Cockos : REAPER : NINJAM : Forums
Forum Home : Register : FAQ : Members List : Search :
Old 08-01-2020, 02:19 PM   #1
joesnameisgreg
Human being with feelings
 
Join Date: Dec 2019
Posts: 17
Default Setting up Ninjam Server on Linux.

Hello,

I would like to set up a private Ninjam server on my Linux system, however I am not seeing many directions on how exactly to get up and running on Linux, unless I am missing something.

I followed these instructions below and was able to customize the .cfg file to allow no anonymous user but am stuck as to how actually start the server? I have two computers next to each other, one is a Linux system so I can test with a totally separate Windows system if I can just figure out how to actually start the NJ server in Linux. As a novice Linux user I don't know much about the terminal but can get it done with step-by-step guidance from this point. Any thoughts on where to go after this?

Linux: download server source via git and compile. For Debian/Ubuntu, eg:
sudo apt-get install git-core build-essential
git clone https://www-dev.cockos.com/ninjam/ninjam.git ./ninjam
cd ninjam/ninjam/server
make
joesnameisgreg is offline   Reply With Quote
Old 08-11-2020, 01:29 AM   #2
hppy420
Human being with feelings
 
Join Date: May 2012
Location: Portland oregon
Posts: 17
Default

Hey there and congrats on getting this far. Yer almost there actually.
When you ran the make command you probably saw all the compiler messages. When you looke near the end of all of that text if you don't see any errors the next step is to look for the binary file that was created. That's going to be called cninjam and will have an asterisk symbol '*' to indicate that it's an exicutable file.
What I did was to copy the example.cfg file to another configuration file so I could play with the copy and thus have a backup in case I broke it. I did so like this:None of this requires sudo.
cp example.cfg jammer.cfg
Now we have two .cfg files.
So configure the one you want to use and when you're ready you can start the server like this:
./cninjamsrv jammer.cfg
To stop the server at any time just hit ctrl+c
And that's pretty much it.
If you don't mind it being private you can test it with your windows machine, if you want to make it easier for your jamming partners though, you'll have to forward a port on your router if your're behind one so they can connect remotely.
Of course there's always the lan party option, which me and a few friends did once and that was fun too.
Anyway, hope that helps...
Cheereo!
hppy420 is offline   Reply With Quote
Old 08-12-2020, 04:33 PM   #3
joesnameisgreg
Human being with feelings
 
Join Date: Dec 2019
Posts: 17
Default

Hi hppy420! (Great username btw)
I reinstalled Ninjam from the terminal and did not see any error messages, however I am not finding this elusive cninjam file you speak of. A search of the entire file system has yielded no results. Everything else is there, I copied the example.cfg file and tweaked it to my desired settings,however when I try to run it it says No Such File Or Directory. I am guessing that this cninjam file did not get created correctly?
joesnameisgreg is offline   Reply With Quote
Old 08-12-2020, 04:36 PM   #4
joesnameisgreg
Human being with feelings
 
Join Date: Dec 2019
Posts: 17
Default

Okay I lied, I had a letter wrong when trying to access the CFG file, but now that I typed in the correct filename it says Permission Denied instead of No Such File Or Directory.
joesnameisgreg is offline   Reply With Quote
Old 08-26-2022, 02:51 PM   #5
stenio
Human being with feelings
 
Join Date: Feb 2013
Posts: 9
Default Fantastic!

Quote:
Originally Posted by hppy420 View Post
Hey there and congrats on getting this far. Yer almost there actually.
When you ran the make command you probably saw all the compiler messages. When you looke near the end of all of that text if you don't see any errors the next step is to look for the binary file that was created. That's going to be called cninjam and will have an asterisk symbol '*' to indicate that it's an exicutable file.
What I did was to copy the example.cfg file to another configuration file so I could play with the copy and thus have a backup in case I broke it. I did so like this:None of this requires sudo.
cp example.cfg jammer.cfg
Now we have two .cfg files.
So configure the one you want to use and when you're ready you can start the server like this:
./cninjamsrv jammer.cfg
To stop the server at any time just hit ctrl+c
And that's pretty much it.
If you don't mind it being private you can test it with your windows machine, if you want to make it easier for your jamming partners though, you'll have to forward a port on your router if your're behind one so they can connect remotely.
Of course there's always the lan party option, which me and a few friends did once and that was fun too.
Anyway, hope that helps...
Cheereo!
Just what I needed
stenio is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 10:11 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.