Показаны сообщения с ярлыком p2p. Показать все сообщения
Показаны сообщения с ярлыком p2p. Показать все сообщения

среда, 2 января 2013 г.

PtokaX для Linux

http://dchublist.ru/forum/viewtopic.php?f=10&t=76&start=0

Запуск и останов сервиса:
sudo ./PtokaX start
sudo ./PtokaX stop
(из папки с птокой)
 
Сюда же до кучи, запуск и останов аналога - Rushub'a (страница проекта - http://rushub.org):
sudo service rushub start 
sudo service rushub stop
 
Дополнительная функциональность PtokaX обеспечивается скриптами на языке Lua. Для дебиана (и убунты) устанавливается командой:
apt-get install liblua5.1-0-dev lua5.1
после чего чожно сразу войти в интерпретатор:
env lua
 
Скрипты можно поискать на http://mydc.ru
 
 
 
  

Setting up a DC Hub (DBHub)

This is the setup process I follow to setup a DC++ Hub, which I use for Adam Internet’s Community Net.

I use DBHub (http://www.dbhub.org/) for the Hub software.

The system this process works on:
Linux Ubuntu 2.6.28-11-generic (mythubuntu)
Perl v5.10.0

I have included a modified configure file because as of Perl 5.10 DynaLoader is no longer in DynaLoader.a but is now included in libperl.a.

*So if you receive an error like (DynaLoader.a not found, then use my modified configure file).

First install the needed dependencies:
sudo apt-get install build-essential libperl-dev

Download the needed files:
wget http://internode.dl.sourceforge.net/project/dbhub/DB%20Hub/0.451/dbhub-0.451.tgz
wget http://allintech.info/wp-content/uploads/dbhub/configure-0.451

Run the following commands to configure and compile DBHub with Perl scripting support
tar -zxf dbhub-0.451.tgz
cd dbhub-0.451
cp ../configure-0.451 configure
./configure --enable-perl
make
make install

when you first run dbhub it will setup the config file, so make sure you ran it as the user you want to run the hub. i.e if I use the root user to run the command then the config will be stored in /root/.dbhub
/usr/local/bin/dbhub

Enter in a port to listen on (411)
Set a Username and Password for the owner user.

DBHub will now be running and listening for connections.

Взято:
http://www.allmyit.com.au/setting-up-a-dc-hub-dbhub

DC Hub

Open DC Hub supports all the main features of the Direct Connect protocol. Some examples are:

  • Searching for files
  • Connecting to users, both in active and passive mode
  • Messaging in open chat
  • Private messaging
  • Registering users
  • Kicking users (for OP:s)
  • Banning users (for Admins)
  • Uploading hub address and description to public hub list
  • Hublinking, which makes it possible to search on other hubs connected to the network
  • Administration of the hub from chat
  • Scripting (In Perl)

The hub is run as a daemon, i.e, it runs in the background. It's administrated through a tcp connection, for example with telnet, which makes it possible to administer remotely, given that the user has the administration password. It's also possible to administer the hub directly from the chat in Direct Connect.
The software should run on all POSIX compliant operating systems, but the main testing has so far been done on GNU/Linux-x86 and Solaris-Ultrasparc. Please tell me if you fail or succeed in running it on other platforms.


The latest version of Open DC Hub can be downloaded here: 
http://prdownloads.sourceforge.net/opendchub/opendchub-0.7.16.tar.gz

Взято:
http://opendchub.sourceforge.net/