Get support for dunglas/debian-hosting

If you're new to LTH, please see our FAQ for more information on what it is we do.

Support Options

Unfortunately, there are currently no active helpers for this repository on the platform. Until they become available, we reccomend the following actions:

View Open Issues

Take a look to see if anyone else has experienced the same issue as you and if they managed to solve it.

Open an Issue

Make sure to read any relevant guidelines for opening issues on this repo before posting a new issue.

Sponsor directly

Check out the page and see if there are any options to sponsor this project or it's developers directly.

dunglas/debian-hosting

=hosting.py=

hosting.py is a web server accounts manager for [http://www.debian.org Debian GNU/Linux] and derivatives, such as [http://www.ubuntu.com Ubuntu Linux].

This is a command line tool designed to easily create, modify and delete web accounts. It includes support for UNIX accounts, [http://www.mysql.com MySQL] databases and privileges, and [http://httpd.apache.org Apache] virtual hosts.

hosting.py is wrote in [http://www.python.org Python] by [http://lapin-blanc.net Kévin Dunglas].

==Summary==

hosting.py is designed for small web hosting services like privates shared hosts or big websites with many subdomains.

==Install==

hosting.py need Debian etch or Ubuntu and Python 2.5 to work. Get the source via SVN : svn checkout http://debian-hosting.googlecode.com/svn/trunk/ debian-hosting-read-only

Create the base skeleton for web accounts : mkdir /etc/skel-www/ mkdir /etc/skel-www/logs/ mkdir /etc/skel-www/public_html/

You can add any file in /etc/skel-www/ (by example an index.html file in public_html/). They will be copied in each home directory created with hosting.py.

Adjust the configuration by editing variables in the head of the hosting.py file. Default values are good excepts for MySQL related settings.

It's done !

==Usage==

hosting.py command username Commands: add Add an account del Delete an account mod Modify account

Options: --version show program's version number and exit -h, --help show this help message and exit -p, --passwd ask for passwd -b, --batch batch mode -s SHELL, --shell=SHELL use SHELL -e EMAIL, --email=EMAIL set EMAIL -n DOMAIN, --domain-name=DOMAIN set default DOMAIN

Type python hosting.py --help to get more informations.

Our Mission

We want to make open source more sustainable. The entire platform was born from this and everything we do is in aid of this.

Interesting Articles

Thank you for checking out LiveTechHelper |
2025 © lth-dev incorporated

p-e622a1a2