We are in the process of migrating this forum. A new space will be available soon. We are sorry for the inconvenience.

installing torrentflux


Coxy69
11-04-2008, 01:47
ok

type

mkdir /home/Downloads/
chmod 777 /home/downloads/

steer flux to it via web admin settings

Takanta
11-04-2008, 01:28
Quote Originally Posted by krogothzero
Files stored in /home or sub folders are on sda2.
so do u think that just moving all the TF files from the sd1 to /home would work without me having to reinstall anything?

krogothzero
11-04-2008, 01:07
Files stored in /home or sub folders are on sda2.

Takanta
11-04-2008, 01:01
ok ive got it installed but i have a problem
and the problem is this


Filesystem Size Used Avail Use% Mounted on
/dev/sda2 2.9G 1.8G 1.1G 63% /



2.9GB space like wtf , at first it said sd1 then my friend tried to mount the other partition(sd2) onto sd1 but it says that it already is.

and linux is reporting

[root@ks355117 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 2.9G 1.1G 1.8G 38% /
/dev/sda2 144G 33M 137G 1% /home
/dev/shm 105M 0 105M 0% /dev/shm




how do i get torrentflux to sda2? to use the 137GB space? rather than using the sda1

Coxy69
10-04-2008, 17:36
I am more of a Fedora Core man tbh

However,

if you are running all the webserver properly [get the test page on your ip]
and mysql is running

navigate to /var/www/html/torrentflux/

then type nano config.php

put in your mysql details there

Job done

Takanta
09-04-2008, 15:34
arg i still cant do it .


would anyone be up for doing it for me? would be a great help

Coxy69
09-04-2008, 01:44
Quote Originally Posted by http://www.torrentflux.com/
For Fedora Core

[code]
# Install crap (php, httpd, mysql)
echo "Running yum to install some programs... Might take a while"
yum install httpd gcc yum php pwgen php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl imagemagick libxml2 libxml2-devel mysql mysql-server xinetd transmission uudeview

echo "Yum Done"

# Start Mysql
/etc/init.d/mysqld start > /dev/null

# Stop Iptables
/etc/init.d/iptables stop

/etc/init.d/xinetd start

/etc/init.d/httpd restart # Torrentflux
echo "Going to install torrentflux"
cd ~root/installs > /dev/null
wget http://www.torrentflux.com/torrentflux_2.3.tar.gz > /dev/null
tar xfz torrentflux_2.3.tar.gz > /dev/null
cd ~root/installs/torrentflux_2.3 > /dev/null

mysqladmin create torrentflux > /dev/null
mysql torrentflux < ~root/installs/torrentflux_2.3/sql/mysql_torrentflux.sql > /dev/null

# Generate a password for sql user
PASS=`pwgen -c -n -s 15 1`

echo "> ~root/installs/torrentflux_2.3/html/config.php
echo '$cfg["db_type"] = "mysql";' >> ~root/installs/torrentflux_2.3/html/config.php
echo '$cfg["db_host"] = "localhost";' >> ~root/installs/torrentflux_2.3/html/config.php
echo '$cfg["db_name"] = "torrentflux";' >> ~root/installs/torrentflux_2.3/html/config.php
echo '$cfg["db_user"] = "root";' >> ~root/installs/torrentflux_2.3/html/config.php
echo '$cfg["db_pass"] = "'passw0rd'";' >> ~root/installs/torrentflux_2.3/html/config.php
echo '?>' >> ~root/installs/torrentflux_2.3/html/config.php

mkdir /var/www/html/torrentflux
cp -r ~root/installs/torrentflux_2.3/html/* /var/www/html/torrentflux
chmod 777 /var/www/html/torrentflux/downloads/

# Set the mysql password to the first argument
mysqladmin -u root password passw0rd > /dev/null

# Restart mysql
echo "Restarting MySQL"
/etc/init.d/mysqld restart

# Restart xinetd
echo "Restarting Xinetd"
/etc/init.d/xinetd restart[code]
I presume its like most databases its all in the config file bud.

Takanta
08-04-2008, 17:57
damn i cant do it lol can anyone do it for me someone trustworthy and allows me to actually send a pm to them

Takanta
08-04-2008, 16:21
i will give it one more try then i might contact you

JALZOO
08-04-2008, 16:18
I can install for you assuming your web based control panel and ftp are all setup correctly?.

Pm me if you want me to.

Takanta
08-04-2008, 16:01
Hi i recently got a dedi server and have installed the linux "ready to use" OVH 64bit gentoo os,
but seem to have problems.


has anyone done or know how to install torrentflux or utorrent or anything like it onto this os? or even have a step by step guide on how to do it using ftp or putty,


update : i think the problem is something to do with the config file, would ii have to put my mysql details n pass into the config then create a database?