• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Tutorial] How to setup a server on Canary distro (13.21)

More tutorials?


  • Total voters
    21

Joriku

Working in the mines, need something?
Joined
Jul 16, 2016
Messages
1,087
Solutions
15
Reaction score
379
Location
Sweden
YouTube
Joriku
Here's an updated video tutorial for Latest Canary server using Nginx on a Live system. You can tag along if you're using a VM running Ubuntu. Hope it helps!

Open Source is The best Source!


Quick Links
-----------------------------------------------------------------
Hetzner Referral: Hetzner Cloud (https://hetzner.cloud/?ref=czKaj7p2hAdv)
Canary GitHub: GitHub - opentibiabr/canary: Canary Server 13.x for OpenTibia community. (https://github.com/opentibiabr/canary)
Archive guide: Ubuntu 20.04 Initial Server Setup - DevAnswers.co (https://web.archive.org/web/20220814193703/https://devanswers.co/ubuntu-20-04-initial-server-setup/)
Znote Acc: https://github.com/Znote/ZnoteAAC/tree/masterZnote
Login.php: Applications - OpenTibiaBR (https://docs.opentibiabr.com/opentibiabr/downloads/website-applications/applications#znoteaac-login.php-to-client-13)

PS:
Full HD and 4K is coming up within 4 hours, long upload time.
 
Last edited:
Very nice and complete tutorial, please also add the link below on your list of quick links and you showed it in your screen but you only put the devanswers for setup

Also, there's no such thing as "Canary TFS 1.5", Canary and TFS are completely different projects
Your tutorial was covering Canary 2.6.1, however now we have the release 3.0 which is waaaaay better. People should always use latest release to ensure they get all improvements.

 
Here's an updated video tutorial for Latest Canary server using Nginx on a Live system. You can tag along if you're using a VM running Ubuntu. Hope it helps!

Open Source is The best Source!


Quick Links
-----------------------------------------------------------------
Hetzner Referral: Hetzner Cloud (https://hetzner.cloud/?ref=czKaj7p2hAdv)
Canary GitHub: GitHub - opentibiabr/canary: Canary Server 13.x for OpenTibia community. (https://github.com/opentibiabr/canary)
Archive guide: Ubuntu 20.04 Initial Server Setup - DevAnswers.co (https://web.archive.org/web/20220814193703/https://devanswers.co/ubuntu-20-04-initial-server-setup/)
Znote Acc: https://github.com/Znote/ZnoteAAC/tree/masterZnote
Login.php: Applications - OpenTibiaBR (https://docs.opentibiabr.com/opentibiabr/downloads/website-applications/applications#znoteaac-login.php-to-client-13)

PS:
Full HD and 4K is coming up within 4 hours, long upload time.
Thank you very much for the contribution, the tutorial is very good, by following the steps you can open your server and website without any problem.
 
nice tutorial, znote link is missing
Joriku can you made a tutorial but fot tfs please?
Znote link is updated in the youtube links, thanks.
Yes, I can do one for TFS in the near future. Got plan to get some more videos out but it'll take a lil.
Got some other stuff in focus, thanks for suggestion.
Very nice and complete tutorial, please also add the link below on your list of quick links and you showed it in your screen but you only put the devanswers for setup

Also, there's no such thing as "Canary TFS 1.5", Canary and TFS are completely different projects
Your tutorial was covering Canary 2.6.1, however now we have the release 3.0 which is waaaaay better. People should always use latest release to ensure they get all improvements.

I know, TFS is for the title only =)
Gotta know how to get better at things, Canary and TFS are separate engines of course.

And we're all looking forward to the 3.0.0 version, thank you for your work and thanks to the kind words!

[Linux] Canary + Nginx + MariaDB + MyAAC - OpenTibiaBR (https://docs.opentibiabr.com/opentibiabr/projects/canary/getting-started/linux/linux-canary-+-nginx-+-mariadb-+-myaac) -- Has been added onto the youtube description.
I can't edit the thread due to no premium.

Thank you very much for the contribution, the tutorial is very good, by following the steps you can open your server and website without any problem.
Thank you, love - Jori💕
 
I can do it in ubuntu 22.04? when i install 20.04 in VPS and try to update, at 60% crash a linux.. if i install 22.04, i can do it without update them?
 
I can do it in ubuntu 22.04? when i install 20.04 in VPS and try to update, at 60% crash a linux.. if i install 22.04, i can do it without update them?
Mentioned this in the youtube comment to another guy, I left a comment there for you to check out.
However, here's a copy-paste from that conv.

So, for ubuntu 20.04 do this:https://github.com/opentibiabr/canary/wiki/Compiling-on-Ubuntu-20.04
The difference between those are that 20.04 requires something called GCC which does not come automatically installed with the ubuntu install.
After this, run the following commands:
sudo apt-get install git cmake build-essential libluajit-5.1-dev ca-certificates curl zip unzip tar pkg-configsudo apt install libcrypto++-devNow, you should be able to follow along and compile your version using 20.04.
I tested and got passed just fine using this.The compile and rest is still the same, just make sure to go through with the commands above + "Update gcc".Sorry for the delay, wanted to make a new video for Ubuntu 20.04 but it's really not needed. Hope it helps.
 
Thank you for your time!
Now I have some trouble,
When I try to update ubuntu, while updating in finally 60%, I got a connection error, and I don't know what I can do for this error.
For now, I'm trying to use this in ssh dir (ClientAliveInterval 60)..
You know what's happening?
 

Attachments

Thank you for your time!
Now I have some trouble,
When I try to update ubuntu, while updating in finally 60%, I got a connection error, and I don't know what I can do for this error.
For now, I'm trying to use this in ssh dir (ClientAliveInterval 60)..
You know what's happening?
I think that it's due to idle for too long, here. Try this:
 
Last edited:
Got a 10.98 tutorial coming up in a few days, will also go ahead and create one for Nekiro's downgrade 8.6 which was requested by someone.
Also planning on releasing a simple admin page for Znote Acc, will take some time.
 
Mentioned this in the youtube comment to another guy, I left a comment there for you to check out.
However, here's a copy-paste from that conv.

So, for ubuntu 20.04 do this:https://github.com/opentibiabr/canary/wiki/Compiling-on-Ubuntu-20.04
The difference between those are that 20.04 requires something called GCC which does not come automatically installed with the ubuntu install.
After this, run the following commands:
sudo apt-get install git cmake build-essential libluajit-5.1-dev ca-certificates curl zip unzip tar pkg-configsudo apt install libcrypto++-devNow, you should be able to follow along and compile your version using 20.04.
I tested and got passed just fine using this.The compile and rest is still the same, just make sure to go through with the commands above + "Update gcc".Sorry for the delay, wanted to make a new video for Ubuntu 20.04 but it's really not needed. Hope it helps.

Hey, at start I want to thank you for your amazing job.

I spent like 30 hours with 4 hours of sleep setting this up. I've created and deleted like 4 servers on the way because I was making rookie mistake mostly in linux side (like giving /var chmod 777 access XD - dont try this). But this 5th time was perfect, 0 permission issues, 0 php errors, just like on the video. But...

... I've met final boss I guess. Compilation.
As you mentioned this compilation required few steps setting up GCC version for Ubuntu 20.04.
Every compilation is like 50 min waste of time for me, because on the end I've got an error "CMake find wrong gcc version, gcc++11 required" - something like this (dont have exact communicate, and haven't screenshoted it either :( ).

After:
$sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-11 100 --slave /usr/bin/g++ g++ /usr/bin/g++-11 --slave /usr/bin/gcov gcov /usr/bin/gcov-11 --slave /usr/bin/aarch64-linux-gnu-gcc aarch64-linux-gnu-gcc /usr/bin/aarch64-linux-gnu-gcc-11 --slave /usr/bin/aarch64-linux-gnu-g++ aarch64-linux-gnu-g++ /usr/bin/aarch64-linux-gnu-g++-11 /usr/bin/gcov-11

I had an error:
update-alternatives: error: unknown argument '/usr/bin/gcov-11'
And still after compilation, on the end of compilation I've got "CMake find wrong gcc version, gcc++11 required".

So I followed this tutorial after: update-alternatives for gcc on Ubuntu (https://gist.github.com/cobaohieu/ded429cb892b46ae9bfd9919a11e593a)
And also repeated commands recommended in "Compiling on Ubuntu 20.04"

And at the end I've used additively, as you mentioned before:
$ sudo apt-get install git cmake build-essential libluajit-5.1-dev ca-certificates curl zip unzip tar pkg-config
$ sudo apt install libcrypto++-dev

I turned out that it works fine, and compilation successed.
Results on the attached screenshots.
 

Attachments

Last edited:
Hey, at start I want to thank you for your amazing job.

I spent like 30 hours with 4 hours of sleep setting this up. I've created and deleted like 4 servers on the way because I was making rookie mistake mostly in linux side (like giving /var chmod 777 access XD - dont try this). But this 5th time was perfect, 0 permission issues, 0 php errors, just like on the video. But...

... I've met final boss I guess. Compilation.
As you mentioned this compilation required few steps setting up GCC version for Ubuntu 20.04.
Every compilation is like 50 min waste of time for me, because on the end I've got an error "CMake find wrong gcc version, gcc++11 required" - something like this.

After:


I've got an error:
update-alternatives: error: unknown argument '/usr/bin/gcov-11'

So I followed this tutorial after: update-alternatives for gcc on Ubuntu (https://gist.github.com/cobaohieu/ded429cb892b46ae9bfd9919a11e593a)

And at the end I've used additively, as you mentioned before:

Results on the attached screenshots.

And still, on the end of compilation I've got "CMake find wrong gcc version, gcc++11 required".
I'm compiling it right now, so I will edit post with results in 40 min with screenshot of an error.
Add me on discord and let me take a look at this through team viewer and post an update regarding a fix for this. This will avoid a lot of pump n dumbs on the post.
Discord: Joriku
 
1705345775228.png
Getting this after making an account setting everything up and useing 13.21 client, what am i missing here? never had this occur before, character list loads but when trying too play a character it pops with this some sort of path error obviously but how?
Post automatically merged:

1705346929358.png
Works a charm i just didnt change the old server path from my main directory i goofed lol
 
Last edited:
./start.sh: line 21: ./canary: There is no strange file or directory ???
 
./start.sh: line 21: ./canary: There is no strange file or directory ???
you're trying to start canary file outside of it's directory which the massage kind of explains.
So to solve this, simply either:
1) Drag out the compiled file from the build folder onto the main folder "canary" then try again.
2) Enter the folder canary to boot it up from the right directory, usually speaking. You can't start a file from a different directory
 
Hi, i have a problem with compilation. A'm trying to make last step with*cmake --build linux-release*I got all steps Failed... Idk what to do. Can anyone knoZrzut ekranu 2024-04-18 212812.pngw what happend?
 
Back
Top