Go to file
Kienan Stewart cbfbb0c21a Use mktemp to get the filename for storing the templating script
Using a fixed string could allow for abuse by anyone who has access to /tmp.
One could place a symbolic link to any file to cause it to be overwritten
when alternc.install is run.
2024-01-25 18:10:34 +01:00
.tx
api
awstats fixes #444 removing comment on awstats sql dump 2021-06-16 16:57:33 +02:00
bureau
debian Change order php dependencies 2023-11-15 16:45:43 +01:00
etc
install
lang
lib/Alternc/Api
man
nightlybuild File de la mechant dash 2014-03-27 17:39:28 +00:00
phpunit Merge pull request #495 from tobald/unittest_fixes 2024-01-25 15:36:30 +01:00
po
roundcube
selenium
squirrelmail [fix] roundcube and squirrelmail are specific packages 2018-06-23 16:47:15 +02:00
src Issue #526: Fix dovecot quota warnings 2023-09-29 10:55:34 +02:00
stretch
tests
tools [fix] replacing /var/run by /run everywhere we can (not everywhere: postfix chroot or old compatibility is maintained 2018-07-04 17:42:42 +02:00
.gitattributes
.gitignore
.gitmodules
.scrutinizer.yml
.svnignore
.travis.yml
CODING_CONVENTION.php
COPYING
DEBIAN_COMPLIANCE
Makefile
README.md
repos-to-tx.sh [fix] UPDATE of PO Translations, Fixes #45 + repos-to-tx.sh doing that automatically, + update from transifex 2017-10-08 14:51:51 +02:00
tx-to-repos.sh

README.md

AlternC: Web and Email Hosting Software Suite

AlternC is a software helping system administrators to handle Web and Email services management. It should be easy to install, based only on free software.

This software consist of an automatic install and configuration system, a web control panel to manage hosted users and their web services such as domains, email accounts, ftp accounts, web statistics...

Technically, AlternC is based on Debian GNU/Linux distribution and it depends on other software such as Apache, Postfix, Dovecot, Mailman (...). It also contains an API documentation so that users can easily customize their web desktop.

This project native language is French, and the code is commented in English. The packages are available at least in French and English, German and Spanish interfaces are usually available too.

Installation

To install AlternC, please follow our install documentation

Pour installer AlternC, merci de suivre la documentation d'installation

Upgrading from AlternC 3.[1,2,3].11 or earlier

The recommended process for upgrading is to upgrade to 3.3.12 before upgrading to 3.5. If you choose to upgrade directly to 3.5 from an earlier version, please read this information as there is a risk of a loss of data.

AlternC >= 3.5 removes integrates alternc-ssl and alternc-admintools in the the core AlternC package.

As a result, both alternc-ssl and alternc-admintools will be removed during installation. When alternc-ssl is removed, it will mark many of the sub domain types suffixed with '-ssl' and '-mixssl' for deletion.

To safely upgrade between these versions:

  • Backup your AlternC database
  • Stop the cron service: /etc/init.d/cron stop
  • Install alternc (>= 3.5)
  • Run the following queries against the alternc database (here, it's called "alternc"): ``` mysql alternc -e 'update sub_domaines set web_action = "OK" where type like "%-mixssl";' mysql alternc -e 'update sub_domaines set web_action = "OK" where type like "%-ssl";'
* Run alternc.install
* Start the cron service again: ```/etc/init.d/cron start```

## Developper information

* This software is built around a Debian package for Stretch whose packaging instructions are located in [debian/](debian/) folder (this package can be installed on Jessie safely too)
* To **build the packages**, clone this repository in a Debian machine and use `debuild` or `dpkg-buildpackage` from source code root.

* The web control panel pages written in PHP are located in [bureau/admin](bureau/admin) and the associated PHP classes doing the stuff are in [bureau/class](bureau/class).

## Nightly build

We have 1 nightly build repositories:
* stretch - [stable 3.5](http://stable-3-5.nightly.alternc.org/)

and 3 nightly from former Debian releases (now unmaintained) 
* jessie - [stable 3.3](http://stable-3-3.nightly.alternc.org/)
* wheezy - [stable 3.2](http://stable-3-2.nightly.alternc.org/)
* squeeze - [stable 3.1](http://stable-3-1.nightly.alternc.org/)

To use one of them, create a file named `/etc/apt/sources.list.d/alternc-nightly-stable-3.5.list` (for debian Jessie or Stretch) as follow :

deb http://stable-3-5.nightly.alternc.org/ latest/


The repository and the packages are signed by the pgp key of AlternC nightly build user :

wget http://stable-3-5.nightly.alternc.org/nightly.key -O - | apt-key add -


## License

AlternC is distributed under the GPL v2 or later license. See `COPYING`.

AlternC's translations (po files) are distributed under the [Creative Commons CC0 license](https://creativecommons.org/publicdomain/zero/1.0/). Don't participate to the translation if you don't agree to publish your translations under that license.