sudo apt-get install apache2 libapache2-mod-scgi php5 php5-sqlite libxmlrpc-c3
2. enable scgi module in apache
sudo a2enmod scgi
# a2dismod is to disable
a2enmod is the command which automatically create symbolic links for module_name.conf and module_name.load under mods-enabled from mods-available
3. add the following line to /etc/apache2/httpd.conf
SCGIMount /RPC2 127.0.0.1:5000
4. download wtorrent from http://www.wtorrent-project.org/trac/ and extract
unzip wtorrent.zip
5. move wtorrent to root of your webserver and and create necessary directory for wtorrent
mv wtorrent/ /var/www/
6. make sure necessary directories of wtorrent exist, torrents/, db/, tpl_c/ and conf/
mkdir /var/www/wtorrent/tpl_c/
7. change permission for wtorrent read and write usage
chmod -R 777 /var/www/wtorrent/
8. open install.php in your browser
http://localhost/wtorrent/install.php
9. delete install.php after proper installation
rm /var/www/wtorrent/install.php
沒有留言:
張貼留言