dunglas / debian-hosting Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/debian-hosting
License: GNU General Public License v3.0
Automatically exported from code.google.com/p/debian-hosting
License: GNU General Public License v3.0
=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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.