Cov txheej txheem:

RPI Minetest Server 4.15: 18 Cov Kauj Ruam
RPI Minetest Server 4.15: 18 Cov Kauj Ruam

Video: RPI Minetest Server 4.15: 18 Cov Kauj Ruam

Video: RPI Minetest Server 4.15: 18 Cov Kauj Ruam
Video: Zombieload, Nextcloud, Peppermint 10, KDE Plasma, IPFire, ArcoLinux, LuneOS | На этой неделе в Linux 67 2024, Hlis ntuj nqeg
Anonim
RPI Minetest Server 4.15
RPI Minetest Server 4.15

Nov yog thawj qhov yooj yim 1-2-3 cov lus qhia ua ntu zus yuav pib li cas Minetest server 4.15 ntawm Raspberry Pi!

INFO: Minetest yog qhov qhib qhov kev ua si Minecraft kev tshoov siab uas yog ua los ntawm kev hloov pauv ntau. (Mods = plugins rau koj MC kiv cua!) Kuv paub los ntawm tus kheej kev paub uas pib Minetest server yog ib qho ntawm cov kev cuam tshuam tshaj plaws thiab teeb meem rau Linux noobs. Yog li hnub no, kuv xav kho qhov ntawd thiab ua kom txoj haujlwm no lom zem dhau los rau cov uas xav tau Minetest server.

Txoj haujlwm no yuav ua rau Raspberry Pi khiav Minibian. (Baiscally server server tsab ntawm Raspbian) Kuv yuav qhia koj yuav ua li cas rau nruab Minibian, teeb tsa nws rau peb Minetest server thiab tom qab ntawd tau txais koj li server thiab khiav.

Hauv qhov kev qhia no peb yuav npog:

1. Txhim kho Minibian.

2. Kho Minibian.

3. Txhim kho minetest-server

4. Txhua tus neeg rau zaub mov.

5. Ntxiv mods rau tus neeg rau zaub mov.

6. Cov lus qhia kom ua tiav server.

Kauj ruam 1: Yam Koj Yuav Tsum Tau

Rau txoj haujlwm no koj yuav xav tau cov hauv qab no:

1. Lub khoos phis tawj siv Mac OS, Linux lossis Windows.

2. Ib qho Ethernet cable thiab txuas mus rau Is Taws Nem.

3. Ib daim npav micro SD li ntawm 16-32 Gigabytes nyiam dua. Yog tias koj tsuas yog hais txog 4 GB SD daim npav, koj tuaj yeem siv USB flash drive los khau raj los ntawm. Nrhiav nws NTAWM NO

4. Ib daim qauv ntawm Minibian. Tau nws NTAWM NO

5. Yog tias koj siv Windows, koj yuav xav tau Win32 Disk Imager. Koj tuaj yeem rub nws ntawm no

Kauj Ruam 2: Vim Li Cas Siv Minibian?

Kuv xav kom koj paub vim li cas kuv thiaj xaiv Minibian rau txoj haujlwm no. Ua ntej, Minibian yog server version ntawm debian rau Raspberry Pi. Qhov thib ob, Ua tus neeg rau zaub mov version, qhov no txhais tau tias tsis muaj GUI (Koj ib txwm tuaj yeem siv Raspbian yog tias koj tsis xis nyob siv lub davhlau ya nyob twg. Kuv yuav taug koj txhua kauj ruam yog tias koj txiav txim siab siv Minibian davhlau ya nyob twg) Peb, vim tias muaj tsis muaj GUI (Graphical User Interface) Raspberry Pi's RAM thiab CPU tau mob siab rau ua haujlwm peb cov server ntau dua li ua kom lub Desktop khiav. Tsis muaj GUI = 3-5x qhov nrawm hauv kuv rooj plaub.

Yog li yog tias koj txiav txim siab ua raws cov theem no thiab siv Minibian, cia peb mus. Nco ntsoov, Kuv yuav taug koj txhua kauj ruam yog tias koj siv Minibian, yog li tsis txhob ntshai.

Vim Li Cas Siv Minibian:

1. 3-5x Ceev vs Raspbian

2. Nws yog lub hom phiaj los khiav server, yog li Minibian tau tsim los kom nrawm.

3. Ua rau koj cov phooj ywg siv lub dav hlau ntau dua li "Rau Noobs" GUI!

Kauj ruam 3: Format SD Card

Ua ntej koj hlawv Minibian.img cov ntaub ntawv rau koj daim npav SD, koj yuav tsum ua daim npav. Txij li muaj ntau txoj hauv kev sib txawv los teeb tsa Cov Xov Xwm Tshem Tawm ntawm ntau lub Tshuab Ua Haujlwm, koj yuav tsum nrhiav kev qhia hauv Is Taws Nem ntawm yuav ua li cas format daim npav.

Piv txwv: (Hauv lub npov tshawb nrhiav) "Yuav ua li cas format SD card ntawm Windows"

Nco tseg: Nws yog qhov zoo tshaj plaws hauv kuv qhov kev paub uas koj format daim npav hauv NTFS file system. Kuv tau muaj qhov teeb meem tsawg kawg siv qhov system no.

Kauj ruam 4: Hlawv

Yog li koj yuav tsum tau rub tawm Minibian los ntawm kab ntawv txuas hauv kauj ruam 2. Thaum koj muaj qhov ntawd, rho tawm cov ntawv (Yog tias tsim nyog) thiab hlawv nws rau koj daim npav SD. Yog tias koj nyob ntawm windows, siv Win32 Disk Imager. Muaj ntau ntau Win32 Disk Imager tutorials online yog li kuv yuav tsis sau ib qho ntawm no.

Yeej, yog tias koj siv Windows, Linux lossis Mac OS, Kuv yuav tso koj mus rau koj tus kheej cov cuab yeej ntawm hlawv cov duab rau SD daim npav.

Txhawm rau nrhiav kev qhia yuav ua li cas hlawv OS duab rau daim npav, mus rau koj lub vev xaib thiab tshawb rau:

(Hauv lub npov tshawb nrhiav) "Yuav ua li cas hlawv ISO img rau SD daim npav ntawm [Koj OS] piv txwv li: Ubuntu"

Ua raws qhov kev qhia zoo tshaj plaws uas koj pom, thiab koj yuav tsum muaj Daim Duab hlawv rau koj daim npav!

Kauj ruam 5: Boot Up

Tam sim no nws yog lub sijhawm los muab daim npav SD tso rau hauv koj Pi thiab khau raj! Tab sis ua ntej, koj YUAV TSUM xyuas kom koj tau ua tiav daim ntawv txheeb xyuas no:

1. Koj tau teeb tsa daim npav SD ua ntej hlawv cov ntaub ntawv.img rau nws.

2. Koj tau ua raws cov lus qhia muaj txiaj ntsig yuav ua li cas hlawv.img cov ntaub ntawv rau SD daim npav.

3. Koj lub Raspberry Pi tsis tau ntsaws thaum koj ntxig daim npav SD.

4. Tus Pi tau txuas rau hauv Ethernet cable thiab txuas nrog internet.

Thaum txhua qhov ua tiav, koj tuaj yeem mus tom ntej thiab ntsaws Pi hauv …

Kauj ruam 6: Thawj khau raj

Ntawm Minibian thawj khau raj, nws yuav tsum siv li 20 vib nas this los ua kom tiav cov khau raj ua ntu zus. Yog tias koj tsis muaj Is Taws Nem txuas, koj yuav raug daig ntawm kev rov ua dua qhov uas Minibian tab tom nrhiav kev txuas Ethernet. Ib zaug dhau los, koj yuav pom qhov tseem ceeb hauv cov tsiaj ntawv liab koj tus IP chaw nyob. Thaum txhua qhov no ua tiav, koj yuav tau txais tus ID nkag mus sai. Rau lub npe siv, ntaus "hauv paus", tawm ntawm cov cim cim, tsis muaj CAPS. Tus password yog "raspberry", tsis muaj cov cim cim tseg thiab tsis muaj CAPS.

Yog tias koj tau ua tiav nkag mus rau Minibian "hauv paus" tus neeg siv, txav mus rau qib tom ntej.

Kauj ruam 7: Hackers

HACKERS!
HACKERS!

Zoo, koj tau ua tiav qhov no deb npaum li cas yog tias koj tau txais hacker los ntawm server? Qhov ntawd yuav phem heev! yog li koj yuav tsum hloov tus "hauv paus" tus neeg siv lo lus zais. Ntawm "hauv paus" cov neeg siv tam sim, ntaus cov lus txib hauv qab no:

passwd (Ntaus koj tus password tshiab, thiab ntaus nws dua)

- Qhov no yuav hloov koj tus password rau txhua yam koj xav kom nws ua. Nco ntsoov, qhov no yuav yog lo lus zais uas koj siv txij tam sim no rau cov lus txib hauv paus thiab nkag mus rau tus lej "hauv paus" tus neeg siv.

apt-tau nruab raspi-config

- Qhov no yuav teeb tsa Raspberry Pi cov ntawv teeb tsa. Ntawm no koj muaj ntau txoj kev xaiv, ib qho uas peb yuav tham hauv kauj ruam tom ntej.

ifconfig

Qhov no yuav qhia Pi tus IP chaw nyob. Nco qhov no!

(Los ntawm txoj kev, thov txim rau cov menyuam yog tias lawv tau npau suav phem los ntawm kuv tus phooj ywg Troll saum toj no …)

Kauj Ruam 8: Nthuav Tawm Cov Ntaub Ntawv System

Nthuav Cov Ntaub Ntawv System
Nthuav Cov Ntaub Ntawv System

Hauv "tus account" tus neeg siv tus lej, ntaus cov lus txib hauv qab no:

raspi-teeb tsa

Qhov no yuav qhib Raspberry Pi cov ntawv teeb tsa. Ib zaug hauv cov ntawv qhia zaub mov, thawj qhov kev xaiv yuav tsum yog "Nthuav Tawm Cov Ntaub Ntawv" Qhov twg yog qhov nws zoo li. Nias Sau hla qhov kev xaiv ntawd. Nws yuav nyem los ntawm ob peb lub vijtsam thiab tom qab ntawd rov qab mus rau cov ntawv qhia zaub mov. Nias txoj cai xub xub thiab xaiv ua tiav. Yog tias nws xav rov pib Pi, mus tom ntej.

Yog tias koj tsis tau txais kev thov rov pib dua koj Pi, ntaus cov lus txib hauv qab no:

rov pib dua

Qhov no yuav rov pib dua Raspberry Pi ua rau koj cov ntaub ntawv kaw lus nthuav dav mus rau lub peev xwm ntawm SD daim npav.

Kauj Ruam 9: Ua Tus Neeg Siv Tshiab

Nco ntsoov peb cov neeg nyob hauv hacker tau hais ua ntej? Zoo, nws tseem tuaj yeem nkag mus, tab sis muaj teeb meem ntau rau nws. Yog li peb yuav tsum tau ntsuas kev nyab xeeb ntxiv txhawm rau tiv thaiv nyiag nkas. Peb xav tau tus lej siv tshiab! "Tab sis vim li cas tus neeg siv tus lej tshiab?" koj tuaj yeem nug. Zoo, tus "hauv paus" tus account koj nkag mus rau yog tus neeg siv hauv paus. Hauv tus as khauj no, koj tuaj yeem ua ib qho lus txib uas koj ntaus! Koj tsis xav tau tus password los txheeb xyuas tias koj yog tus tswv ntawm lub khoos phis tawj. Yog tias koj muaj hacker, qhov no tuaj yeem khiav koj mus rau qee qhov teeb meem loj yog tias nws tau nkag mus rau koj tus lej hauv paus.

Txhawm rau ntxiv lwm tus lej uas tsis yog ROOT, thiab qhov xav tau tus password uas koj tau hloov ua ntej los khiav cov lus txib hauv paus, ntaus thiab ua raws cov lus txib hauv qab no. Nov yog qhov piv txwv!

"adduser" [Koj lub npe siv tshiab] piv txwv li: "minetest" nco ntsoov tsis txhob ntxiv cov cim cim cim thaum ntaus ntawv hais kom ua. Yog li, txhawm rau hais kom ua nrog tus neeg siv "minetest", ua qhov no:

adduser tsawg tshaj plaws

"Sau tus lej UNIX tshiab". Ntxiv ib lo lus zais, nyiam dua li tus as -qhauj hauv paus rau kev nyab xeeb ntxiv. Retype koj tus password. Nias nkag mus kom txog thaum koj mus txog "Puas yog cov ntaub ntawv no raug?" teb "y", nias Enter thiab koj ua tiav.

Kauj ruam 10: Pab kom Jessie-backports

jessie-backports yog lub chaw cia khoom uas koj tuaj yeem teeb tsa cov kev pabcuam tshiab nrog rau. Tsis tas yuav ua kom jessie-backports, koj tsis tuaj yeem nruab Minetest Server version 4.15, tab sis koj yuav tau txais 4.10, uas yog qhov tseeb tiag!

Ntaus hauv cov lus txib hauv qab no kom pab tau jessie backports:

apt-tau nruab nano

nano /etc/apt/sources.list

Thaum koj tau mus txog kab ntawv, koj yuav tsum pom ob peb kab ntawm cov ntawv uas muaj xim sib txawv. Tsis txhob kho qhov no! Thaum koj nyob hauv qab ntawm nplooj ntawv, ntxiv cov kab ntawv no raws nraim li lawv yog:

deb https://ftp.de.debian.org/debian jessie lub hauv paus tseem ceeb tsis pub dawb

deb-src https://ftp.de.debian.org/debian jessie lub ntsiab tsis pub dawb

deb https://httpredir.debian.org/debian jessie-backports qhov tseem ceeb tsis pub dawb

Thaum ua tiav, nias Ctrl+O tib lub sijhawm, nias Enter. Tam sim no, nias Ctrl+x thiab Enter. Qhov ntawd yuav txuag cov ntawv.

Tom qab ntawd, ntaus:

apt-tau hloov tshiab

apt-tau upgrade

Kauj ruam 11: Nruab Minetest Sever

Tawm mus? Tsis txhob cia li tsis tau. Koj yuav tsum teeb tsa pob Minetest server txhawm rau kom muaj lub server khiav 4.15. Mus tom ntej thiab khiav cov lus txib hauv qab no:

apt -t jessie-backports nruab minetest-server

Uas yuav nruab server. Pom zoo rau kev teeb tsa thiab txuas ntxiv mus rau theem tom ntej.

Kauj Ruam 12: Tso Cai Tso Cai

Yog tias koj xav tau ib txwm pib server, khiav cov lus txib hauv qab no:

chmod -R a+w /var/log/minetest/minetest.log

Qhov ntawd yuav pab koj pib server thiab siv cov ntaub ntawv teev cia!

Kauj Ruam 13: Kho Minetest.conf

Minetest.conf cov ntaub ntawv yog dab tsi tus neeg rau zaub mov nyeem thiab teeb tsa nws qhov ntsuas los ntawm txhua qhov pib. Koj yuav tsum kho cov ntawv no txhawm rau siv koj li server rau qhov siab tshaj plaws. Hauv "tus account" tus neeg siv nyiaj, khiav cov lus txib hauv qab no:

nano /etc/minetest/minetest.conf

Qhov no yuav coj mus rau Minetest server teeb tsa cov ntaub ntawv. Kho cov ntawv no los teeb tsa koj "ntiag tug" (op) ua tus thawj coj. Cov hauv qab no yog ib feem ntawm cov ntaub ntawv teeb tsa:

# teeb tsa cov ntaub ntawv rau minetestserver # Tus thawj tswj hwm lub npe

#npe =

# Cov khoom siv server

# Network chaw nres nkoj kom mloog (UDP)

chaw nres nkoj = 30000

# Kaw qhov chaw nyob

#bind_address = 0.0.0.0

# Lub npe server

server_name = (Lub Npe Server)

# Kev piav qhia ntawm server

server_description = (Nov yog qhov koj piav qhia mus)

# Sau lub npe server

#server_address = game.myserver.net

# Homepage ntawm server

#server_url =

# Automaticaly qhia rau masterserver

# teeb tsa qhov tseeb rau cov neeg rau zaub mov pej xeem

server_announce = tseeb

# Tshaj tawm rau tus tswv tswv. yog tias koj xav tshaj tawm koj tus IPv6 chaw nyob

# siv serverlist_url = v6.servers.minetest.net

serverlist_url = servers.minetest.net

# Kev ua si tsis raug (lub neej ntawd thaum tsim lub ntiaj teb tshiab)

default_game = minetest

Kho cov kev xaiv no los kho koj lub server. Muaj ntau qhov kev xaiv ntau dua, qhov no tsuas yog ib feem ntawm cov ntawv.

Koj puas tau pom txhua qhov me me # tus lej/hashtag cov cim? Zoo, xijpeem kab ntawv ntawm cov ntawv #tom qab, tus neeg rau zaub mov yuav tsis quav ntsej lawv thaum pib. Cov #no hais tawm kab kab ntawv, ua rau cov neeg rau zaub mov tsis quav ntsej kab ntawv ntawd. Piv txwv li, yog tias kuv xav ua kuv tus neeg ua si lub npe "op", Kuv yuav tsis pom zoo thiab kho kab ntawv no:

# Admin lub npe

#npe = snowdrop1101

Tos! dab tsi mus tsis ncaj ncees lawm? Kuv pib server thiab ntaus /privs thiab kuv tsis yog admin! Zoo, ceeb toom tias me # nyob rau pem hauv ntej lub npe =, Kuv tsis tau tshem tawm qhov ntawd tus neeg rau zaub mov tsis quav ntsej tias kuv tus neeg siv lub npe yuav tsum yog admin. Yog li nws yuav zoo li qhov no:

# Tus thawj tswj hwm lub npe = snowdrop1101

Qhov ntawd zoo dua! Tab sis dab tsi, koj yuav nug, yuav tshwm sim yog tias kuv tau ua qee yam zoo li no:

Lub npe admin = snowdrop1101

Tsis muaj # nyob rau pem hauv ntej ntawm "Admin name" yog li tus neeg rau zaub mov yuav sim nyeem kab ntawv ntawd ua kab uas tsis pom zoo thiab yuav ua kab rau thaum pib. Yog li yog tias kuv tau sim khiav lub server yam tsis muaj # nyob rau ntawm "Admin name", Tus neeg rau zaub mov yuav tsoo. Ntawd "Tus thawj tswj hwm lub npe" tau piav qhia qhov kuv xaiv yog dab tsi, yog li nws yuav tsum tau tawm tswv yim ntxiv. (Nov yog cov lus pom -> #)

Tam sim no qhov "Admin name" tau hais tawm, tus neeg rau zaub mov yuav tsis quav ntsej nws thiab yuav tsis tsoo vim qhov yuam kev minetest.config.

Nco ntsoov xyuas koj lub chaw nres nkoj. Lub neej ntawd Minetest server chaw nres nkoj yog 30000, nws yog qhov zoo tshaj los tso nws li ntawd. Txawm li cas los xij, yog tias lwm lub server lossis lwm yam tab tom khiav ntawm chaw nres nkoj 30000, thaum koj pib lub server koj yuav raug tsoo. Yog li kho qhov chaw nres nkoj ntawd thiab siv lub tshuab luam ntawv chaw nres nkoj yog tias koj xav tau. Yog tias 30000 chaw nres nkoj tau siv, tsuas yog hloov nws mus rau lwm yam.

Thaum ua tiav kho cov ntaub ntawv minetest.conf, ntaus thiab khiav:

Ctrl+O

Ctrl+X

Kuaj xyuas kom paub tseeb tias koj tsis tau ntsia dab tsi. Hom:

tawm

Qhov ntawd yuav coj koj tawm ntawm tus lej siv tus account. Tam sim no nkag mus rau hauv tus lej tsis-hauv paus koj tau tsim ua ntej yog li koj tuaj yeem pib qhov kev pabcuam. Thaum koj tau nkag mus, ntaus:

minetestserver

Qhov no yuav pib server. Yog tias koj ua nws raug, tus neeg rau zaub mov yuav tsum pib thiab nyob ntsiag to.

Txhawm rau nres tus neeg rau zaub mov, nias

Ctrl+C.

Tib lub sijhawm.

Kauj Ruam 14: Ntxiv Mods (Plugins)

Dab tsi ntxiv? Koj muaj lub khoos phis tawj khoos phis tawj thiab lub khoos phis tawj ntau dua npaj rau khiav, tab sis qee yam ploj lawm. Aha! Mods! Mods yog dab tsi ua Minetest. Tsis muaj kev hloov pauv, Minetest yuav yog qhov kev ua si vanilla tsis txaus ntseeg nrog 40-50 ntu xaiv los ntawm, yog tias yog. Ntxiv mods los pab qee yam zoo nkauj zoo li Technic Mod uas ntxiv dag zog rau thaj chaw thiab Nuclear reactors, Morefoods uas ntxiv ntau yam zaub mov xaiv los ntawm, Mesecons uas ntxiv txhua yam koj xav tau thiab ntau dua los ntawm redstone, ntxiv rau ntau pua ntau yam ntxiv rau xaiv los ntawm.

Ua ntej, yog tias koj tau nkag mus rau tus neeg siv "hauv paus", tawm thiab koom nrog tus lej siv uas koj tau ua yav dhau los. Tam sim no ib zaug hauv tus as khauj, ntaus su thiab nkag mus rau sudo "hauv paus" tus lej password. Qhov no yuav coj koj cov neeg siv tshiab mus txog qib hauv paus cov neeg siv rau ib ntus. Kuv mam qhia koj yog vim li cas tom qab.

Tam sim no, txhawm rau ntxiv mods rau koj lub server, ntaus thiab khiav cov lus txib hauv qab no:

cd/usr/qhia tawm/games/minetest/games/minetest_game/mods

Qhov no yuav coj koj mus rau lub Mod Mod tseem ceeb. Cov nplaub tshev no tau tiv thaiv koj yuav xav tau nyob hauv "hauv paus" tus lej siv lossis siv:

su

Hais kom lub hnub ua sudo. Tam sim no mus nrhiav mods. Nyob rau tib lub khoos phis tawj uas koj hlawv SD daim npav nrog, mus rau Lub Vev Xaib no txhawm rau nrhiav mods rau koj qhov kev ua si. Siv "Minetest Mod Search" txhawm rau nrhiav cov khoom tshwj xeeb. Thaum koj tau pom tus qauv koj xav sim tawm, txoj nyem rau ntawm rub tawm txuas thiab nyem "Qhib hauv tab tshiab". Tsis quav ntsej ib qho kev rub tawm sai sai thiab saib lub vev xaib nyob hauv kab tshawb nrhiav. Kuj txheeb xyuas nplooj ntawv xov xwm mod rau "Kev vam khom" tab. Qhov no yuav muaj cov npe ntawm mods uas koj tab tom yuav rub tawm tsis tuaj yeem khiav yam tsis muaj. Nco ntsoov rov qab los tom qab thiab rub cov mods ntawd.

Lub vev xaib yuav tsum zoo li qhov no:

Nws yog qhov zoo tshaj plaws kom muaj koj li GUI PC uas koj saib cov mods nyob ib sab ntawm koj Pi cov zaub, vim tias koj yuav xav tau nws nyob ntawd. Nco ntsoov tias koj muaj koj Pi qhib ntawm:

/usr/qhia tawm/games/minetest/games/minetest_game/mods

Qhov no raws li kuv tau hais yog Mod nplaub tshev. Siv wget mus rub tus qauv koj xav tau, zoo li no:

wget

Nco ntsoov hloov kuv https:// chaw nyob nrog tus uas koj pom thaum qhib lub tab tshiab, siv:

wget https://… (Xijpeem qhov chaw nyob yog)

Thaum txhua yam ua tiav, koj yuav tsum ntaus:

ls ua

Hauv daim nplaub tshev kom pom tias koj lub mod rub tawm tau ua tiav.

Kauj ruam 15: Unzip

Feem ntau Minetest mods tuaj hauv.zip nplaub tshev, yog li koj yuav tsum unzip cov ntawv kom nws ua haujlwm. Khiav:

apt-tau nruab unzip

Qhov ntawd yuav ntxiv cov cuab yeej rau, zoo, unzipping cov ntaub ntawv. Cia hais tias kuv siv wget los rub tawm cov ntawv uas pom zoo li "master.zip". Txhawm rau unzip cov ntawv, Kuv yuav ntaus:

unzip master.zip

Thiab yog li mus cov txheej txheem rho tawm. Thaum koj tau rho tawm cov ntawv koj xav tau, nco ntsoov tshem tawm.zip nrog:

rm -r master.zip (Hloov "master.zip" nrog koj cov ntaub ntawv npe)

Feem ntau, koj yuav tau txais cov ntaub ntawv unzipped uas zoo li no:

minetest-mod-extrafood-master0173v47

Tus neeg rau zaub mov tsis nyiam cov npe zoo li no, yog li koj yuav tsum hloov npe cov ntaub ntawv. Siv:

mv minetest-mod-extrafood-master0173v47 extrafood

Qhov no yuav hloov pauv cov ntaub ntawv loooong rau hauv lub npe me dua, cov khoom noj ntxiv. Pom tseeb, siv cov lus txib mv nrog xijpeem koj lub npe ntaub ntawv yog qhov koj xav hloov npe. Tsis tas li, nws zoo tshaj kom khaws lub npe kom ze rau lub hauv paus thaum tseem yooj yim, kom yooj yim nrhiav tom qab.

Kauj Ruam 16: Xeem Mods

Thaum twg los xij koj teeb tsa tus qauv tshiab, KOJ YUAV TSUM XEEB TSHUAJ !!! Yog tias koj teeb tsa hais 30 mods thiab tom qab ntawd tau mus pib koj lub server, thiab hais tias 3 mods ua tsis tiav thiab ua rau cov neeg rau zaub mov poob, koj yuav muaj lub sijhawm nyuaj nrhiav tus neeg ua txhaum. Yog li txhua lub sijhawm koj teeb tsa lub mod, sim nws thiab xyuas kom tseeb tias nws tsis tsoo server. Yog tias tus neeg rau zaub mov khiav, koom nrog qhov kev ua si thiab sim tawm qhov mod hauv-game. Tus qauv yuav zoo thaum khiav hauv lub davhlau ya nyob twg tab sis tsuas yog zoo li tig tsis zoo thaum koj mus siv nws. Txhawm rau koom nrog qhov kev ua si, siv Pi's IP chaw nyob thiab chaw nres nkoj server kom koom nrog.

Txhawm rau sim mods, koj yuav tsum rov qab tawm ntawm sudo thiab dhau los ua tus neeg siv ib txwm muaj. Txhawm rau tawm sudo, ntaus:

tawm

Qhov ntawd yuav xa cov neeg siv "minetest" rov zoo li qub. Nov yog qhov uas tus neeg siv tshiab tuaj yeem ua ke. Koj tsis tuaj yeem pib minetest-server hauv paus. Txhawm rau pib server, ntaus:

minetestserver

Qhov ntawd yuav thauj tus neeg rau zaub mov thiab txhua qhov kev hloov pauv, lub neej ntawd thiab cov uas koj tau ntxiv. Ntawm koj cov mod thauj khoom zoo, tom qab ntawd zoo! mus tom ntej thiab ntxiv ntau ntxiv, ntsuas ib tus los ua kom ntseeg tau tias tus qauv tsis phem lossis muaj kev tsis sib haum nrog lwm tus qauv. Tsis tas li nco ntsoov tias kuv hais kom txheeb xyuas ntawm nplooj ntawv xov xwm mod kom pom tias nws muaj kev vam khom. Yog tias muaj kev vam khom, rub tawm, unzip thiab sim lawv. Ntau lub sijhawm mod yuav tsis thauj khoom vim tsis muaj kev vam khom.

Kauj Ruam 17: Xa Chaw Xa Mus

Yog tias koj puas tau npaj yuav koom nrog koj lub server rau pej xeem, koj yuav tsum xa nws mus rau tom ntej.

1. Ntawm koj tus Pi thiab ntaus hauv "ifconfig", tsis txhob ntxiv cov cim cim cim.

2. Nrhiav rau "eth0" tab. Nws yuav tsum muaj tus IP uas zoo li no: 192.168.1.149

3. Qhib koj tus browser thiab ntaus hauv 'Whats kuv tus ip' rau hauv qhov chaw nyob bar. Luam tus IP qhia 4. Tam sim no hauv URL bar, muab tus IP uas koj nyuam qhuav tau theej. Qhov no yuav tsum coj koj mus rau nplooj ntawv router wifi. Yog tias nws muaj tus lej nkag mus ua ntej thiab nkag mus yog tias tsis txuas mus rau kauj ruam tom ntej.

5. Saib rau virtual servers/chaw nres nkoj xa mus/daim ntawv thov/gaming tab. Lub npe yuav txawv nyob ntawm tus wifi router.

6. Thaum koj tau qhib nplooj ntawv virtual servers, koj yuav pom tias nws yuav nug koj kom nkag mus rau qhov chaw nres nkoj, ip, thiab lub npe. Rau qhov chaw nres nkoj koj yuav ntaus hauv 30000, (Los yog qhov chaw nres nkoj twg koj xaiv hauv minetest.conf cov ntaub ntawv) qhov chaw nkag thiab ntiag tug. Npe lub server thiab koj tau teeb tsa. Ntaus tus IP uas koj tau saib ua ntej nrog ifconfig ib sab ntawm qhov chaw nres nkoj. Cia li txuag qhov chaw.

Kauj Ruam 7. Txhawm rau txuas rau koj tus kheej lub server koj yuav ib txwm txuas los ntawm kev ntaus tus IP koj pom hauv lub vev xaib, thiab hauv lub npov tom ntej no ntaus qhov chaw nres nkoj koj teeb rau server.

Kauj Ruam 18: Ua Kom tiav

Thaum koj tau sim thiab sim koj lub server tshiab thiab txhua yam ntawm nws cov mods, koj yuav txiav txim siab ua nws rau pej xeem! (Ib qho kev xaiv hauv minetest.conf) Qhov no yuav tshaj tawm rau cov players tias koj lub server nyob thiab lawv yuav pib koom nrog. Sim hloov kho tshiab, sim me ntsis thiab thaum koj pom qhov koj xav tau, txaus siab rau nws!

Thov tawm cov lus hauv qab no yog tias kuv tso dab tsi tawm thiab ua tsaug rau kev nyeem.

Txaus siab rau koj cov neeg rau zaub mov!

Pom zoo: