Feem ntau ntawm cov pib siv FreeBsd tau ntsib nrog qhov teeb meem ntawm tsis muaj qhov chaw nres nkoj tsim nyog hauv lub rooj sib txoos. Muaj ntau txoj hauv kev yooj yim los daws cov teeb meem no, ua tsaug uas txawm tias cov pib tshiab tuaj yeem yooj yim txhim kho cov chaw nres nkoj tsim nyog ntawm lawv cov kab ke.
Nws yog qhov tsim nyog
ib phau ntawm cov chaw nres nkoj
Cov Lus Qhia
Kauj ruam 1
Ua ntej, nco ntsoov tias koj tau nkag mus rau cov neeg siv cag, vim tias txhua qhov kev ua yog ua los sawv cev ntawm nws. Txhawm rau nce mus rau qhov nkag mus, nkag mus nkag hauv paus hauv lub console. Nco ntsoov siv cov neeg rau zaub mov raug cai nrog cov chaw sau cov ntawv sau se ftp: //ftp. FreeBSD.org/pub/FreeBSD/ports/packages. Tom qab ntawd, txiav txim siab nrog rau qhov kev pabcuam twg koj yuav nqa tawm lub installation.
Kauj ruam 2
Txhawm rau khiav cov nqi hluav taws xob Sysinstall, nkag rau kab hauv qab no hauv lub console: / usr / sbin / sysinstall. Tom qab ntawd qhib Configure, Cov Khoom Muag, Ports (nias feem 3 yuam sij: 2 zaug Sau thiab 1 lub sijhawm "Chaw") thiab xaiv cov txheej txheem ntawm kev thauj khoom ntawm chaw nres nkoj (Internet kev cai, flash media, CDs, thiab lwm yam)
Kauj ruam 3
Lwm qhov kev siv hluav taws xob rau teeb tsa cov chaw nres nkoj yog qhov kev pab cuam PortSnap. Ua li no, nkag mus rau hauv lub system dua li cag. Ntsaws cov chaw nres nkoj los ntawm ntaus ntawv portsnap nqa mus rau hauv lub console, ces unzip cov ports thaum pib nrog "portsnap extract". Yog tias lo lus kawg kawg tau raug tua ua ntej, mus nrog cov hloov tshiab (portsnap hloov tshiab). Nws tseem muaj peev xwm teeb tsa chaw nres nkoj hloov tshiab raws sijhawm. Txhawm rau ua qhov no, mus rau hauv / etc / crontab directory thiab nkag rau lo lus txib "0 3 * * * hauv paus / usr / sbin / portsnap cron" (hloov kho ib hlis ib zaug).
Kauj ruam 4
Txhawm rau nruab cov chaw nres nkoj uas siv CVSup, xub nkag rau hauv paus. Luam tawm cov ntawv / usr / share / example / cvsup / ports-supfile rau lwm qhov chaw sau ntawv thiab mam li hloov kho nws. Hloov CHANGE_THIS. FreeBSD.org tus nqi rau chaw nyob ntawm CVSup neeg rau zaub mov nyob ze tshaj plaws. Ua raws li qhov txuas no https://www.freebsd.org/doc/en/books/handbook/cvsup.html#CVSUP-MIRRORS rau cov npe servers. Tom qab txhua qhov kev tswjfwm no, pib CVSup los ntawm kev nkag mus rau kab "# cvsup -g -L 2 / cag / ports-supfile".