• 2. Internet orqali biror web site ni shablonini yuklab olish va uni yangi domen orqali ishga tushirish(static.uz)
  • Web server sozlash: a) web serverda ta virtual host yaratish




    Download 13,06 Kb.
    Sana16.05.2024
    Hajmi13,06 Kb.
    #238096
    Bog'liq
    6 web server


    1. Web server sozlash:
    a) web serverda 2 ta virtual host yaratish(domen uchun ism, familayadan foydalanish).
    b) nginx ni configi test qilish
    c) nginx ga reload berish
    2. Nginx da static content uchun alohida papka yaratish.
    a) video uchun
    b) rasm uchun
    c) audio uchun
    va ularni ochib ko'rish
    3. Nginx da shunday papka yaratingki browser orqali http:///bir/ikki/uch/test.txt deb murojat qilinganda test.txt fayl ochilsin
    4. Nginx ni tuning qilish
    a) userni o'zgartirish
    b) worker process lar sonini 8 taga oshirish
    c) workerlar uchun connectionlar sonini 2048 taga oshirish
    d) har bir virtual host uchun alohida log fayllar ko'rsatish(ijodiy)
    e) biror virtualhostni 8080 port orqali ewitadigan qilib sozlash va ulanib ko'rish

    2-Vazifa:


    1. Web serverda yangi domen yaratish(domen.uz). Unga kegan zaproslarni video va rasm bolsa boshqa serverga proxy pass qilib o'tkazib yuborish.
    2. Internet orqali biror web site ni shablonini yuklab olish va uni yangi domen orqali ishga tushirish(static.uz)
    3. Linux da php-fpm o'rnatish va php haqida info beradigan dynamic sayt sozlash(dynamic.uz)
    Download 13,06 Kb.




    Download 13,06 Kb.

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Web server sozlash: a) web serverda ta virtual host yaratish

    Download 13,06 Kb.