[How-To] Run a server on a Raspberry Pi UPDATED

After trying out some stuff, I found a way to run a server successfully on a Raspberry Pi (or maybe even other ARM devices).

First of, download the server files from here and extract them in some folder.

Now, go to https://github.com/libuv/libuv , click on Clone or Download and then Download ZIP. Now extract that too in some folder and execute these commands in the folder.

sh autogen.sh
sudo ./configure
sudo make
sudo make check
sudo make install

(Note that you’ll need to have all the necessary stuff installed, just google if it can’t find a command and install it)

Afterwards, install mono if you haven’t done so already. For Arch Linux as example you’d just need to do pacman -S mono.

When you have done so, go back to your home folder and execute these commands (same story as above with the commands).

git clone https://github.com/Tragetaschen/libSystem.Native
cd libSystem.Native/src
sudo cc -c -o libSystem.Native.o GetUnixName.c -fpic
sudo cc -shared libSystem.Native.o -o libSystem.Native.so
/usr/bin/install -c -m 644 libSystem.Native.so /usr/local/lib
echo "/usr/local/lib" | sudo tee /etc/ld.so.conf.d/local.conf 
sudo ldconfig -v

(Source: https://github.com/aspnet/Mvc/issues/5088 , edited a bit because I had issues without sudo)

At last, go to your server directory and run chmod +X run.sh. Now you should be able to start your server via the run.sh.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.