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

(Difference between pages)
m (fix link to rtorrent configuration setting)
 
(Text is corrupt or missing)
 
Line 1: Line 1:
{{Ebuild
+
{{PageNeedsUpdates}}
|Summary=ruTorrent is a front-end for the popular Bittorrent client rTorrent
+
|CatPkg=www-apps/rutorrent
+
|Homepage=http://code.google.com/p/rutorrent/
+
}}
+
rutorrent is a front end to {{package|net-p2p/rtorrent}} and is designed to look like utorrent =D
+
  
{{console|body=###i## emerge www-apps/rutorrent}}
+
Steam is a content delivery system for linux gaming.
  
===Prerequisites===
+
== install part 1 ==
*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
+
funtoo & gentoo have ebuilds in the gamerlay overlay.  the steam-meta ebuild was removed.
*you must turn on scgi_pass in the [[Package:Rtorrent#xml_rpc | rtorrent]] config.
+
*you must be running rtorrent, or rtorrentd.
+
  
===Configuration===
+
<console>
==== nginx config====
+
###i## layman -a gamerlay
{{file|name=/etc/nginx/sites-available/localhost|lang=|desc=nginx configuration|body=
+
###i## layman -S
server {
+
###i## emerge steam-launcher
listen 127.0.0.1:80;
+
</console>
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$ {
+
== install part 2 ==
                fastcgi_pass 127.0.0.1:9000;
+
steam has its own internal package management system. Portage will not track its files, or games installed. the ebuild simply pulls in the steam installer, to run the steam installer:
include fastcgi.conf;
+
                #fastcgi_pass unix:/var/run/php5-fpm.sock;
+
        }
+
  
          location /rutorrent {
+
<console>###i## /usr/bin/steam</console>
              include scgi_params;
+
              scgi_pass localhost:5000;
+
          }
+
}
+
}}
+
  
Restart nginx:
+
the installer will prompt you with several questions, once done running the installer command will load the latest version of steam.
{{console|body=###i## /etc/init.d/nginx restart}}
+
  
Point your browser to
+
== Troubleshooting ==
 +
=== Text is corrupt or missing ===
 +
Steam makes heavy usage of the Arial font. A decent Arial font to use is ttf-liberation.
 +
<console>
 +
# ##i##emerge liberation-fonts
 +
# ##i##eselect fontconfig enable 60-liberation.conf
 +
</console>
  
http://127.0.0.1/rutorrent
+
=== Steam segfaults after 2nd start! ===
 +
I do not know much about this behaviour, but I found a workaround.
 +
If you saved your password, you need to backup all your games and reset Steam.
 +
<console>
 +
$ ##i##mkdir -p ~/backup
 +
$ ##i##mv ~/.local/share/Steam/steamapps ~/backup
 +
$ ##i##steam --reset
 +
$ ##i##mv ~/backup ~/.local/share/Steam/steamapps
 +
</console>
 +
Start Steam again, enter username and password, but do not check "Remember my password", it is the thing that causes all the troubles. You will need to enter password every time you start Steam, but that is the only solution I found.
  
or
+
=== My screen in Dota 2 (and other Source games) is all red! ===
 
+
<console>
http://localhost/rutorrent
+
# ##i##echo 'media-libs/libtxc_dxtn abi_x86_32' >> /etc/portage/package.use
 
+
# ##i##emerge media-libs/libtxc_dxtn
===Troubleshooting===
+
</console>
 
+
====Errors====
+
If you are able to open the rutorrent web interface but receive errors such as '''Bad response from server: (502 [error,getplugins])''' then edit and change/uncomment the following:
+
 
+
{{file|name=/etc/php/fpm-php5.5/php-fpm.conf |lang=|desc=|body=
+
listen.owner = www-data
+
listen.group = www-data
+
listen.mode = 0666
+
}}
+
 
+
The just restart php-fpm:
+
 
+
{{console|body=###i## /etc/init.d/php-fpm restart}}
+
 
+
====Clock shows the incorrect time====
+
 
+
If rutorrent's clock displays the incorrect time/timezone then it can be changed.
+
 
+
{{file|name=/etc/php/fpm-php5.5/php.ini |lang=|desc=|body=
+
date.timezone = "Europe/Athens"
+
}}
+
 
+
A full list of supported timezones can be found at http://php.net/manual/en/timezones.php
+
 
+
==== 502 ====
+
502 Bad Gateway is caused by nginx being started and php-fpm not being started.
+
 
+
 
+
{{PageNeedsUpdates}}
+
{{EbuildFooter}}
+

Revision as of 23:27, March 13, 2015


Steam is a content delivery system for linux gaming.

install part 1

funtoo & gentoo have ebuilds in the gamerlay overlay. the steam-meta ebuild was removed.

# layman -a gamerlay
# layman -S
# emerge steam-launcher

install part 2

steam has its own internal package management system. Portage will not track its files, or games installed. the ebuild simply pulls in the steam installer, to run the steam installer:

# /usr/bin/steam

the installer will prompt you with several questions, once done running the installer command will load the latest version of steam.

Troubleshooting

Text is corrupt or missing

Steam makes heavy usage of the Arial font. A decent Arial font to use is ttf-liberation.

# emerge liberation-fonts
# eselect fontconfig enable 60-liberation.conf

Steam segfaults after 2nd start!

I do not know much about this behaviour, but I found a workaround. If you saved your password, you need to backup all your games and reset Steam.

$ mkdir -p ~/backup
$ mv ~/.local/share/Steam/steamapps ~/backup
$ steam --reset
$ mv ~/backup ~/.local/share/Steam/steamapps

Start Steam again, enter username and password, but do not check "Remember my password", it is the thing that causes all the troubles. You will need to enter password every time you start Steam, but that is the only solution I found.

My screen in Dota 2 (and other Source games) is all red!

# echo 'media-libs/libtxc_dxtn abi_x86_32' >> /etc/portage/package.use
# emerge media-libs/libtxc_dxtn