x1unix / Apache Toolkit
Licence: apache-2.0
Easy virtual host management for Apache on Linux.
Stars: ✭ 13
Programming Languages
shell
77523 projects
Apache Toolkit
This toolkit is designed to make virtual host management more easier from command line.
What's inside
This toolkit contains 3 utilites:
-
create-host
- Create a new virtual host (it will prepare all config's and folder) -
delete-host
- Delete a virtual host (including files and config) -
edit-host
- Edit host's configuration in VIM.
Features
- Virtual host management
- Quick configuration edit
- Creating template for new hosts
- Create dns mask for all
.loc
and.dev
domains (only Ubuntu) optional
Installation
- Clone this repo or go to releases tab and download suitable version.
- Open nessesary distributive folder
- Run
install
file and follow instructions on screen.
Builds
- ubuntu - Release for all Ubuntu-based products.
- linux-common - Rest Linux systems, include only common stuff.
- darwin - Soon. Will include OSX build.
Support
- Ubuntu - Supported.
- Debian - Experimental, may work with ubuntu's package.
- RHEL/CentOS - Supported.
- Darwin/OSX - Soon will be available.
Usage
Create virtual hosts
To create virtual host, just run sudo create-host site.com
.
Tool will create and enable config file and directory for the site.
Delete vitrual hosts
To edit host, use sudo delete-host site.com
.
Also you will be prompted if you want to delete a host directory.
Edit virtualhost configuration
To edit configuration, use sudo edit-host site.com
.
Edit general host configuration template
General template is stored in /etc/apache-cli/example.conf
.
To edit it, you have to use sudo
.
Edit Toolkit configuration
Configuration can be found in /etc/apache-cli/config.sh
.
Uninstall
To remove toolkit, just run sudo apache-cli-remove
;
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].