Comments

26 Juli 2012

Install TinyProxy on Centos

Posted by at 07.16 Read our previous post
Well, Most commont users get this message "No package tinyproxy available" When trying install tinyproxy use command "yum install tinyproxy"

Like when I try before on Centos VPS:
[root@vps ~]# yum install tinyproxy
Loaded plugins: downloadonly, fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirrorcatalogs.com
 * extras: mirrors.tummy.com
 * updates: mirror.team-cymru.org
base                                                     | 1.1 kB     00:00
extras                                                   | 2.1 kB     00:00
hgdedi                                                   | 1.2 kB     00:00
updates                                                  | 1.9 kB     00:00
Setting up Install Process
No package tinyproxy available.
Nothing to do

Its because repository not listed on our Centos repository.

Then we must do it:

wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testin
g/i386/RPMS/tinyproxy-1.8.2-1.el5.kb.3.i386.rpm

Will get result like this:

[root@vps ~]# wget ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/testin
g/i386/RPMS/tinyproxy-1.8.2-1.el5.kb.3.i386.rpm
--2012-07-24 18:34:32--  ftp://ftp.pbone.net/mirror/centos.karan.org/el5/extras/
testing/i386/RPMS/tinyproxy-1.8.2-1.el5.kb.3.i386.rpm
           => `tinyproxy-1.8.2-1.el5.kb.3.i386.rpm'
Resolving ftp.pbone.net... 85.14.85.4
Connecting to ftp.pbone.net|85.14.85.4|:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /mirror/centos.karan.org/el5/extras/testing/i386/R
PMS ... done.
==> SIZE tinyproxy-1.8.2-1.el5.kb.3.i386.rpm ... 62139
==> PASV ... done.    ==> RETR tinyproxy-1.8.2-1.el5.kb.3.i386.rpm ... done.
Length: 62139 (61K)

100%[======================================>] 62,139       107K/s   in 0.6s

2012-07-24 18:34:35 (107 KB/s) - `tinyproxy-1.8.2-1.el5.kb.3.i386.rpm' saved [62
139]

Then install the downloaded package using this command:

rpm -ivh tinyproxy-1.8.2-1.el5.kb.3.i386.rpm

[root@vps ~]# rpm -ivh tinyproxy-1.8.2-1.el5.kb.3.i386.rpm
Preparing...                ########################################### [100%]
   1:tinyproxy              ########################################### [100%]


Now we already get tinyproxy installed on our Centos OS.

Start service tinyproxy like this:

[root@vps ~]# tinyproxy
[root@vps ~]# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        Ss     0:00 init [3]
 1132 ?        S
then I check using PS AX and its successfull running.
this default open port on 8888
Supported by Android App Download! ©2012 Ramnul All Content Copyrighted and may not reproduced on other website