Jump to content

Hey Guest,
Click HERE for a chance to win a free Seedbox!


Advanced Members
  • Content Count

  • Joined

  • Last visited

  • Days Won

  • Feedback

  • Points

    24,505 [ Donate ]

1 Follower

No followers

trihuutran last won the day on August 8 2016

trihuutran had the most liked content!

Community Reputation

330 Honored User

User Groups

About trihuutran

  • User Group: Advanced Members

  • Rank: Invite Taker

  • Post Count: 117

  • Post Ratio: 0.08

  • Total Rep: 330

  • Member Of The Days Won: 2

  • Joined: 07/04/2016

  • Been With Us For: 1459 Days

  • Last Activity:

  • Currently:

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

2,617 profile views
  1. do you interesting in bithumen, Bitspyder, MAM or BCG or ncore, freshontv, bitmetv,....
  2. ok, i know must have longtime to seed get point and be Vip-user i can wait if you wanna GA this invite many thanks!!
  3. hi, i apply for FileLists invite just looking for longtime many thanks great GA man!! i can provide some good proof, have seedbox
  4. Hey Y'all This Thread is about your favorite encoding group in any tracker and any genre.my Personal favorite encoders are from TTG, Known as Wiki in movies.Let me know what Encoding group u likeThanks
  5. As promised here isa tutorial for a Seedbox with Amazon Cloud Drive as a backend.I have done it intwo parts, Part 1 is seedbox setup from scratch. Part 2 is Amazon Cloud Drivesetup.If you dont need tosetup a seedbox from scratch skip to Part 2.This tutorial willstart from a fresh install of Linux. This was tested on a dedicated serverrunning Ubuntu Linux 14.04.3 hosted by Online.netA note on Amazoncloud drive mounting, you need to make sure that if your using a VPS it's notOpenVZ or the kernel module for FUSE is enabled by your host.Be sure to replace<<USERNAME>> with your account username without << >>Part 1 -Seedbox Installation.SSH into yourserver.Update linuxlibraries:sudoapt-get updatesudoapt-get upgradeInstall somerequired files:sudoapt-get install subversion build-essential automake libtool libcppunit-devlibcurl4-openssl-dev libsigc++-2.0-dev unzip unrar curl libncurses5-devsudoapt-get install apache2 php5 php5-cli php5-curlsudoapt-get install libapache2-mod-scgisudoapt-get install screen apache2-utilsWe need to createsome directories in our user directory for rtorrent:sudomkdir /home/<<USERNAME>>/rtorrentsudomkdir /home/<<USERNAME>>/rtorrent/.sessionsudomkdir /home/<<USERNAME>>/rtorrent/downloadssudomkdir /home/<<USERNAME>>/rtorrent/watchsudochmod 777 /home/<<USERNAME>>/rtorrent/.sessionsudochmod 777 /home/<<USERNAME>>/rtorrent/downloadsCreate an installdirectory for downloaded installation files:sudomkdir /installDownload and installxmlrpccd/installsudo svn co http://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/advanced xmlrpc-ccdxmlrpc-csudo./configure --disable-cplusplussudomakesudomake installDownload and installlibtorrentcd/installsudo wget http://rtorrent.net/downloads/libtorrent-0.13.6.tar.gzsudotar xvf libtorrent-0.13.6.tar.gzcdlibtorrent-0.13.6sudo./autogen.shsudo./configuresudomakesudomake installDownload and installrtorrentcd/installsudo wget http://rtorrent.net/downloads/rtorrent-0.9.6.tar.gzsudotar xvf rtorrent-0.9.6.tar.gzcdrtorrent-0.9.6sudo./autogen.shsudo./configure --with-xmlrpc-csudomakesudomake installsudoldconfigDownload and installruTorrentsudo wget https://bintray.com/artifact/download/novik65/generic/ruTorrent-3.7.zipsudounzip ruTorrent-3.7.zip -d rutorrentsudomv ruTorrent-master rutorrentsudomv rutorrent /var/www/htmlsudochown -R www-data:www-data /var/www/html/rutorrentSetup rtorrentconfig filescd/home/<<USERNAME>>/sudonano .rtorrent.rccopyin the following:# Directoriesdirectory = /home/<<USERNAME>>/rtorrent/downloadssession= /home/<<USERNAME>>/rtorrent/.session#rTorrentencryption= allow_incoming,try_outgoing,enable_retryschedule=watch_directory,5,5,"load_start=/home/<<USERNAME>>/rtorrent/watch/*.torrent"max_downloads_global= 0max_uploads_global= 0min_peers= 100max_peers= 300min_peers_seed= 100max_peers_seed= 300max_uploads= 350download_rate= 0upload_rate= 0check_hash= no#Networkscgi_port= UTF-8system.umask.set= 022port_range= <<YOURPORTRANGE>>port_random= nouse_udp_trackers= yesdht =disablepeer_exchange= nochange the<<USERNAME>> parts to your usernamechange port_range toa value of your choice.Create passwordprotection for ruTorrentsudohtpasswd -c /home/<USERNAME>/.htpasswd <USERNAME>You will be promptedfor a password remember what you choose as it will be used to login to thewebserver.Create SSLcertificate to protect webserver connectionssudoa2enmod sslsudoservice apache2 restartsudomkdir /etc/apache2/sslsudoopenssl req -x509 -nodes -days 9999 -newkey rsa:2048 -keyout/etc/apache2/ssl/apache.key -out /etc/apache2/ssl/apache.crtYou will be promptedfor some info, you can just press enter for some but the following areimportant.If you are usingonline.net like me the settings are:Country:FRProvince:Île-de-FranceCity: ParisCommonName: <SERVER IP ADDRESS HERE!!>Configure webserver(Apache) to force SSL and use our generated SSL Certificate.sudonano /etc/apache2/sites-available/000-default.conf Change so itcontains only:<VirtualHost*:80>ServerName<<SERVER IP HERE>>Redirect permanent / https://<<SERVER IP HERE>>/</VirtualHost>sudonano /etc/apache2/sites-available/default-ssl.confFind the followingand change to match:<VirtualHost<<SERVER IP>>:443>SSLEngineonSSLCertificateFile/etc/apache2/ssl/apache.crtSSLCertificateKeyFile/etc/apache2/ssl/apache.keyAnd add thefollowing just before the </VirtualHost> tag at the end of the file.<Directory/var/www/html/>Options-IndexesAllowOverrideALL</Directory><Location/>AuthName"Private"AuthTypeBasicAuthBasicProviderfileAuthUserFile/home/<<USERNAME>>/.htpasswdRequireuser <<USERNAME>></Location><Location/rutorrent>AuthName"Private"AuthTypeBasicAuthBasicProviderfileAuthUserFile/home/<<USERNAME>>/.htpasswdRequireuser <<USERNAME>></Location>SCGIMount/RPC2<Location/RPC2>AuthName"rTorrent secure access"AuthTypeBasicAuthBasicProviderfileAuthUserFile/home/<<USERNAME>>/.htpasswdRequireuser <<USERNAME>></Location>sudoservice apache2 restartsudoa2ensite default-sslsudoservice apache2 reloadsudoservice apache2 restartMake sure all filesand folders in our home directory belong to our user:sudochown -R <<USERNAME>>:<<USERNAME>>/home/<<USERNAME>>Start rtorrent usingscreen:screen-fa -d -m rtorrentYou should now beable to open a web browser and navigate to:https://<SERVERIP>/rutorrentand download/uploadtorrents.When prompted enteryour username and the password you chose.We need to configureSSH:sudonano /etc/ssh/sshd_configChangePort to something differentPermitRootLogin to noAddAllowUsers<<USERNAME>>AllowTcpForwardingyesRestart SSHsudoservices ssh restartNow lets setup anFTP Server so we can download/upload files, I use ProFTP but you can substitutefor another if you like.sudoapt-get install proftpdChoose Standalonewhen given the option.We need to configuresome options:sudonano /etc/proftpd/proftpd.confChangeServerName to name of your choice.Port to something else to minimize port scanning.DefaultRoot~/rtorrent/Add the following toend of file:<LimitLOGIN>AllowUser<USERNAME>DenyAll</Limit>Next edit/createthis file to enable SFTP capabilities:sudonano /etc/proftpd/conf.d/sftp.confAdd the following:<IfModulemod_sftp.c>SFTPEngineonPort<PORT OF CHOICE HERE>SFTPLog/var/log/proftpd/sftp.log#Configure both the RSA and DSA host keys, using the same host key#files that OpenSSH uses.SFTPHostKey/etc/ssh/ssh_host_rsa_keySFTPHostKey/etc/ssh/ssh_host_dsa_keySFTPAuthMethodspassword#SFTPAuthMethodspublickey#SFTPAuthorizedUserKeysfile:/etc/proftpd/authorized_keys/%u#Enable compressionSFTPCompressiondelayed</IfModule>Change PORT OFCHOICE, this is the port you will SFTP into.Restart ProFTP withnew configuration.sudoservice proftpd restartInstalling PlexMedia Center (OPTIONAL):cd/installwget https://downloads.plex.tv/plex-medi...xmediaserver_0. dpkg –iplexmediaserver_0. configure PLEXyou will need to connect to your server through SSH as a proxy.If you are usingwindows configure putty as follows:Host Name is yourservers IPPort is the Port youchose for SSH connectionsConnection Typeshould be SSHIn the Side menu youselect Connection -> SSH -> TunnelsMake source port6666Select Dynamic andAutoClick Open and loginto your sever with your username and password.Now download/openFirefoxPress Alt on yourkeyboard, select Tools -> Options.Select Advanced-> NetworkUnder Connectonsselect SettingsSelect Manual proxyconfigurationSOCKS Host =localhostPort = 6666And deletelocalhost, from “No Proxy for:”Close settings andnavigate to:localhost:32400/weband configure PLEX.PART 2 -Amazon cloud drive mounting.Amazon Cloud Drive.We need to installsome dependanciessudoapt-get updatesudoapt-get install python3-setuptools python3-appdirs python3-dateutilpython3-requests python3-sqlalchemysudoeasy_install3 -U pipsudoapt-get install gitInstall acd_cli:sudo pip3 install --upgrade git+https://github.com/yadayada/acd_cli.gitWe now runacd_clisyncThis will pop upsome info don't press anything for now and goto the following link:https://tensile-runway-92512.appspot.com/You log in with youramazon cloud details and it will generate a file called oauth_data which needsto be placed in the directory/home/<<USERNAME>>/.cache/acd_cliI copied it to thisdirectory by logging in via SFTP and uploading the file and then copying to thedirectory above.if you exitedacd_cli to copy the oauth_data file runacd_clisyncagain and if itend's with ...done your good to go.Now we need tocreate five directories in our home directory, Ill explain each one as wecreate themcd/home/<<USERNAME>>mkdiramazonmkdiramazon/.local-encmkdiramazon/local-encmkdiramazon/.cloud-encmkdiramazon/cloud-encmkdiramazon/sorted.local-enc <-will hold encrypted files ready to be uploaded to the cloudlocal-enc <-files copied here will be encrypted and end up in .local-enc.cloud-enc <-will be where amazon cloud encrypted files are mountedcloud-enc <- willbe where amazon cloud drive encrypted files are decrypted and readablesorted <- will bewhere cloud-enc and local-enc will be overlayed together so we can maintain thesame directory structure between pending uploads and existing cloud contentsLets install encfsand unionfs-fusesudoapt-get install unionfs-fuse encfsWe now need tocreate encyption keys for encfs:encfs/home/<<USERNAME>>/amazon/.local-enc/home/<<USERNAME>>/amazon/local-encUse the defaultsettings and enter a strong password, don't forget the password, without it youwill lose all your data.Unmount the drive wejust created:fusermount-u /home/<<USERNAME>>/amazon/local-encWe need to copy thefile containing all the encryption details out of the upload directory, MAKESURE YOU ALSO BACK THIS FILE UP OFF THE SERVER TOO.mv/home/<<USERNAME>>/amazon/.local-enc/.encfs6.xml/home/<<USERNAME>>/amazon/encfs.xmlWe need to remountand reference where we moved the encryption details too:ENCFS6_CONFIG='/home/<<USERNAME>>/amazon/encfs.xml'encfs /home/<<USERNAME>>/amazon/.local-enc/home/<<USERNAME>>/amazon/local-enc -o allow_otherWe now need to mountthe amazon cloud drive using acd_cli:acd_cli mount -ao/home/<<USERNAME>>/amazon/.cloud-enc/acd_cli syncNo we can mountencfs over acd_cli to decrypt the files on amazon cloud drive:ENCFS6_CONFIG='/home/<<USERNAME>>/amazon/encfs.xml'encfs /home/<<USERNAME>>/amazon/.cloud-enc/home/<<USERNAME>>/amazon/cloud-enc -o allow_otherEverything shouldnow be ready http://torrentinvites.org/0677CD33-D...F534BAEF68.pngacd_cli now hassupport to write directly to amazon cloud drive (you can copy directly tocloud-enc) however I dont recomend that just yet, Im waiting till acd_cli isout of beta.Instead to upload tothe cloud drive copy the files/folders you want to local-enc or sorted and theywill be encypted to .local-enc then run:acd_cliupload -x 2 --overwrite /home/<<USERNAME>>/amazon/.local-enc/* /-x 2 tells acd_clito use 2 connections--overwrite tellsacd_cli to overwrite files that have a different file size or timestampthe / at the endtells acd_cli to upload to the root directory of the cloud drive if you wish tochange this then append to the end.If you get anyerrors run the same command again to correct the errors.To give a consistentfile structure between local-enc and cloud-enc:unionfs-fuse-o cow/home/<<USERNAME>>/amazon/local-enc=RW:/home/<<USERNAME>>/amazon/cloud-enc=RO/home/<<USERNAME>>/amazon/sorted/ -o allow_otherNow the sorteddirectory will display both the local-enc and cloud-enc together. This is thedirectory that I give to Plex to catalogue.If you write to thesorted folder it will write to local-enc for upload. If you read from thesorted directory, it will check local-enc first and if the file doesnt existlocally it will read from cloud-enc.I have filebotcopy/rename files to /home/<<USERNAME>>/amazon/local-enc and thenupload from there.To delete files fromlocal disk once uploaded run:rm -rf/home/<<USERNAME>>/amazon/.local-enc/*You can createscripts to create automated processing, you can do alot with this setup, playaround with it.Have Fun!Just as a side note,if you use the cloud drive for a media server limit the amount of people youshare it with, you will be ok with a few friends and family, but huge amountsof traffic and amazon may notice and may disable your account.Credit to sources Ihave used:https://amc.ovh/2015/08/14/mounting-uploading-amazon-cloud-drive-encrypted.htmlhttps://amc.ovh/2015/08/15/uniting-encrypted-encfs-filesystems.htmlhttp://makeshift.ninja/index.php/20...media-server-w-amazon-unlimited-backend-pt-1/Check them out theygo into more detail than I have, I've added some things, and merged thingstogether.These sources havebeen majorly helpful to me as Im sure they will be to you.If I've missedanything or you spot something that needs correcting let me know
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.