1. Tämä sivusto käyttää keksejä (cookie). Jatkamalla sivuston käyttämistä hyväksyt keksien käyttämisen. Lue lisää.

Torrentflux Linuxille

Viestiketju Linux -keskustelu -osiossa. Ketjun avasi Knoppix 08.01.2005.

  1. Knoppix

    Knoppix Member

    Liittynyt:
    29.12.2004
    Viestejä:
    22
    Kiitokset:
    0
    Pisteet:
    11
    1. Untar the package into a directory then copy the contents of
    the "html" folder into your web site directory.

    tar -zxvf torrentflux.tar.gz

    2. Create a database and load the torrentflux.sql script.

    mysqladmin create torrentflux

    "torrentflux.sql" contains the commands to build the table
    structure and the default data for the TorrentFlux. Run the
    script on your torrentflux database.

    mysql torrentflux < torrentflux.sql
    Or with PHPMyAdmin (web interface)

    3. Edit 'config.php' for database settings and TorrentFlux file
    path -- $cfg["path"]. Make sure the path is writable by the
    user ID that Apache runs under. Or just chmod 777 it. Read
    through the config.php file, there may be other options you may
    need or want to set.

    4. With version 1.4 and 1.5, you have the choice of using
    BitTorrent or BitTornado as the base client -- BitTornado is
    preferred. Select to use ONE of the following python scripts:

    Use: btphptornado.py -- for use with BitTornado Client
    in the TF_BitTornado directory
    Use: btphptorrent.py -- for use with BitTorrent Client
    in the TF_BitTorrent directory

    The fastest way to get running is to update your config.php
    file to use the btphp*.py files directly in their TF_BitTornado
    or TF_BitTorrent paths since all the client files are included
    in these directories -- no root installation required. Make
    sure all the sub directories and files in the TF_BitTornado or
    TF_BitTorrent remain intact. Make sure the *.py files are
    chmod'd +x so they can execute:

    chmod +x btphptornado.py
    chmod +x btshowmetainfo.py

    The config.php has two variables ($cfg["btphpbin"] and
    $cfg["btshowmetainfo"]) that need to be set to the python script
    that you have chosen. The following are examples of paths --
    (you may have the TF_BitTornado or TF_BitTorrent directory
    where ever you want just keep them intact):

    $cfg["btphpbin"] = "/usr/local/TF_BitTornado/btphptornado.py";
    $cfg["btshowmetainfo"] = "/usr/local/TF_BitTornado/btshowmetainfo.py";

    5. IMPORTANT: The first time you access the application, you
    will be prompted for a user/password -- this is when you will
    set the SUPER ADMIN user and password by what you enter. For
    example, you pull the site up for the first time, you will
    be prompted to login and if you put in user: 'goombah' and
    password: 'iama' then your super admin user account will
    be set to goombah/iama -- cool?

    Enjoy!
    Voisiko joku hieman selventää tosta kakkosesta eteenpäin ja mistä yleensä ton nettisivujen kansion löytää????
     
  2.  
  3. juppe22

    juppe22 Active member

    Liittynyt:
    28.05.2002
    Viestejä:
    2,660
    Kiitokset:
    0
    Pisteet:
    66
    -----------------------------------------------------------------
    System Requirements
    -----------------------------------------------------------------
    -- A Linux Box (http://www.linux.com) Installed and working
    properly. (tested on Debian, RedHat, Fedora, and others)
    +
    -- Apache Web Server (http://www.apache.org)

    -- PHP version 4.1.x or better (mod_php) Apache module
    (http://www.php.net)

    -- MySQL database server (http://www.mysql.com)

    -- Linux BitTornado (0.3.7 or Higher) or
    BitTorrent Client(3.3 - 3.4.2 +)

    Onhan sulla noi kaikki tarvittavat paketit asennettuna..??

    Se ns. "web site directory" pitäis löytyä tällasesta paikasta:
    /var/www/localhost/htdocs/
     
  4. Knoppix

    Knoppix Member

    Liittynyt:
    29.12.2004
    Viestejä:
    22
    Kiitokset:
    0
    Pisteet:
    11
    Ei, koska en löydä c++ ohjelmaa suse 9.1 i686 koneelle.Enkä g++.Googele ja rpm search antaa vain i586 versioon ja alaspäin, mutta ei varmaankaan toimi noi tässä i686dessa.
     
  5. juppe22

    juppe22 Active member

    Liittynyt:
    28.05.2002
    Viestejä:
    2,660
    Kiitokset:
    0
    Pisteet:
    66
    Miksi et asenna siinä susen mukana tulleita versioita...??
    Toimii ainakin helpoiten ja varmimmin...
     

Jaa tämä sivu