Difference between pages "Steam" and "Package:Rutorrent"

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
 
m
 
Line 1: Line 1:
Steam is a content delivery system for linux gaming.
{{Ebuild
|Summary=ruTorrent is a front-end for the popular Bittorrent client rTorrent
|CatPkg=www-apps/rutorrent
|Homepage=http://code.google.com/p/rutorrent/
}}


== install part 1 ==
rutorrent is a front end to {{package|net-p2p/rtorrent}} and is designed to look like utorrent =D
funtoo & gentoo have ebuilds in the gamerlay overlay.  the steam-meta ebuild was removed.


<console>
{{console|body=###i## emerge www-apps/rutorrent}}
###i## layman -a gamerlay
###i## layman -S
###i## emerge steam-launcher
</console>


== install part 2 ==
===prereqs===
steam has its own internal package management system.  Portage will not track its files, or games installedthe ebuild simply pulls in the steam installer, to run the steam installer:
*Install your web server {{package|www-servers/nginx}}, and get {{package|dev-lang/php}} with the fpm use flag running firstnginx needs to be built with nginx_modules_http_scgi
*you must turn on scgi_pass in the {{package|net-p2p/rtorrent}} config.
*you must be running rtorrent, or rtorrentd.


<console>###i## /usr/bin/steam</console>
===configuration===
==== nginx config====
{{file|name=/etc/nginx/sites-available/localhost|lang=|desc=nginx configuration|body=
server {
listen 127.0.0.1:80;
server_name localhost;
access_log /var/log/nginx/localhost.access_log main;
error_log /var/log/nginx/localhost.error_log info;
root /var/www/localhost/htdocs;
index index.php index.cgi index.htm index.html;
autoindex on;


the installer will prompt you with several questions, once done running the installer command will load the latest version of steam.
        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
include fastcgi.conf;
                #fastcgi_pass unix:/var/run/php5-fpm.sock;
        }


== Troubleshooting ==
          location /rutorrent {
=== Steam segfaults after 2nd start! ===
              include scgi_params;
I do not know much about this behaviour, but I found a workaround.
              scgi_pass localhost:5000;
<console>
          }
$ ##i##mkdir -p ~/backup
}
$ ##i##mv ~/.local/share/Steam/steamapps ~/backup
}}
$ ##i##steam --reset
 
$ ##i##mv ~/backup ~/.local/share/Steam/steamapps
Restart nginx:
</console>
{{console|body=###i## /etc/init.d/nginx restart}}
It resets all the Steam settings (except that were in Steam Cloud), but does not delete games.
 
Point your browser to
 
http://127.0.0.1/rutorrent
 
or
 
http://localhost/rutorrent
 
{{PageNeedsUpdates}}
{{EbuildFooter}}

Revision as of 07:28, March 8, 2015

Rutorrent

   Tip

We welcome improvements to this page. To edit this page, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.


rutorrent is a front end to net-p2p/rtorrent and is designed to look like utorrent =D

root # emerge www-apps/rutorrent

prereqs

  • Install your web server www-servers/nginx, and get dev-lang/php with the fpm use flag running first. nginx needs to be built with nginx_modules_http_scgi
  • you must turn on scgi_pass in the net-p2p/rtorrent config.
  • you must be running rtorrent, or rtorrentd.

configuration

nginx config

   /etc/nginx/sites-available/localhost - nginx configuration
server {
	listen 127.0.0.1:80;
	server_name localhost;
	access_log /var/log/nginx/localhost.access_log main;
	error_log /var/log/nginx/localhost.error_log info;
	root /var/www/localhost/htdocs;
	index index.php index.cgi index.htm index.html;
	autoindex on;

        location ~ \.php$ {
                fastcgi_pass 127.0.0.1:9000;
		include fastcgi.conf;
                #fastcgi_pass unix:/var/run/php5-fpm.sock;
        }

           location /rutorrent {
               include scgi_params;
               scgi_pass localhost:5000;
           }
}

Restart nginx:

root # /etc/init.d/nginx restart

Point your browser to

http://127.0.0.1/rutorrent

or

http://localhost/rutorrent