http://pool.wiki.guifi.net/w/index.php?title=Cloudy_web_UI&feed=atom&action=historyCloudy web UI - Revision history2024-03-29T07:28:15ZRevision history for this page on the wikiMediaWiki 1.22.0http://pool.wiki.guifi.net/w/index.php?title=Cloudy_web_UI&diff=3620&oldid=prevAl: 1 revision: Importing all articles from english wiki2015-07-22T22:58:10Z<p>1 revision: Importing all articles from english wiki</p>
<table class='diff diff-contentalign-left'>
<tr style='vertical-align: top;'>
<td colspan='1' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='1' style="background-color: white; color:black; text-align: center;">Revision as of 22:58, 22 July 2015</td>
</tr><tr><td colspan='2' style='text-align: center;'><div class="mw-diff-empty">(No difference)</div>
</td></tr></table>Alhttp://pool.wiki.guifi.net/w/index.php?title=Cloudy_web_UI&diff=3619&oldid=prevConxuro: Created page with " == Introduction == The Cloudy web User Interface (UI) uses an application called cDistro <ref name="cdistro">cDistro git repository: http://dev.cloudy.community/Guifi.net/we..."2015-05-12T19:12:08Z<p>Created page with " == Introduction == The Cloudy web User Interface (UI) uses an application called cDistro <ref name="cdistro">cDistro git repository: http://dev.cloudy.community/Guifi.net/we..."</p>
<p><b>New page</b></p><div><br />
== Introduction ==<br />
<br />
The Cloudy web User Interface (UI) uses an application called cDistro <ref name="cdistro">cDistro git repository: http://dev.cloudy.community/Guifi.net/web-interface</ref>.<br />
<br />
''(Add what it is)''<br />
<br />
<br />
<br />
== Configuration ==<br />
<br />
The cDistro configuration is placed in /etc/cdistro.conf<br />
<br />
By default it has the following format:<br />
<br />
#cdistro config<br />
SERVER="/usr/bin/php"<br />
OPTS=""<br />
BINDIP="0.0.0.0"<br />
PORT="7000"<br />
DOCROOT="/var/local/cDistro"<br />
# SSHAUTH=1 <- check user with ssh2 connection http://www.php.net/manual/en/function.ssh2-auth-password.php (Require: libssh2-php)<br />
SSHAUTH=1<br />
# LOGIN="root"<br />
## PASSWORD = md5(md5('secret')) => php -r 'echo md5(md5("secret"))."\n";'<br />
#PASSWORD="7022cd14c42ff272619d6beacdc9ffde"<br />
PORT_SSL=7443<br />
<br />
<br />
=== SERVER ===<br />
<br />
The path of the PHP executable.<br />
<br />
'''Example:'''<br />
<br />
* "/usr/bin/php" - in the case of Cloudy (Debian).<br />
<br />
<br />
=== OPTS ===<br />
<br />
PHP options.<br />
<br />
''(Add references or more info and an example)''<br />
<br />
<br />
=== BINDIP ===<br />
<br />
The IP address where the service will be listening.<br />
<br />
'''Example:'''<br />
<br />
* "127.0.0.1" - will accept only petitions from localhost.<br />
* "0.0.0.0" - will accept petitions from any address.<br />
<br />
<br />
=== PORT ===<br />
<br />
The port opened by the service to listen to requests.<br />
<br />
'''Example:'''<br />
<br />
* "7000" - opens the port 7000.<br />
<br />
<br />
=== DOCROOT ===<br />
<br />
The path of the cDistro application.<br />
<br />
'''Example:'''<br />
<br />
* "/var/local/cDistro" - in the case of Cloudy.<br />
<br />
<br />
=== SSLAUTH ===<br />
<br />
Parameter that allows authentication via SSH2 in the application, i.e., to use the credentials that the SSH server of the system allows.<br />
<br />
Can be 0 or 1.<br />
<br />
'''Example:'''<br />
<br />
* "1" - actives this option.<br />
* "0" - disables this option (will require to define user and password).<br />
<br />
<br />
=== LOGIN ===<br />
<br />
The username to authenticate against the application.<br />
<br />
Should be a string without spaces.<br />
<br />
'''Example:'''<br />
<br />
* "cloudy" - this user can log-in with the password of PASSWORD.<br />
<br />
<br />
=== PASSWORD ===<br />
<br />
The password of the user defined in LOGIN.<br />
<br />
Should be a hash over a hash MD5 (hexadecimal), i.e., a hash of the password hash: md5(md5("PASSWORD")).<br />
<br />
<br />
'''Example:'''<br />
<br />
* "46d934e0f59ff1e2272f9f5f7950e5d9" - the hash of the string "PASSWORD".<br />
<br />
'''Examples of how to generate that hash in a terminal:'''<br />
<br />
$ php -r 'echo md5(md5("PASSWORD"))."\n";'<br />
46d934e0f59ff1e2272f9f5f7950e5d9<br />
$ printf "PASSWORD" | md5sum | awk '{printf $1}' | md5sum | awk '{print $1}'<br />
46d934e0f59ff1e2272f9f5f7950e5d9<br />
<br />
<br />
=== PORT_SSL ===<br />
<br />
Port that Cloudy will use in the web interface with HTTPS (if SSL is enabled).<br />
<br />
'''Example:'''<br />
<br />
* "7443" - access to the web interface in https://IP_SERVIDOR:7443.<br />
<br />
<br />
<br />
== References ==<br />
<br />
<references/><br />
<br />
<br />
<br />
<br />
[[Category:Cloudy]]</div>Conxuro