Amazon Web Services (AWS) produced in c# on a server consisting of Amazon LINUX.To run the EXE server program.

Asked 1 years ago, Updated 1 years ago, 100 views

As the title says, there is an EXE server program created with C#.

It's under development, so I've been running it on my computer and processing the connection through my computer IP.

I'm going to use AWS service, so I'd like to run it on AWS server.

The question is, how do you run this program on an Amazon Linux server? I may not be able to interpret it well because it is mostly English, but it was hard to find.

We have an EC2 server on AWS. File transmission and reception are also enabled through PUTTY and WINSCP.

The EXE server program has been placed on the EC2 server.

Stupidly, I tried to run the program on WINSCP, but it didn't work either.

There are four servers as shown in the picture. (This is not important.)

This is how you enter the IP for each server. (Listen processing via corresponding IP)

Finally, the EXE files that appear during debug. (Total 4)

I looked it up and found out that you need to install the MONO project and run the program.

In the case of Amazon Linux, I don't know which version of MONO project I should get,

I didn't see any kind answers or posts about it.

I would appreciate it if you could tell me how to download and install it or even run the program.

linux aws ec2 mono amazon

2022-09-22 22:03

3 Answers

As far as I know, Amazon Linux (AMI) is based on RHEL RHEL(Red Hat), CentOS, and Fedora series.

However, it does not seem to work, especially if the MONO project is not using a library that guarantees compatibility.


2022-09-22 22:03

The exe file is an executable file of Windows, but why do you want to turn it on Linux? Wouldn't it be better to create a Windows server on AWS and run it there?


2022-09-22 22:03

If you wrote it in C# code in Windows, it is highly likely that you used the full framework of Dotnet. In this case, it cannot be guaranteed to work with any other OS (OSX or Linux) except Windows.

Rather, use the Core CLR to change it if you can. This will work properly on Linux as well. Of course, you have to compile it in a Linux environment.

If you search ASP.NET 5 or ASP.NET Core, you'll find many things.


2022-09-22 22:03

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.