Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Home

Odiobill edited this page · 25 revisions

This wiki is considered the main documentation source for wcfg. Periodically, its content will be reversed in the man page distributed with the wcfg debian package.

Description

wcfg is an easy and lightweight solution to manage LAMP-like virtual web servers on Debian, Ubuntu and derivate distributions.

It supports both nginx and apache2 and can manage many different things like name based virtual servers, php support using php-fpm for nginx or mod_php for apache2, mysql databases and privileges, website backups, awstats and related static reports. logrotate will also be configured to take care of your virtual servers log files, but everything will be kept consistent with the regulations and automatisms provided by the standard Debian packages. Moreover, you are not forced to install any package from this list but your favorite webserver: just throw in what you really need, and it will be managed by wcfg for your websites.

Since a new user will be created for every virtual server, with the website root path as home directory, it is also very easy to configure per-site FTP access installing vsftpd or any other FTP server, or openssh to allow SFTP access.

Synopsis

wcfg /etc/wcfg/sites/your_site_name [ --delete ]

Examples

wcfg /etc/wcfg/sites/example.org

Configures the example.org website.

wcfg /etc/wcfg/sites/example.org --delete

Removes the same website, cleaning up everything.

Index

  1. Home (this page)
  2. Website configuration parameters
  3. Filesystem structure
  4. Service configuration templates
  5. Using a MySQL database server
  6. Website backups
  7. Accessing website statistics
Something went wrong with that request. Please try again.