Gentoo Worker (x86)

From XtremWebCH Wiki

(Redirected from Gentoo Worker)
Jump to: navigation, search
Worker's information
Plateform x86
OS Gentoo
Version 1.3.12r3
URL
http://ewp.eig.ch/xw_gentoo_portage.tar.bz2


A Gentoo version of the worker is available to download at http://ewp.eig.ch/xw_gentoo_portage.tar.bz2. This version of the worker is a console only version.

Contents

Install

To install the gentoo version of the worker, just do the following

  1. Download the portage overlay for Gentoo at http://ewp.eig.ch/xw_gentoo_portage.tar.bz2.
  2. Uncompress the archive and add the portage overlay (using PORTDIR_OVERLAY in the file /etc/make.conf.
  3. Update the file /etc/portage/package.keywords to unmask the gentoo worker (by inserting net-p2p/xtremweb-client-gentoo)
  4. Just run emerge net-p2p/xtremweb-client-gentoo to install the client. This package will also install/create (if necessary)
    • Install a JVM (JDK)
    • Install some cronjob features
    • Create a user xtremwebclient.
    • Create a folder /var/run/xtremwebclient for the temporary data
    • Create a folder /opt/xtremwebclient for the application data

Usage

You can use /etc/init.d/xtremwebclient start to start the client and /etc/init.d/xtremwebclient stop to stop the client. It is possible to start at the boot the xtremweb client using rc-update add xtremwebclient default.

Configuration

The file /etc/conf.d/xtremwebclient contains the configuration for the worker.

The following lines describe a simply configuration file for xtremweb client on Gentoo

dispatcher_host=www.xtremwebch.net
dispatcher_port=4322
login=anonymous
password=anonymous
p2p_upload=0
p2p_download=0
p2p_thisrepositoryfile=7777
p2p_repositorymaxconnection=20
p2p_wanip=0
xwchname=GentooWorker
p2p_port=1099
selfupdate_enabled=true
selfupdate_url=http://www.xtremwebch.net/update-gentoo

On Gentoo it is not necessary to specify the memory, the speed or the local ip address of the computer. Theses informations are collected using /proc/meminfo, /proc/cpuinfo and /sbin/ifconfig.

Logs

All log files go into the /var/log/xtremwebclient/ folder.

Worker available
Gentoo   Linux    Window    MacOS X    Solaris
Worker for x86    Worker for x86    Worker for x86    Worker for x86  Worker for ppc    Worker for sparc  Worker for x86


Personal tools