Dr Di Liu - BOLD Mirror Setup
-
Upload
consortium-for-the-barcode-of-life-cbol -
Category
Education
-
view
1.264 -
download
0
Transcript of Dr Di Liu - BOLD Mirror Setup
![Page 1: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/1.jpg)
How to setup a BOLD data mirror yourself?
Dr. Di LiuInstitute of Microbiology, Chinese Academy of Sciences
@Informatics pre-conference workshop
![Page 2: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/2.jpg)
What is BOLD Mirror?
• BOLD Mirror is data mirror of BOLD• It is a project of iBOL WG3.2• It is developed by the Institute of
Microbiology, Chinese Academy of Sciences• Everyone can setup BOLD mirror and use the
data locally• It will help the global distribution and the use
of BOLD data
![Page 3: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/3.jpg)
![Page 4: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/4.jpg)
![Page 5: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/5.jpg)
![Page 6: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/6.jpg)
What shall I do if I am interested in it?
• Visit our website: http://www.boldmirror.net
• Contact us:– Dr. Juncai Ma, [email protected]– Dr. Di Liu, [email protected]
![Page 7: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/7.jpg)
The environments for installation
• Linux (we are using Ubuntu)• Apache• MySQL• PHP
![Page 8: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/8.jpg)
Files within BOLDmirror v1.1
![Page 9: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/9.jpg)
1. README.doc, README
2. boldmirror_web.zip: Files to create the web site
3. bold20111018.sql.gz: SQL files to create database
4. barcode-script.zip: Scripts for daily update.
5. logclient.zip: Scripts to collect the access logs
6. Software/, software you need to install beforehand, including Apache, MySQL, …
![Page 10: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/10.jpg)
Installation
• Step 1. Create the database of boldmirror.– You can create the database with command or GUI
tool
• Then uncompress the SQL file, and run the sql file to create the tables and insert the data.
• It will take several minutes, please wait.
![Page 11: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/11.jpg)
Installation• Step 2. Setup the WEB.
• Uncompress boldmirror_web.zip, and copy the boldmirror folder to your web server document root or create the link to the boldmirror by command – “sudo ln –s YOURBOLDMIRRORPATH
YOURWEBSERVERDOCUMENTROOT”.
• Make some configurations. – Modify file "boldmirror/system/application/config/database.php"
according to your database configuration.
![Page 12: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/12.jpg)
![Page 13: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/13.jpg)
http://Your_APACHE_URL/
![Page 14: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/14.jpg)
Installation
• Step 3. Deploy the scripts for daily update – Uncompress barcode-script.zip– There are four folders in the barcode directory:
conf ,data ,logs and parsefiles. – Please modify the file “conf/barcode.conf”.
![Page 15: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/15.jpg)
![Page 16: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/16.jpg)
Installation
• Use crontab for daily update– “crontab –e”– “0 1 * * * cd YOURBARCODE_BASE_DIR/parsefiles
&& perl barcode.pl 2>&1”
![Page 17: Dr Di Liu - BOLD Mirror Setup](https://reader033.fdocuments.net/reader033/viewer/2022042723/58f1b7a71a28abc1458b45d9/html5/thumbnails/17.jpg)
THANKS
Contact us at anytime when you meet problem