TRANSFAC Installation
- 서버 구성요건
Apache Web server (>= 1.2.x)
Perl Interpreter (>= 5.004)
- download file
- README.txt this files
- CHANGES.txt changes between the current and the previous release
- install.pl global installation script
- TFP_x.x_linux.tar.gz installation archive for Linux
- Installation
$ perl install.pl ######################################################################### # # Installation routine for TRANSFAC Professional 2008.2 # # Copyright (C), Biobase GmbH, 2000-2005 # ######################################################################### Please supply some necessary information to install TRANSFAC Professional at your site! In most cases, defaults are given in brackets <>, just hit RETURN to use these defaults. Some of the information needed can be found in the configuration file of your web-server (httpd.conf). You can always press "Ctrl C" to stop this installation routine. Hit "return" to continue; ----------------------------------------------------------------------- For running this script safely, you should be sure, that some tools run properly. You need the following commands: ----------------------------------------------------------------------- gunzip -c file_name.tar.gz > file_name.tar and ------------------------------------------------------------------- tar -xf file_name.tar ----------------------------------------------------------------------- You can always press "Ctrl C" to stop this installation routine. Hit "return" to continue; What is your PERL binary ? </usr/bin/perl> Your PERL binary is: /usr/bin/perl [y|n] ? <y> What is the hostname (or IP-Address) of your web server ? <dajeong.rda.go.kr> 192.168.1.211 Your hostname (or IP-Address) is: 192.168.1.211 [y|n] ? <y> What is the SERVER_ROOT directory of your web server? </usr/local/apache> /usr/lib Your SERVER_ROOT directory is in: /usr/lib [y|n] ? <y> What is the CGI-BIN directory of your web server? </usr/lib/cgi-bin> The CGI-BIN directory of your web server is: /usr/lib/cgi-bin [y|n] ? <y> What shall the TRANSFAC cgi-bin subdirectory be ? </usr/lib/cgi-bin/biobase/transfac/2008.2> Your TRANSFAC cgi-bin subdirectory is: /usr/lib/cgi-bin/biobase/transfac/2008.2 [y|n] ? <y> What will be your cgi-bin URL path to the database ? </cgi-bin/biobase/transfac/2008.2> Your TRANSFAC cgi-bin URL path is: /cgi-bin/biobase/transfac/2008.2 [y|n] ? <y> What is the HTDOCS directory of your web server? </var/www> Your HTDOCS directory is in: /var/www [y|n] ? <y> What shall the TRANSFAC document directory be ? </var/www/biobase/transfac/2008.2> Your TRANSFAC document directory is: /var/www/biobase/transfac/2008.2 [y|n] ? <y> What will be your URL path to the database ? </biobase/transfac/2008.2> Your TRANSFAC document URL path is: /biobase/transfac/2008.2 [y|n] ? <y> ------------------------------------------------
- User Authentication
- host (IP address) 등록
$cd /usr/lib/cgi-bin/biobase/transfac/2008.2/etc/conf root:/usr/lib/cgi-bin/biobase/transfac/2008.2/etc/conf # vi hosts.list 192.168.1.211 127.0.0.2 192.168.1.207
- user 등록
$cd /usr/lib/cgi-bin/biobase/transfac/2008.2/bin $htpasswd2 user.list [userID] $etc/init.d/apache2 restart
- User Authentication
$vi /etc/apache2/sites-available/default # changing of "None" to "AuthoConfig" at ScriptAlias---------------- ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ AllowOverride None => AllowOverride AuthConfig ----------------------------------------------------------------------------------------------









