Yakagadziridzwa 04/05/2011
Iyi ndiyo yangu yekutanga blog posvo, sezvandinozvibata mumablog nemumaforamu ehunyanzvi, ini ndajaira kushanda nevatungamiriri nevashandisi vepamberi veGNU / Linux, chokwadi ndechekuti ndine nguva yakaoma kutsanangura zvinhu zvakapusa sekushandisa iyo terminal, kugadzira bash bash uye mamwe mabasa ayo zvishoma nezvishoma mushandisi weGNU / Linux ari kushandukira mafomu ane graphical interface, ndiri kuita nepandinogona napo kuti vandinzwisise uye vagone kuita nhanho.
Nhanganyaya kuna Jabber
Jabber ndeye yakavhurika protocol inoenderana neiyo XML standard yeiyo chaiyo-nguva kuchinjanisa mameseji uye kuvapo pakati pemapoinzi maviri paInternet. Iko kushandiswa kukuru kweJabber tekinoroji ndeyekutambanudza mameseji chikuva uye IM (Instant Meseji) network iyo inopa mashandiro akafanana nemamwe masisitimu akadai seAIM, ICQ, MSN Messenger, uye Yahoo!
Zvinomira pachena nekuti zvakasiyana:
* Yakavhurika - iyo Jabber protocol ndeye mahara, yakavhurika, yeruzhinji uye inonzwisisika. Uye zvakare, kune akawanda akavhurwa sosi yekushandisa kweJabber Servers (ona rondedzero yemaseva eruzhinji) pamwe nevatengi vazhinji nemaraibhurari ekuvandudza.
* Inotambanuka - Uchishandisa simba remutauro weXML, chero munhu anogona kuwedzera Jabber protocol yekuita kwetsika. Ehezve, kuchengetedza kusabatana, zvakajairwa zvinowedzeredzwa zvinodzorwa neJabber Software Foundation.
* Izvo zvakasarudzwa - Chero ani zvake anogona kumisikidza yavo yeJabber server, zvakare haina patent uye haitsamire kune chero kambani kuti igone kushandiswa izvozvi uye nguva dzose nerusununguko rwese.
* Zvakachengeteka - Chero Jabber server inogona kusarudzika kubva kuruzhinji Jabber network, chero server yekushandisa inoshandisa SSL yevatengi-server kutaurirana, uye vatengi vazhinji vanotsigira PGP-GPG kunyorera mutengi-kune-mutengi kutaurirana. Pamusoro pezvo, kuchengetedzeka kwakasimba kuri pasi pekuvandudza nekuda kwekushandisa kweSASL uye mapassword echikamu.
Jabber anogona kutanga kugadzira nyonganiso nemamwe masystem epamhepo nekuti kazhinji, mune mamwe maIM, mutengi anozivikanwa neprotocol. Panyaya yaJabber iyi haisi iyo nyaya: kune protocol uye yega yevatengi iko kuita.
Mavara ekutanga mu: JabberEN
Server
Kugadzira yako yega mameseji system, tinoda application inoshanda sevha.
Openfire Ndicho jabber server newebhu maneja (senge router kana modem), yakanyorwa muJava uye iri GPL, ndokuti OpenSource.
Zvisungo:
Apache2 + MySQL + PHP5 uye PHPMyAdmin
Kuisa izvi zvinoshandiswa isu tinonyora mune terminal nemvumo yekushandisa Sudo
Ongorora: # ndiwo makomendi, haaurayiwe, iwo mareferenzi ekunzwisisa kuri nani.
# Isu tinoisa Apache2 + MySQL5.1 + PHP5 uye phpmyadmin sudo apt-tora-kuisa apache2 sudo apt-tora-kuisa mysql-server mysql-zvakajairika sudo apt-tora-kuisa php5 php5-ehl sudo apt-tora -y gadza phpmyadmin # Ye Apache2 kuratidza iyo Host Error sudo echo "ServerName localhost" >> /etc/apache2/httpd.conf # YeApache2 kuratidza maAssents neTildes zvakanaka sudo echo "AddDefaultCharset ISO-8859-1" >> / etc /apache2/conf.d/charset # Isu tinogadzirisazve Apache2 sudo /etc/init.d/apache2 kutangazve isu tatova nezvishoma zvekushandisa, ikozvino kuisa OpenFire: # Isu tinoisa Java sudo apt-tora kuisa zuva-java6-bin # Isu gadzira Java seMuturikiri Main sudo yekuvandudza-dzimwe nzira --config java # Gadzira Mushandisi weOpenFire sudo yekuwedzera moto # Dhawunirodha OpenFire muWEP Package wget -c http://www.igniterealtime.org/downloads/download-landing.jsp?file = openfire / openfire_3.7.0 .3.7.0_all.deb # Isu tinoisa OpenFire sudo dpkg -i openfire_777_all.deb # Tinoteedzera Basic Zvemukati zve OpenFire uye MySQL su do cp /usr/share/openfire/resource/database/openfire_mysql.sql $ HOME / sudo chmod 3.7.0 openfire_mysql.sql # Isu Tinogadzira Dhatabhesi uye Tumira Zvakakosha Zvemukati muMySQL mysqladmin -h localhost -u mudzi -p gadzira moto wakashama mysql -h localhost -u mudzi -p openfire <openfire_mysql.sql # Gadzira Mushandisi uye Govera Mvumo muMySQL Line = "GADZIRA USER openfire @ localhost IDENTIFIED BY 'PASSWORD';" echo "$ Line" | mysql -h localhost -u mudzi -p Mutsetse = "GADZIRA ZVESE PAMUSORO PAMOTO. * KUTI openfire @ localhost;" echo "$ Line" | mysql -h localhost -u midzi -p # Isu tinobvisa Residual Files rm openfire_127.0.0.1_all.deb rm openfire_mysql.sql # Isu tinogadzirisazve OpenFire sudo /etc/init.d/openfire restart # Isu tinovhura Firefox Web Administrator http: //9090 .XNUMX: XNUMX
yeuka kuti iyo admin pane ndeye:
http://127.0.0.1:9090
http://TUIP:9090
http://TUDOMINIO:9090
Kana pane chimwe chikonzero iwe usingakwanise kupinda mukati se admin mushure mekumisikidza kuburikidza newebhu, gadziridza moto senge pakuisa nekuyedza, kana dambudziko rikaramba riripo tinogona kuchinja password ne phpmyadmin tichitsvaga tafura yemushandisi mune yakavhurika dhatabhesi.
Kuti uone OpenFire screenshots kupinda pano kune ese mashandiro uye kunyangwe plugins.
Ndatenda neKomendi dzako, Kana paine chero CHIKanganiso CHAKABUDA mupfungwa dzako, hahaha
Akanaka kwazvo mudzidzisi Luciano !!!!
Ini ndanga ndichitarisa kuisa openfire uye nemudzidzisi wako zvaive zvakapusa nyore.
thanks.
Luciano, mupiro wakanaka kwazvo !!! Ini ndoteedzera yako rairo nhanho nhanho uye ndinofunga ndakazviita !! (kunyange hazvo isina kunditendera kumisikidza Apache2 kuratidza yekukanganisa yekukoka uye kuratidza tildes nemazvo) ... asi handikwanise kupinda. Ini handinzwisise zvazvinoreva "kana dambudziko rikaramba riripo tinokwanisa kushandura password ne phpmyadmin tichitsvaga tafura yemushandisi mune yakavhurika dhatabhesi". Unga ndibatsira here??
Ndatenda!!!.
Mhoroi, ndine hurombo kuti handina kukupindura kare asi handina kugamuchira chiziviso chemashoko ako, kana iwe usingakwanise kupinda mukati ndinokurudzira kuti utangezve sevhisi uye kana dambudziko rikaramba riripo, edza kushandura admin inopfuura mudhatabhesi remoto, iro inogona kunge iri kushandisa phpmyadmin. ndiudze chero chinhu uye ini ndichakubatsira iwe.
Luciano mangwanani, murume ini ndinoenda kune kwako ruzivo mu linux / ubuntu, zvinoitika kuti ini ndinoisa openfire mu ubuntu 16.04, uye ndinogona kupinda muoni zvese kubudikidza neruzhinji uye nepo ip, dambudziko nderekuti kana ini ndichiedza kupinda mukati kuburikidza nemoto handitendesere mushandisi kana password, handizive kana zvinokanganisa kuti vane ipcop yakaiswa seye firewall uye ini handizive zviteshi kana chikonzero. ndokumbirawo undibatsire
"Uye ndeye GPL, ndiko kuti OpenSource."
Zvirinani kutaura kuti "uye iri GPL, kureva kuti, Mahara Software"
Hazvina kufanana 😀
Ini handidi kutanga hurukuro isina zvainoreva nekuti openource inosanganisira marezenisi mazhinji uye akasiyana akadai seGNU, apache, mit, mozilla nemamwe akawanda, izwi openource rakashandiswa kutsanangura kuti rakavhurwa sosi uye kuti rinogona uye nekusanganisa emarezinesi. Ndinovimba zvinonzwisiswa.
Ini zvakare ndinofunga zvingave zvine zvibereko kubatsira pane kutambisa nguva muhurukuro dzakapusa.
muchas gracias
uye ndinokumbira ruregerero kana chirevo ichi chikatuka chero munhu.
Pasina mubvunzo muperekedzi mukuru. Yakashanda kekutanga kuisirwa kwemoto weyakavhurika zvakare yakagadzirirwa neLDAP. YAKANAKA !!! Ndatenda.
Mhoroi, ndinoda kuti mundibatsire nekuti ndatotsvaga zvakawanda uye ndapererwa nemazano, ndaisa LDAP uye Openfire.
Openfire inosimbisa mushe neLDAP, asi kana uchiwedzera vokukurukura, kunyoreswa hakusvike, uyezve iwo mameseji anotumirwa, uye iwo haana kubatana kune mumwe nemumwe, kana ari mune runyorwa rwevanopihwa nevashandisi vemoto, kana vari.
Kana paine munhu ane zano rekuti andipe. Ndatenda pamberi ...
Akanaka Tuto, maita basa Luciano, ndanga ndiri mune chamupupuri uye iwe ukajekesa kusahadzika kwakawanda
Bytes
c4m4l30n
Kudzidzisa kwakanaka kwazvo, kwakashanda chaizvo
Zvakanaka, ndakariisa uye zvese zvaive zvakanaka, asi dambudziko rakamuka ipapo ini handina kana kuzogona kupinda panzvimbo yekutonga, ini ndaigara ndine zita rekushandisa risiri iro kana password.
Kana paine chero munhu anoziva kuzvigadzirisa, ndingafare zvikuru.
Grande Luciano ... zvinoita kwandiri kuti gungano reJabber server rakanyatsotsanangurwa ... rinosara kwandiri kuti riite ... Ndatenda nekuuraya kusaziva ....
Ndinoedza kuisa Java, asi zvinondiudza zvinotevera:
E: Iyo yezuva-java6-bin package haina kugona kuwanikwa
Ndiko here kuti ini ndiri kushaya repository? Ndatenda!
Mhoro, iwe unofanirwa kumisikidza iyo repos "inorambidzwa" uye "dzakasiyana-siyana" mu /etc/apt/source.list, nekuti pane zvinhu izvo muUbuntu zvisingaite. Kana iwe ukashandisa graphical nharaunda mune software mavambo izvo zvinogona zvakare kuitwa.
Ndakagara mukutora openfire
Mhoro, sekukuudza kwandinoita, gara uchiteedzera gwara kune iyo tsamba uye kana iwe ukaona kuti vanonamira, wongorore, zvinogara zviri google kuitira.
zvese zvakanaka… 😉 (gwara rakanaka)
asi panguva yekumisikidza mushandisi, mbeva yangu yakafamba uye ndakanga ndisingazive kuti ndakanyora zita rekushandisa ne password ... 🙁 uye ndakazvipa kupinda ...
dambudziko nderekuti ndinodzoreredza uye ikozvino ndinowana zvinotevera:
omar @ omar-che: ~ $ echo "$ Line" | mysql -h yemukatihost -u midzi -p
Pinda password:
ERROR 1396 (HY000) pamutsetse 1: Kushanda KUSVIRA USER kwakundikana kune 'openfire' @ 'localhost'
Ini ndinoda rubatsiro, pandino dhawunirodha moto unoratidzika kunge wainge wakadzingwa asi pandakauisa, zvinondiratidza kuti zvikanganiso zvakawanikwa, chokwadi ndechekuti ini ndoda kukurumidza kupedza chirongwa cheyunivhesiti, ndingafarire rubatsiro rwako.
Ndine openfire 3.7 yakavharwa zvakanaka asi ini ndakakanganwa password yemushandisi admin uye handikwanise kuwana iyo koni yekugadzira vamwe vashandisi
Ini ndinofanira kuziva maitiro ekuchinja password
(Ini ndinoshandisa iyo yakavhurika dhatabhesi)
Chinhu chimwe chete ichi chakaitika kwandiri sekutaura kuri pamusoro, kungobvisa moto neinotevera ...
Gumisa kumhanya kunyorera:
sudo /etc/init.d/openfire kumira
Bvisa icho kubva kumasevhisi:
sudo yekuvandudza-rc.d -f openfire bvisa
Bvisa iyo yekutanga-up faira:
sudo rm /etc/init.d/openfire
Delete ese mafaera ari pa / opt / openfire:
sudo rm -rf / opt / openfire
Uye pakupedzisira, kana iwe wakashandisa mysql dhatabhesi yekushandisa, unogona kubvisa tafura yakashandiswa.
uye pandinodzoreredza ndinowana zvinotevera ...
omar @ omar-che: ~ $ echo "$ Line" | mysql -h yemukatihost -u midzi -p
Pinda password:
ERROR 1396 (HY000) pamutsetse 1: Kushanda KUSVIRA USER kwakundikana kune 'openfire' @ 'localhost'
🙁 🙁 ndibatsireiwo ...
Ini ndinokunda OpenFire .. Handina kukwanisa nayo
Yakanaka .. inoshanda mushe neLinuxmint 11
Ndatenda..
Pandinopinda mirairo iyi miviri (sudo echo "ServerName localhost" >> /etc/apache2/httpd.conf uye sudo echo "AddDefaultCharset ISO-8859-1" >> /etc/apache2/conf.d/charset) mune terminal , zvinondidzorera iyi meseji:
bash: /etc/apache2/httpd.conf: Chibvumirano chakarambwa
Chero zano rekuti ungarigadzirisa sei? ]:
Hei shamwari, ini ndine Openfire yakaiswa uye ndatova nevanoverengeka vashandisi vakagadzirwa muWindows Server 2008 asi ndinoda kutamira kuLinux, zvichave kuti ndinogona kupfuudza kumisikidza uye nhare dzakatogadzirwa kubva kuWin2008 kuenda kuLinux! PS: Ini ndinoshandisa iyo yemukati dhatabhesi, iyo inokurudzirwa kana kusaishandisa nenzira iyi, kune vakakomberedza mazana maviri vashandisi.
Gracias!