Coder Social home page Coder Social logo

vhost-project's Introduction

Ubuntu için Apache Virtual Host Yönetim Projesi

Kurulum


Programı kendi makinamıza klonluyoruz.

git clone https://github.com/ugorur/vhost-project.git

Klonladığımız dizine girerek kurulumu tamamlıyoruz.

Kurulum sırasında bizden istediği bilgiler ve anlamları:

  • MySQL Roots Şifresi Giriniz: Gerekli paketleri kurarken girdiğiniz MySQL Server Root şifresi
  • E-Posta Adresinizi Giriniz: Zorunlu değil, HTTP 500 hata sayfalarında görünür.
  • Linux Kullanıcı Adınızı Giriniz: Açılan Virtual Host'lar için dosya kopyalama falan yaparken sıkıntı yaşamamanız için gerekli
  • Varsayılan Alan Adı Uzantınızı Giriniz: Her Virtual Host için tek tek girmek yerine, ilk seferde girmeniz size zaman kazandırır. Varsayılan olarak ** loc ** değeri tanımlıdır.
  • Hata Ayıklama Açılsın mı? (E/H): Django için yeni bir host açılınca hata ayıklama modu için gerekli. Diğer paketlerde henüz işlevi yoktur.
cd vhost-project
sudo chmod +x setup.py
sudo ./setup.py install

Kurulum tamamlandıktan sonra sistemi kullanmak için tek yapmanız gereken sudo ile vhost'u çalıştırmak olacaktır.

** PHP için Kullanım **

Yeni PHP Virtual Host Açmak:

sudo vhost php ekle
  • Kullanıcı Adı: Host için kullanıcı adı. Domain adresi ile aynı özelliklere sahip olmalı. ** Uzantı vermeyin. **
  • Uzantı: Varsayılan olarak kurulumda verdiğiniz uzantıdır. Bu uzantı sizin Virtual Hostunuz için adres olacaktır. (www.{kullanici_adi}.{uzanti})
  • Şifre: Varsayılan olarak MySQL Root şifresidir. Bu şifre, bu virtual host için açılan database için kullanılır. (Database Adı: {kullanici_adi}_db, Database Kullanıcısı: {kullanici_adi}, Database Şifre: {sifre})
  • Hata Ayıklama Açılsın mı? (E/H): (PHP için fark etmez)

Ayrıca www.{kullanici_adi}.{uzanti}/phpmyadmin ile bu kullanıcıya özgü phpmyadmin sayfasına giriş yapabilirsiniz.

PHP Virtual Host Silmek:

sudo vhost php sil
  • Kullanıcı Adı: Host için kullanıcı adı.
  • Uzantı: Virtual Host için verdiğiniz uzantı

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.