Install TorrentFlux On VPS CentOS 5.32 bit

Bahan-bahan :

1. VPS ( gk perlu mahal yg penting RAM besar min.512MB )

2. RAM 512 Burst 1 GB

3. Putty

4. Sedikit pengetahuan linux

5. Kopi+rokok :D

Setelah VPS terinstall CentOS 5 32 bit ( saya pake OS ini) mari kita mulai langkah2 berikut ini

yum update
yum install httpd python php mysql-server php-mysql php-common php-gd php-curl

RESTART Apache
/etc/init.d/httpd restart

CREATING MYSQL USER

mysql_install_db

Membuat APACHE dan MySQL autostartup pada saat VPS di reboot

APACHE
chkconfig --levels 235 httpd on

MySQL

chkconfig --levels 235 mysqld on

Restart Mysqld

/etc/init.d/mysqld restart
mysqladmin -u root password PASSWORDANDA

Membuat folder untuk download torrent flux
mkdir /var/www/html/torrentflux

Download torrent flux dari sourforge dengan command

cd /var/www/html/torrentflux/
wget http://softlayer.dl.sourceforge.net/sourceforge/torrentflux/torrentflux_2.4.tar.gz

Uncompress hasil download tadi
tar -xzf torrentflux_2.4.tar.gz

Memindahkan file2 torrent flux ke folder yang sudah kita buat tadi

mv torrentflux_2.4/html/* /var/www/html/torrentflux/

Sekarang kita akan create database

cd /var/www/html/torrentflux/torrentflux_2.4/sql/
mysql -u root -p
Password: PASSWORDANDA
mysql>create database torrentflux;
mysql>\q
mysql torrentflux < mysql_torrentflux.sql -u root -p
Password: PASSWORDANDA

Sekarang kita akan membuat folder utk tempat menyimpan hasil download

mkdir /downloadz (can put anything u need)
chmod 777 /downloadz
chown apache.apache /downloadz

Edit file config.php dari torrentflux

nano /var/www/html/torrentflux/config.php
/**************************************************************************/
// YOUR DATABASE CONNECTION INFORMATION
/**************************************************************************/
// Check the adodb/drivers/ directory for support for your database
// you may choose from many (mysql is the default)
$cfg["db_type"] = "mysql";     // mysql, postgres7, postgres8 view adodb/drivers/
$cfg["db_host"] = "localhost";   // DB host computer name or IP
$cfg["db_name"] = "torrentflux"; // Name of the Database
$cfg["db_user"] = "root";        // username for your MySQL database
$cfg["db_pass"] = "YOUR PASS";    // password for database
/**************************************************************************/

Lalu tekan tombol control+x dan save atau Y

Untuk segi keamanan
chmod -R 755 /var/www/
chown -R apache.apache /var/www/

Restart APACHE dan MySQL

/etc/init.d/httpd restart
/etc/init.d/mysqld restart

Instalasi sudah selesai dan anda bisa melihat hasilnya di http://IPVPSANDA/TORRENTFLUX

Untuk login pertama kali gunakan

user:goombah
pass:iamah

Silahkan di ganti dari menu admin

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.