După cum ştiţi a ieşit noua versiune FreeBSD 9.1. Eu voi posta un mic ghid pentru a pornit un server pe noua versiune.
FreeBSD 9.1 pe 64 de biţi este cea mai recentă versiune a sistemului de operare FreeBSD, pe care o folosim pentru a rula serverele noastre.
Programele de care avem nevoie pentru a începe:
- Putty - Programul care ne permite să ne conectăm prin SSH la serverul nostru.
- Filezilla - Programul care ne perminte să ne conectăm prin SFTP la serverul nostru.
- File Server - Din păcate nu va pot recomanda unul .
Să începem cu prima parte:
- Conectaţi-vă prin putty la server : Acesta cere Ip-ul serverului , user-ul (root) dar şi parola. Prima oara instalam porturile prin comanda:
- Aşteptăm să se instaleze porturile dureaza câteva minute. Apoi instalam mysql5.5 prin comanda:
iar imediat dupa
- Prin comanda make install îl lăsăm să se instaleze şi să îşi descarce resursele. După ce se instalează, scriem urmatoarea comandă:
apoi
- Apăsăm ESC + Leave editor + save apoi urmatoarea comandă :
- După ce server-ul porneşte scriem urmatoarea comandă:
- După accea :
- Acuma după ce intri în MySQL scrii următoarele comenzi:
- Şi imediat după:
- Apoi ieşiţi din MySQL prin comanda quit.
A doua parte :
- Instalare lib-uri pentru FreeBSD 9.1 şi pentru a porni serverul de metin2.
- Atentie: Nu luati lib-uri pentru freebsd 9.1 de pe net . Ele se instaleaza singure. prin urmatoarele comenzi:
cd /usr/ports/misc/compat7x apoi make install clean aşteptăm să finalizeze instalarea apoi :
- Apoi comanda shutdown -r now (şi aşteptăm să se restarteze serverul)
Acum trebuie să urcam serverul nostru pe dedicat prin filezilla sau winscp . După ce sa urcat toate fişierele edităm toate fişierele de configurare cu datele din baza de date. Şi mergem apoi în directorul bazei de date: cd /var/db/mysql şi apoi dăm permisiunile 777 prin comanda chmod -R 777 mysql. Cam asta este. Sper să vă ajute.