Запускаем MUD-сервер на Windows 10
Не так давно к 64-разрядному Windows 10 добавлена прослойка WSL, транслирующая системные вызовы Linux в системные вызовы Windows и позволяющая развернуть в основном окружении Windows полноценный инструментарий Ubuntu Linux без эмуляции и виртуализации (подробнее как это сделать читайте на OpenNet Включение bash и инструментария Ubuntu в Windows 10. В связи с чем в сети появилась инструкция по запуску сервера Afkmud на Windows (скорее всего подойдет и для других серверов) без использования cygwin.
Разархивируйте zip-архив с Afkmud на рабочем столе:
Разархивируйте zip-архив с Afkmud на рабочем столе:
Step 1: Apply the update that has the Linux shell with with it (See above for where to get it)
Step 2: Turn on the windows feature Windows subsystem for linux (Beta) and use search to find Bash, then run bash follow prompts to install
Step 3: Open the Ubuntu Bash that you will find in your windows start bar
Step 4: Type Sudo su and follow the prompts
Step 5: Type apt-get Upgrade
Step 6: Type apt-get install make
Step 7: Type apt-get install g++
Step 8: Type apt-get install zlib1g-dev
Step 9: Type apt-get install libgd2-xpm-dev
Step 10: Type apt-get install tcsh
Step 11: Type exit to remove root
Step 12: Type /mnt/c
Step 13: Type cd… (then hit the up arrow and the hit enter (to enter the command a second time)
Step 14: Type cd mnt/c/Users
Step 15: Type ls (Take note of The names and use your user name in place of name in the next bit)
Step 16: Type cd name/Desktop/afkmud/src
Step 17: Type make clean
Step 18: Type nano startup then change the mentioned values as seen (limit coredumpsize 32786k
limit filesize 32786k) Otherwise it will not allow the mud to start. Feel free to change the sizes as needed.
Step 19 :Type ./startup&
Note: If you are in root it will auto close the mud in 5 seconds and there will be a funny message (maybe not so funny) in your logs.
5 комментариев