You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
100 lines
5.9 KiB
100 lines
5.9 KiB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>YaCy '#[clientname]#': Basic Configuration</title>
|
|
#%env/templates/metas.template%#
|
|
<script type="text/javascript">
|
|
<!--
|
|
function element_clicked(element){
|
|
document.getElementById("key").value=element.id;
|
|
document.getElementById("value").value=element.value;
|
|
}
|
|
-->
|
|
</script>
|
|
<!-- redirecting browser if port was changed -->
|
|
#(reconnect)#::<meta http-equiv="refresh" content="10; url=#(sslSupport)#http::https#(/sslSupport)#://#[host]#:#[port]#/ConfigBasic.html" />#(/reconnect)#
|
|
</head>
|
|
<body id="ConfigBasic">
|
|
#%env/templates/header.template%#
|
|
#%env/templates/submenuConfig.template%#
|
|
<h2>Basic Configuration</h2>
|
|
<p>
|
|
Your YaCy Peer needs some basic information to operate properly
|
|
</p>
|
|
|
|
<form action="ConfigBasic.html" method="post" enctype="multipart/form-data">
|
|
<ol>
|
|
<li>
|
|
<img src="/env/grafics/ok.png" height="32" width="32" alt="ok" /> Select a language for the interface:<br />
|
|
<fieldset>
|
|
<input type="radio" name="language" id="lang_de" value="de" #(langDeutsch)#::checked="checked"#(/langDeutsch)# /><label for="lang_de">Deutsch</label>
|
|
<input type="radio" name="language" value="default" id="lang_en" #(langEnglish)#::checked="checked"#(/langEnglish)# /><label for="lang_en">English</label>
|
|
</fieldset>
|
|
</li>
|
|
<li>
|
|
#(statusPassword)#<img src="/env/grafics/bad.png" height="32" width="32" alt="warning" /> Please set a password for your peer to protect your settings (> 3 characters); if this is successful you will be asked to log in with these values immediately.::<img src="/env/grafics/ok.png" height="32" width="32" alt="ok" /> Password is set#(/statusPassword)#<br />
|
|
<fieldset>
|
|
<dl class="userConfig">
|
|
<dt><label for="adminuser">Peer User:</label></dt>
|
|
<dd><input type="text" name="adminuser" id="adminuser" value="#[defaultUser]#" size="16" maxlength="32" /></dd>
|
|
<dt><label for="adminpw1">New Peer Password:</label></dt>
|
|
<dd><input type="password" name="adminpw1" id="adminpw1" value="" size="16" maxlength="32" /></dd>
|
|
<dt><label for="adminpw2">Repeat Peer Password:</label></dt>
|
|
<dd><input type="password" name="adminpw2" id="adminpw2" value="" size="16" maxlength="32" /></dd>
|
|
</dl>
|
|
</fieldset>
|
|
</li>
|
|
<li>
|
|
#(statusName)#<img src="/env/grafics/bad.png" height="32" width="32" alt="warning" /> Your peer name has not been customized; please set your own peer name::<img src="/env/grafics/ok.png" height="32" width="32" alt="ok" /> You have a nice peer name#(/statusName)#<br />
|
|
<fieldset>
|
|
<dl>
|
|
<dt><label for="peername">Peer Name: </label></dt>
|
|
<dd>
|
|
<input type="text" name="peername" id="peername" value="#[defaultName]#" size="20" maxlength="32" />
|
|
</dd>
|
|
</dl>
|
|
</fieldset>
|
|
</li>
|
|
<li>
|
|
#(statusPort)#<img src="/env/grafics/bad.png" height="32" width="32" alt="warning" /> Your peer cannot be reached from outside (which is not fatal, but would be good for the YaCy network); please open your firewall for this port and/or set a virtual server option in your router to allow connections on this port.::<img src="/env/grafics/ok.png" height="32" width="32" alt="ok" /> Your peer can be reached by other peers#(/statusPort)#<br />
|
|
<fieldset>
|
|
<dl>
|
|
<dt><label for="port">Peer Port: </label></dt>
|
|
<dd>
|
|
<input type="text" name="port" id="port" value="#[defaultPort]#" size="5" maxlength="5" />
|
|
</dd>
|
|
#(upnp)#::<dt>
|
|
<label for="enableUpnp">Configure your router for YaCy: </label>
|
|
</dt>
|
|
<dd>
|
|
<input type="checkbox" name="enableUpnp" id="enableUpnp" align="top" #(enabled)#::checked="checked"#(/enabled)# />
|
|
</dd>#(/upnp)#
|
|
</dl>
|
|
</fieldset>
|
|
</li>
|
|
</ol>
|
|
<fieldset> <input type="submit" name="set" value="Set Configuration" /></fieldset>
|
|
</form>
|
|
|
|
<p><strong>What you should do next:</strong></p>
|
|
#(nextStep)#<!-- [0] -->
|
|
<p>Your basic configuration is complete! You can now (for example):</p>
|
|
<ul>
|
|
<li><a href="index.html">start an uncensored search</a>;</li>
|
|
<li><a href="CrawlStartSimple_p.html">start your own crawl</a> and contribute to the global index, or create your own private web index;</li>
|
|
<li><a href="ConfigProfile_p.html">set a personal peer profile</a> (optional settings);</li>
|
|
<li>just <a href="Network.html">monitor at the network page</a> what the other peers are doing</li>
|
|
</ul>::
|
|
<!-- [1]: password not proper -->
|
|
<p>You did not set a user name and/or a password. Some pages are protected by passwords. You should set a password here to secure your YaCy peer.</p>::
|
|
<!-- [2]: peername not proper -->
|
|
<p>Your Peer name is a default name; please set an individual peer name.</p>::
|
|
<!-- [3]: port not proper -->
|
|
<p>You did not open a port in your firewall or your router does not forward the server port to your peer. This is needed if you want to fully participate in the YaCy network. You can also use your peer without opening it, but this is not recomended.</p>::
|
|
<!-- [4]: reconnect to different port -->
|
|
<p>The peer port was changed successfully. Your browser will be redirected to the new <a href="#(sslSupport)#http::https#(/sslSupport)#://#[host]#:#[port]#/ConfigBasic.html">location</a> in 10 seconds.</p>
|
|
#(/nextStep)#
|
|
#%env/templates/footer.template%#
|
|
</body>
|
|
</html>
|