vhost-manager/README.md

54 lines
929 B
Markdown
Raw Normal View History

2019-07-31 20:57:30 +02:00
VHOST-MANAGER
=============
2019-08-01 10:32:58 +02:00
VHOST-MANAGE helps you to create apache2 vhosts.
2019-07-31 20:57:30 +02:00
2019-08-01 10:32:58 +02:00
Requirements
------------
2019-07-31 20:57:30 +02:00
* PHP
* /bin/sh
* GCC
2019-08-01 10:53:26 +02:00
* whiptail
2019-08-01 10:32:58 +02:00
* wget
* make
Installation
------------
2019-07-31 20:57:30 +02:00
```
2019-08-01 10:53:26 +02:00
$ sudo apt install gcc whiptail wget make
$ sudo apt install <php stuff>
2019-07-31 20:57:30 +02:00
$ git clone https://gitnet.fr/deblan/vhost-manager.git
$ cd vhost-manager
$ make
```
2019-08-01 10:32:58 +02:00
Configuration
-------------
```
$ cp etc/config.dist etc/config
$ vim etc/config
```
2019-07-31 20:57:30 +02:00
Usage
-----
```
2021-02-21 16:19:12 +01:00
USAGE:
./bin/vhost-add [options]
OPTIONS:
-d The domain name
-a Aliase(s)
-m value Enable *http* or *https*
-r Force redirection of http to https
-p value Enable PHP with the given version (eg: 8.0)
-u value Username in the system
-i Enable script interactivity
-h Show this help
2019-07-31 20:57:30 +02:00
```
2019-08-01 10:32:58 +02:00
2019-08-02 10:05:25 +02:00
![](https://www.deblan.io/~simon/vhost-manager/vhost-manager2.gif)