Installation Guide Dr. GPS Raghava and the MycoTB team May 13

advertisement
INSTITUTE OF MICROBIAL TECHNOLOGY
BIOINFORMATICS CENTRE
DR. G.P.S RAGHAVA LAB
www.imtech.res.in/raghava/
Mycobacterium Tuberculosis Database
Management Software (MycoTB)
Installation Guide
Dr. G.P.S Raghava and the MycoTB team
May 13, 2010
i
Contents
1.
System Requirement and Instruction ............................................................................... 1
1.1
Requirement .................................................................................................................... 1
1.1.1 Operating system .......................................................................................................... 1
1.1.2 Software Requirement .................................................................................................. 1
1.1.3 Hardware Requirement ................................................................................................. 1
1.2
Instruction........................................................................................................................ 1
1.2.1
Wamp Server Installation ........................................................................................ 1
1.2.1
MycoTB Database Software Installation ................................................................. 7
ii
1. System Requirement and Instruction
1.1 Requirement
1.1.1 Operating system
MycoTB is a windows-based package. It has been installed successfully on the
Windows Operating systems. It has been tested successfully on Windows XP SP2,
Windows Vista and Windows 7.
1.1.2 Software Requirement
Dot Net Framework is required for installation.
Wamp version 2.0 or Mysql version 5.x is required for proper functioning.
1.1.3 Hardware Requirement
Intel Pentium III 933 MHz or 1.0 GHz capable processor.
A Minimum of 350 MB free space requirement.
A Minimum of 128 Mb of RAM
This Software is best display on the 1024 by 768 pixels screen resolution.
1.2 Instruction
It’s better to have either wamp or mysql on the system. At first you must install dot net
and afterwards install wamp or mysql. Now install MycoTB software.
1.2.1 Wamp Server Installation
The great thing about WampServer is it makes our job easier by installing Apache
server, MySQL database and PHP all at the same time. Don’t worry about installing.
a) When Wamp server has downloaded from above URL. Run the setup process by
double clicking the downloaded WampServer2.0i.exe file. Click on the “Next”
button.
1
b) If you accept the License Agreement. Select the “I accept the agreement” and click
on “Next” button.
c) The default path for Wamp Server is “C:\wamp”. You can change it if you want by
clicking the “Browse” button but I do suggest you leave this in the default setting
and press “Next“.
2
d) Press the “Next” button.
3
e) Click on “Install” button to begin with the installation.
f) A popup box will appear and ask you to choose your default browser. Please choose
your default browser to which the wamp server will be associated. I do suggest that
you use Mozilla Firefox as there are so many plugins that you can add to this
browser to make your programming world become more interesting and efficient.
Click “Yes” to continue.
4
g) “Unblock” the Windows Security Alert if it asks you. Just leave the default values
as such for the “PHP Mail Parameters” and click “Next“.
h) Click “Finish” to exit the setup (Make sure that the “Launch WampServer 2 now”
option is checked
i) If above setup has successfully execute, then wamp server is successfully installed in
your computer and this icon (speedometer like icon) Will come in the taskbar.
5
j) If this icon does not come in the taskbar, you can restart the wamp server by follow
instruction, click on the Start > Programs > WampServer > Start WampServer.
k) If wamp server icon comes in this form (half yellow form) means another server use
the port no 80. You can change the port no of wamp server for properly use.
l) For This you can follow below process.
Use Notepad or WordPad to open the files below.
Open the httpd.conf file for the Apache server. On my machine, it's located here
C:\wamp\bin\apache\apache2.2.8\conf\httpd.conf
Do a search for "Listen 80" and replace it with "Listen 81".
Save and close the file.
Open the wampmanager.tpl file. On my machine, it's located here:
C:\wamp\wampmanager.tpl
Do a search for "http://localhost/" and replace it with "http://localhost:81/" (There
are three total).
Do a search for "${w_testPort80}" and replace it with "${w_testPort81}".
Save and close the file.
Open the testPort.php file. On my machine, it's located
C:\wamp\scripts\testPort.php
Do a search for "80" and replace it with "81" (There are three total).
Save and close the file.
6
here:
Open the english.lang file. On my machine, it's located here:
C:\wamp\lang\english.lang
Do a search for "$w_testPort80 = 'Test Port 80';" and replace it with "$w_testPort81
= 'Test Port 81';".
Save and close the file.
Right click on the WampServer icon and click on "Exit".
Restart your WampServer.
Then after install the MycoTB Database software.
1.2.1 MycoTB Database Software Installation
a) If you wants install MycoTB Database software on your computer, then you do
double click on "setup" icon. If Dot net framework has already installed on your
computer, then this window will popup.
Then click on the next button.
Otherwise these windows will popup.
Click on the “Accept” button.
7
Click on the “Accept” button. After this, process window will come
This window takes the several minutes (5 to 10 minutes) for installing the Dot Net
framework. This process depends on your RAM and processor speed.
8
b) When dot net framework and window installer completed install in your computer
then MycoTB Database Software installation window will come. Click on the
“Next” button.
c) If you want that another user of your computer can to use this software then choose
the “Everyone”. Otherwise choose “Just me”. Click on the “Next” Button.
d) You give the path of mysql.exe in the prescribe format such as
“C:\wamp\bin\mysql\mysql5.1.36\bin\mysql.exe”.
Double quote is must. Otherwise software will start searching the path of mysql.exe
from your computer and take the several minutes (5 minutes). Click on the “Next”
button.
9
e) We give the default connection information of mysql server. You can change the
connection information according to your mysql server. Click on the “Next” Button.
10
f) Click on the “Next” Button. Then installation process will run.
g) After completed the installation process. Click on the close button.
If above setup has successfully execute then “MycoTB Database Software” is
successfully installed in your computer and shortcut coming in your Desktop.
h) On Windows Vista and Windows 7, pass some security permission pass to MycoTB
Database Software and go this path
C:\Program Files\Default Company Name
Then select the “MycoTB” folder and press the right click of the mouse, then click
on the “properties”. Then this window wills popup. Then select the security and
choose the “User (…….-PC\User)” then click on the “Edit” button.
11
Then windows (Permissions for MTBDB) will popup.
Select “User (username)” and check all “allow” checkbox, then after click on “Apply”
button.
12
Download