From: Roland Häder Date: Sun, 26 Aug 2012 15:29:22 +0000 (+0000) Subject: Added very basic documentation for apt-proxy, other minor fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9ebd1c96e6e77b9431f7c778fc3908bc90518a84;p=hub.git Added very basic documentation for apt-proxy, other minor fixes --- diff --git a/application/hub/config.php b/application/hub/config.php index 3da10f2a4..a2af391d4 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -935,7 +935,7 @@ $cfg->setConfigEntry('web_cmd_home_resolver_class', 'WebCommandResolver'); $cfg->setConfigEntry('news_home_limit', 10); /////////////////////////////////////////////////////////////////////////////// -// Apt-Aproxy Configuration +// Apt-Proxy Configuration /////////////////////////////////////////////////////////////////////////////// // CFG: HUBCONSOLE-CMD-APT-PROXY-RESOLVER-CLASS diff --git a/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php b/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php index ec5acf445..a2c3cf4ca 100644 --- a/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php +++ b/application/hub/main/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php @@ -61,7 +61,7 @@ class AptProxyBootstrapGenericActivationFilter extends BaseAptProxyFilter implem $proxyInstance->enableIsActive(); // Debug message - self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: Apt-Proxy has been activated.'); + self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: apt-proxy has been activated.'); } } diff --git a/docs/README b/docs/README index 2a3b921a9..b54b6ea59 100644 --- a/docs/README +++ b/docs/README @@ -90,3 +90,19 @@ telnet localhost xxxxx After that you will be greeted and you are able to enter simple commands. Please do not try any 'interactive console' things like cursor key or so. This is (or will be) a very simple and basic telnet console. + +-------------------------------------------------------------------------------- +6.) How to start the apt-proxy and use it +-------------------------------------------------------------------------------- + +The apt-proxy is yet another test application for the node and shall provide a +proxy for sharing Debian packages over the node network. You can launch its +connector by invoking this command: + +php index.php app=hub command=apt-proxy + +If you do so, another port xxxxx will be opened which you can use in your deb +and deb-src lines: + +deb [arch=amd64,i386] http://localhost:xxxxx/ftp.de.debian.org/debian unstable main non-free contrib +deb-src [arch=amd64,i386] http://localhost:xxxxx/ftp.de.debian.org/debian unstable main non-free contrib