Set up PHproxy server on Raspberry PI

PHproxy
# PHproxy on raspberry pi
# tested on Soft-float Debian “wheezy” and standard Hard-float Raspbian “wheezy”
# NOTE youtube videos don’t play via this PHproxy
#
# Based upon these blogs
# http://lifehacker.com/5447726/install-phproxy-in-your-web-space-to-access-blocked-sites
# http://www.debian-administration.org/articles/391


sudo apt-get update
sudo apt-get install apache2 -y
sudo apt-get install php5 -y
sudo apt-get install php5-mysql php5-curl -y
sudo a2enmod php5
sudo /etc/init.d/apache2 start

# for info see http://sourceforge.net/projects/poxy/

cd /var/www
sudo mv /var/www/index.html /var/www/index_old.html
sudo wget http://downloads.sourceforge.net/project/poxy/PHProxy/0.5%20beta%202/poxy-0.5b2.zip
sudo unzip poxy-0.5b2.zip

# open web page
# if your connected to the same router as the Raspberry PI
# put in local IP address of PI e.g. 192.168.0.2
#
# As you know, to get to your PHproxy from the outside world
# you gotta do port forwarding and get a domain name or use
# IP address etc etc

# You can password protect the website if you want
http://www.debiantutorials.com/password-protecting-a-directory-with-apache-and-htaccess/

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s