En:DebianInstall

Aus YaCyWiki

Wechseln zu: Navigation, Suche

Bild:flag-germany.gif Von dieser Seite existiert auch eine deutsche Version.

Installation of YaCy on Debian or Ubuntu

YaCy Pakages for debian are provided by f1ori at https://latestyacy.f1ori.de/. 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

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 8080 by default. The administration pages are at

http://localhost:8080/

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
Persönliche Werkzeuge