• 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!

Windows Linux Running on Windows

Discovery

Developing myself
Joined
Apr 16, 2010
Messages
561
Solutions
11
Reaction score
253
Location
Neverland
Hello there!

Well, that's a tip for a lot of ppl who virtualize with another programs, use: WSL2.

Windows Subsystem for Linux​


WSL2 it's a resource, developed by Microsoft to install new Linux Images on Windows.

Microsoft provides a simple tutorial how-to setup everything.

https://docs.microsoft.com/en-us/windows/wsl/install-win10

YOUR WINDOWS 10 NEED TO BE UPDATED TO THE LAST VERSION

Download your Linux image on Microsoft Store:


1609155479720.png



1609155523096.png

1609155620321.png

Have a nice day :p
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,439
Solutions
51
Reaction score
1,959
Location
Poland
GitHub
gesior
Time for tutorial "how to compile TFS on WSL, run in on Linux and connect from Windows Tibia client".
I will try to do it on evening. It's Microsoft technology :( They will drop support in 1-2 years.
 

Merrok

Magic Tomato
Joined
Jun 18, 2009
Messages
176
Solutions
7
Reaction score
200
Time for tutorial "how to compile TFS on WSL, run in on Linux and connect from Windows Tibia client".
I will try to do it on evening. It's Microsoft technology :( They will drop support in 1-2 years.
I'm actually not sure about that. Microsoft has been looking to do steps in this direction for years. Even attempting to buy Ubuntu at one time. Big surprise, the linux community wasn't happy about that, so they backed out.
And since the linux community has been taking alot of steps lately to give windows users a better life when using GNU-systems and made the migrations alot easier, Microsoft has taken steps as well. But yeah, the tutorial will definitely be out of date in a year or two... But that goes for almost every tutorial. Most tutorials on OTLand are just not how you do things today anymore (for good reasons).
I really hope this progress continues. I am still forced to use dual-boot and that can be a pain.
 

Shadowsong

Game Developer & Graphic Designer
Joined
Feb 23, 2010
Messages
3,433
Solutions
21
Reaction score
2,909
Location
Bosnia & Herzegovina
YouTube
ShivaShadowsong
Time for tutorial "how to compile TFS on WSL, run in on Linux and connect from Windows Tibia client".
I will try to do it on evening. It's Microsoft technology :( They will drop support in 1-2 years.

At this point it might be better to use Docker for such purposes since it also updated recently to be able to use WSL2 if on Windows10 host (works on Home version too), and even if Microsoft decides to drop support, dockerized project would still run (on whatever other virtualization you provide). 🤔
 
OP
OP
Discovery

Discovery

Developing myself
Joined
Apr 16, 2010
Messages
561
Solutions
11
Reaction score
253
Location
Neverland
Time for tutorial "how to compile TFS on WSL, run in on Linux and connect from Windows Tibia client".
I will try to do it on evening. It's Microsoft technology :( They will drop support in 1-2 years.

Another great stuff, when you use WSL its totally compatible with visual studio.
About connection routing, I'll post another content haha
Post automatically merged:

does it run 32-bit programs like tibia client 6.4?

you keep using windows applications on windows, thats better for development, when coding, testing and deploying applications.
(i'm assuming tibia client 6.4 don't have linux support)
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,439
Solutions
51
Reaction score
1,959
Location
Poland
GitHub
gesior
I just installed TFS, SSH server, MariaDB, PHP, Apache and Gesior2012 on WSL.
Connected to it from Windows OTClient, so it works, but it's not easy to install.

I found information, that you cannot make IP static on WSL2. Every system reboot, your Ubuntu machine will get new random IP.
Linuxes run using WSL are not using systemd, so most of debian/ubuntu tutorials from google are not compatible. I cannot recommend it for newbie users.

I will try to run TFS using Docker on Windows next weekend. Maybe it will be easier to install and configure.
 

Alpha

Relentless
Joined
Apr 3, 2011
Messages
667
Solutions
36
Reaction score
481
Location
South Korea
I found information, that you cannot make IP static on WSL2. Every system reboot, your Ubuntu machine will get new random IP.
Ran into that once too, didn't wanna bother fucking with it too much and trashed WSL2 ever since. Still running WSL1 here. Not sure if they've added a proper way to make it run on a static IP yet.
 

Gesior.pl

Mega Noob&LOL 2012
Senator
Premium User
Joined
Sep 18, 2007
Messages
2,439
Solutions
51
Reaction score
1,959
Location
Poland
GitHub
gesior
Ran into that once too, didn't wanna bother fucking with it too much and trashed WSL2 ever since. Still running WSL1 here. Not sure if they've added a proper way to make it run on a static IP yet.
They made it impossible 'normal way'. First step of setting up static IP is to edit Windows 'vEthernet' network card and set there static IP/subnet, not DHCP. Now - installed WSL2 today - there is static IP by default. Windows/WSL somehow replace that static IP configuration every restart.
So only way to make it static is to create some .bat script that reconfigure Windows network settings every restart.
Linux.. Microsoft way: force some random changes that user cannot reconfigure, WE know better what user needs.
 
Top