Tuesday, June 03, 2008

Ryan's In/Out Board

May isang tanong kasi sa partner forum namin ng Nitix, kung meron na daw bang nakapagpagana ng
ryansiob sa nitix since ito daw yung gusto ng client nya. sabi ko lang sa kanya, na yung ryansiob eh madali lang iinstall at yung customization ng program ay nangangailangan ng konting background sa linux at perl programming. medyo ininform ko din sya na since yung program eh walang database o text files driven, hindi maganda kung lalaki yung data nya.

mahalaga din na marunong kang maginstall ng NVS (nitix virtual server) sa nitix since dun pwedeng itakbo yung application.

pero kung ako yung tatanungin, masmagandang gumawa nalang ng maliit na version nito sa PHP since pag binasa mo yung info patungkol application eh nakapa liit lang naman.

Kung may mga gusto pa ding magpatakbo ng application na ito. eto yung mga steps sa pag iinstall sa kanilang linux (eto rin yung ni-share kong steps sa aming forum)

tatakbo ito sa CENTOS 5.0,FEDORA 7,8,9 at Nitix version 5 na may "NVS version 1.1"

yung mga information abaout ryaniob pwedeng makita dito sa URL na ito.
http://ryansiob.sourceforge.net/

kung nitix ang gagamitin, walang "make" ito kaya magandang ito na muna ang maiinstall.
using "YUM"

eto yung mga pagkasunod sunod ng mga command na ginawa ko para maiinstall yung application. madali lang sya yung IP address ng laruang nitix ko na ginamit dito ay 192.168.0.34

yum -y install make

download Date-EzDate-1.10.tar.gz
wget http://search.cpan.org/CPAN/authors/id/M/MI/MIKO/Date-EzDate-1.10.tar.gz

tar zxvf Date-EzDate-1.10.tar.gz
perl Makefile.PL
make;make install

download CGI.pm-3.37.tar.gz
wget http://search.cpan.org/CPAN/authors/id/L/LD/LDS/CGI.pm-3.37.tar.gz
tar zxvf CGI.pm-3.37.tar.gz
perl Makefile.PL
make;make install

yum -y install httpd
vi /etc/httpd/conf/httpd.conf
change Listen port to port 88

chkconfig --level 345 httpd on
service httpd restart

download ryansiob_2_3.tar.gz
wget http://jaist.dl.sourceforge.net/sourceforge/ryansiob/ryansiob_2_3.tar.gz
tar zxvf ryansiob_2_3.tar.gz

cd ryansiob_2_3
mkdir /var/www/cgi-bin/ryansiob/
cp ryansiob.* /var/www/cgi-bin/ryansiob/
chown apache:apache /var/www/cgi-bin/ -fR

mkdir /usr/local/ryansiob/
cp -fR * /usr/local/ryansiob/
chown apache:apache /usr/local/ryansiob/datafile
mkdir /var/www/html/images
cp envelope.gif /var/www/html/images/

vi /var/www/cgi-bin/ryansiob/ryansiob.config.pl
*change the following

$ryansiob::cgiurl = "http://192.168.0.34/cgi-bin/ryansiob/ryansiob.pl";
my $images = "http://192.168.0.34/images/envelope.gif";

then "SAVE"

vi /var/www/cgi-bin/ryansiob/ryansiob.pl
require "/var/www/cgi-bin/ryansiob/ryansiob.config.pl";

then "SAVE"

YOU CAN NOW ACCESS YOUR IO/OUT APPLICATION
http://192.168.0.34:88/cgi-bin/ryansiob/ryansiob.pl
my $images = "http://192.168.0.34/images/envelope.gif";

for other configuration options READ
https://sourceforge.net/docman/display_doc.php?docid=24764&group_id=119431
section 8.6-8.9

No comments: