PDA

View Full Version : ihostvps.com and VPS help !



predateur
01-02-2008, 09:43 PM
Hey guy's i just got my VPS server at ihostvps.com , and its my first time to try using server (and seedbox) how i control it? and how i install utorrent ,
thx

ps :

i got this
http://xx.xx.xxx.xx:0000 (http://74.62.155.33:7778/) my ip
Username: my user name
Password: my password

but when i try the ip adresse its dont work and says DNS error.

ifkstab
01-02-2008, 10:35 PM
depends on the os, with windows type the info in remote desktop with linux, use putty

predateur
01-02-2008, 10:54 PM
depends on the os, with windows type the info in remote desktop with linux, use putty

can i use this putty from windows xp and axx to the server?

jr56
01-03-2008, 08:24 AM
can i use this putty from windows xp and axx to the server?

Yes you can, get putty from here: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe

fstokebanget
01-04-2008, 09:16 AM
Hi,
Many ppl here come to ask me about how to install rtorrent on their seedbox. And predateur, as I promised to you, here I create this tutorial hope could bless you all, I've managed to use this on CentOS, maybe could work also on Fedora.

In this tutorial we'll install this package into the box :
pkg-config
openSSL
nCurses
libsigc++
libCurl
libTorrent and rTorrent
screen or dtach

That's all. Note that the whole process is relatively *very* long, depends on your seedbox processor.

Before you can connect to your seedbox you need either putty if you're on Windows, and terminal if you're on unix based machine include Mac OS X. Since I'm on Mac OS X I just launch the terminal and connect to the server using this command :

ssh xxx.xxx.xxx.xxx -l login_name

where : xxx.xxx.xxx.xxx = your seedbox IP address
login_name : usually as root

Now you're connected to your server. Ready? Follow these step by step instructions.

pkg-config

Let’s start by pkg-config, as it is needed for other softwares to check whether a library is installed or not. The installation is trivial and shouldn’t cause any difficulties.

# cd /tmp/
# wget http://pkgconfig.freedesktop.org/releases/pkg-config-0.22.tar.gz
# tar -zxvf pkg-config-0.22.tar.gz
# cd pkg-config-0.22
# ./configure
# make
# make install

openSSL

# wget http://www.openssl.org/source/openssl-0.9.8g.tar.gz
# tar -zxvf openssl-0.9.8g.tar.gz
# cd openssl-0.9.8g
# ./Configure gcc
# make
# make install

ncurses

A programming API to build text interfaces…

# wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
# tar -zxvf ncurses-5.6.tar.gz
# cd ncurses-5.6
# ./configure
# make
# make install

libsigc++

A C++ library…

# wget http://ftp.gnome.org/pub/GNOME/sources/libsigc++/2.0/libsigc++-2.0.17.tar.gz
# tar -zxvf libsigc++-2.0.17.tar.gz
# cd libsigc++-2.0.17
# ./configure
# make
# make install

libCurl

Library that provides URL transferts.

# wget http://curl.haxx.se/download/curl-7.16.4.tar.gz
# tar -zxvf curl-7.16.4.tar.gz
# cd curl-7.16.4
# ./configure
# make
# make install

if by some reason you can't connect to curl.haxx.se, just google for the files or go here and find the files : http://files.directadmin.com/services/customapache/

libTorrent

libTorrent is rTorrent’s engine.

do this first

export PKG_CONFIG_PATH=/usr/local/ssl/lib/pkgconfig/

Then grab libTorrent and compile it:

# wget http://libtorrent.rakshasa.no/downloads/libtorrent-0.11.9.tar.gz
# tar -zxvf libtorrent-0.11.9.tar.gz
# cd libtorrent-0.11.9
# ./configure
# make
# make install

rTorrent

Almost there.

# wget http://libtorrent.rakshasa.no/downloads/rtorrent-0.7.9.tar.gz
# tar -zxvf rtorrent-0.7.9.tar.gz
# cd rtorrent-0.7.9
# ./configure
# make
# make install


Now you can try to launch rtorrent. Type rtorrent.

dtach / screen

One thing a bit stupid now is that you can use rTorrent, but it terminates as soon as you close you terminal. Sure you can run it in the background in using rtorrent &, but then you can’t see the GUI anymore. The solution is a terminal multiplexer, which allows you to access multiple terminal sessions. That’s pretty good: you can start rTorrent from one computer with either dtach or screen, leave the session, and then get your window from another computer. Exactly what we need.

screen is better than dtach, but it's up to you.

if you want to install dtach, do this :

# wget http://jaist.dl.sourceforge.net/sourceforge/dtach/dtach-0.7.tar.gz
# ./configure
# make
# cp /tmp/dtach-0.7/dtach /bin/

Then you will use dtach and rtorrent this way:

dtach -c /tmp/socket-rtorrent rtorrent

to leave the session just hit Ctrl+\
to go back to your session type
dtach -A /tmp/socket-rtorrent rtorrent

if you want to install screen do this :

#yum install screen

after it's done, to start rtorrent type :
screen rtorrent

to leave the session hit Ctrl+a then press d
to go back to your session just type
screen -r


Sometimes you have a tracker that has no passkey, this often have to login from the location you want to leech/seed. If you use linux you probably have question about this, don't worry, it's easy, all you need to do is create a dynamic tunnel over SSH to your server. Once created, the dynamic tunnel would act as a SOCKS5 proxy allowing you to browse the web using your servers IP, many thanks to Fibre (http://filesharingtalk.com/vb3/members/fibre-182363), if you're a Windows user you could follow his quick tutorial here : http://filesharingtalk.com/vb3/p-hosting-ie-vps-connection-speed-post2497684/postcount17
If you're on Mac or Unix system, connect to your server using this additional option in command line :
ssh xxx.xxx.xxx.xxx -l login_name -D yyyyy
yyyyy : the port number you desire
the rest is the same as above

and from your browser, point the SOCKS Proxy to 127.0.0.1 with the same port number as you set in the ssh command the don't forget to bypass or set no proxy to localhost and 127.0.0.1

predateur
01-04-2008, 09:56 AM
fstokebanget , thx for the Tuto mate :)

NOLF
01-04-2008, 12:38 PM
Wow, that's a very amazing tutorial:)

Maybe I'll get a seedbox just because of that, hehe.

fstokebanget
01-04-2008, 01:48 PM
NOLF, you can PM me if you want to get a seedbox, I maybe could help you get the best one ;)

semugg
06-21-2008, 11:31 PM
Hello,

Well i am totally new to this scene and want to thank you for this great tutorial.

I have a linux vps (centos-5-i386-afull). But when i try to do ./configure for any package that I need to install i get:



checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.


I tried doing

yum install gcc
yum install gcc-c++
yum -y update
yum install kernel-devel

and various other things. But my problem isn't solved yet still getting no acceptable compiler in $PATH bla bla

forgive me if this is newb question but as i said, i can say I started getting into this tonight.

any help appreciated, thanks.

LoKaLiRi
06-22-2008, 03:29 AM
thanks for the tutorial

haydeno
06-22-2008, 03:59 AM
what kind of speds are you seeing

kross
06-22-2008, 08:40 AM
Hello,

Well i am totally new to this scene and want to thank you for this great tutorial.

I have a linux vps (centos-5-i386-afull). But when i try to do ./configure for any package that I need to install i get:



checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.
I tried doing

yum install gcc
yum install gcc-c++
yum -y update
yum install kernel-devel

and various other things. But my problem isn't solved yet still getting no acceptable compiler in $PATH bla bla

forgive me if this is newb question but as i said, i can say I started getting into this tonight.

any help appreciated, thanks.

Try to install "libc-dev" or "libc6-dev".
Under Debian, it fixes the problem. Don't know if it's the case for Fedora.