En:DebianInstall
Syl (Diskussion | Beiträge) K |
|||
| Zeile 1: | Zeile 1: | ||
{{interwikiDE|De:DebianInstall}} | {{interwikiDE|De:DebianInstall}} | ||
{{interwikiES|Es:Instalación en Debian}} | {{interwikiES|Es:Instalación en Debian}} | ||
| + | {{interwikiFR|Fr:DebianInstall}} | ||
= Installation of YaCy on Debian or Ubuntu = | = Installation of YaCy on Debian or Ubuntu = | ||
Version vom 4. März 2012, 02:55 Uhr
Von dieser Seite existiert auch eine deutsche Version.
There is an spanish version of this page.
Il y a une version française de cette page.
Installation of YaCy on Debian or Ubuntu
It is also possible to load packages using the update-server at:
http://debian.yacy.net
To use this server write to /etc/apt/sources.list:
deb http://debian.yacy.net ./
then you can install YaCy with
apt-get update apt-get install yacy
if you don't already have the Java JDK installed, you may find that you need to use this command instead (on Ubuntu 10.04 [Lucid], the yacy package version 1.0svn8138 does not pull in openjdk-6-jre appropriately as a dependency):
apt-get install yacy openjdk-6-jre
After the installation, the yacy application path is at
/usr/share/yacy
The DATA-path is at
/var/lib/yacy
When you have installed YaCy that way, YaCy is started automatically after a OS startup, and stopped before shutdown.
You can also start and stop YaCy from the command line with:
/etc/init.d/yacy stop /etc/init.d/yacy start /etc/init.d/yacy restart
The YaCy web server runs on port 8090 by default. The administration pages are at
http://localhost:8090/
but you can also set any other port for the interface using the administration pages of YaCy. A Port 80 is possible, but it is better to get access to this port using a Portforwarding.
When configured this way, the YaCy-internal auto-updater does not work. An automatic update must be done with OS tools. i.e. with a crontab command. An example for that is the following line, which you must write into /etc/crontab
0 6 * * * root apt-get update && apt-get -y --force-yes install yacy