Sida loo qaabeeyo martigeliye Apache dalxiis oo ku yaal Debian

Waxaan sii wadeynaa inaan la ciyaarno Debian adeegeena tijaabada, maanta waxaa naloo soo bandhigay baahida loo qabo in la habeeyo Martigaliyaha Virtual, sidaa darteed anigoo kaashanaya hagaha jaamacada waxaan dhisay talaabo-tallaabo ah si aan u qaabeeyo martigaliyayaasha Apache ee Debian.

Ku rakib apache

sudo apt-get update
sudo apt-get install apache2

Samee feylal marti-qaade cusub

Kala soo bax feylalkayaga Virtual.conf halkan. Markaas waa inaan nuqul ka galnaa feylka virtual.conf galka galka /etc/apache2/sites-available/ ee cinwaanka cusub.

cp virtual.conf /etc/apache2/sites-available/

Haddii loo baahdo, waan beddeli karnaa magaca faylka. (Imtixaan ahaan waxaan u isticmaali doonnaa magaca: virtual )

Marka xigta waa inaan bedelnaa meelaha soo socda ServerName, ServerAdmin, DocumentRoot

Sahlo faylasha martida loo yahay ee Virtual:

a2ensite virtual.conf

Dib u fur Apache:

service apache2 restart

Configurar el archivo de hosts local

Fur faylka hosts loogu talagalay nano /etc/hosts

Kudar IP-ga cusub ee server-kaaga qeybta hoose ee feylka sida localhost.

Waxay noqon doontaa wax sidan oo kale ah:

127.0.0.1 localhost 127.0.0.10 wp 127.0.0.11 yii # Khadadka soosocda ayaa loo jecelyahay IPv6 martigaliyaal karti leh :: 1 localhost ip6-localhost ip6-loopback ff02 :: 1 ip6-allnodes ff02 :: 2 ip6-allrouter

Taasna, Marti-geliyaha Virtual ee Debian si wanaagsan ayaa loo qaabeyn lahaa


Nuxurka maqaalka wuxuu u hogaansamayaa mabaadi'deena anshaxa tifaftirka. Si aad u soo sheegto khalad guji Halkan.

5 faallooyin, ka tag taada

Ka tag faalladaada

cinwaanka email aan la daabacin doonaa. Beeraha loo baahan yahay waxaa lagu calaamadeeyay la *

*

*

  1. Masuul ka ah xogta: Miguel Ángel Gatón
  2. Ujeedada xogta: Xakamaynta SPAM, maaraynta faallooyinka.
  3. Sharci: Oggolaanshahaaga
  4. Isgaarsiinta xogta: Xogta looma gudbin doono dhinacyada saddexaad marka laga reebo waajibaadka sharciga ah.
  5. Kaydinta xogta: Macluumaadka ay martigelisay Shabakadaha Occentus (EU)
  6. Xuquuqda: Waqti kasta oo aad xadidi karto, soo ceshan karto oo tirtiri karto macluumaadkaaga.

  1.   3 dijo

    Salaam, subax wanaagsan

    Fadlan waxaan ku weydiisanayaa casharro aad ku sharraxayso sida internetka (meel kasta oo adduunka ah) aad ku heli karto bogagga martigaliyaha iyadoo aanad adeegsan adeegyo dhinac saddexaad ah?

  2.   Sidaas-iyo-sidaas dijo

    Xiriiriyaha Virtual.conf ma shaqeynayo.

  3.   Johan Esteban dijo

    Casharradu ma dhammaystirna 0/10

  4.   fjmadrid dijo

    Hello,
    faylka Virtual.conf mar dambe lama soo degsan karo. Fadlan cusbooneysii xiriirka.
    Waad ku mahadsan tahay.

  5.   Ekaitz dijo

    Lagama heli karo dhejiska ka yimid virtual.conf. Haa, xayeysiin, buste ...