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

From Funtoo
(Difference between pages)
Jump to navigation Jump to search
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}}
 
===Prerequisites===
*Install your web server {{package|www-servers/nginx}}, and get {{package|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 [[Package:Rtorrent#xml_rpc | rtorrent]] config.
*you must be running rtorrent, or rtorrentd.
 
===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;
 
        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:
{{console|body=###i## /etc/init.d/nginx restart}}


Point your browser to
Steam is a content delivery system for linux gaming.


http://127.0.0.1/rutorrent
== install part 1 ==
funtoo & gentoo have ebuilds in the gamerlay overlay. the steam-meta ebuild was removed.


or
<console>
###i## layman -a gamerlay
###i## layman -S
###i## emerge steam-launcher
</console>


http://localhost/rutorrent
== 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:


===Troubleshooting===
<console>###i## /usr/bin/steam</console>


====Errors====
the installer will prompt you with several questions, once done running the installer command will load the latest version of steam.
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=
== Troubleshooting ==
listen.owner = www-data
=== Text is corrupt or missing ===
listen.group = www-data
Steam makes heavy usage of the Arial font. A decent Arial font to use is ttf-liberation.
listen.mode = 0666
<console>
}}
# ##i##emerge liberation-fonts
# ##i##eselect fontconfig enable 60-liberation.conf
</console>


The just restart php-fpm:
=== 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.


{{console|body=###i## /etc/init.d/php-fpm restart}}
=== My screen in Dota 2 (and other Source games) is all red! ===
 
<console>
====Clock shows the incorrect time====
# ##i##echo 'media-libs/libtxc_dxtn abi_x86_32' >> /etc/portage/package.use
 
# ##i##emerge media-libs/libtxc_dxtn
If rutorrent's clock displays the incorrect time/timezone then it can be changed.
</console>
 
{{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.

root # layman -a gamerlay
root # layman -S
root # 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:

root # /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.

root # emerge liberation-fonts
root # 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.

user $ mkdir -p ~/backup
user $ mv ~/.local/share/Steam/steamapps ~/backup
user $ steam --reset
user $ 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!

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