官网:https://www.lovd.nl/3.0/home
教程:https://www.lovd.nl/3.0/docs/
下载:https://www.lovd.nl/3.0/download
数据库列表:https://www.lovd.nl/3.0/public_list
FAQ:https://www.lovd.nl/3.0/faq#FAQ02
一、 Installing LOVD
方法一:docker安装
下载LOVD Docker:https://github.com/labbcb/docker-lovd
git clone https://github.com/labbcb/docker-lovd.git
运行:
方法二:手动安装到本地
1、下载并安装XAMPP:
下载地址:https://www.apachefriends.org/index.html
安装:
chmod 755 xampp-linux-*-installer.run
sudo ./xampp-linux-*-installer.run
2、下载:lovd
https://www.lovd.nl/3.0/download.php?version=3.0-25&type=zip
数据库自动下载出错,可手动下载:
https://data.monarchinitiative.org/exomiser/data/
https://www.lbgi.fr/~geoffroy/Annotations/
二、Linux Frequently Asked Questions
https://www.apachefriends.org/faq_linux.html
三、使用
启动:lampp
sudo /opt/lampp/lampp start
停止lampp
sudo /opt/lampp/lampp stop
给php加速,并清除缓存(How do I activate eAccelerator?)
编辑文件 /opt/lampp/etc/php.ini:找到以下句子,去除行首的分号
;extension="eaccelerator.so"
;eaccelerator.shm_size="16"
;eaccelerator.cache_dir="/opt/lampp/tmp/eaccelerator"
;eaccelerator.enable="1"
;eaccelerator.optimizer="1"
;eaccelerator.check_mtime="1"
;eaccelerator.debug="0"
;eaccelerator.filter=""
;eaccelerator.shm_max="0"
;eaccelerator.shm_ttl="0"
;eaccelerator.shm_prune_period="0"
;eaccelerator.shm_only="0"
;eaccelerator.compress="1"
;eaccelerator.compress_level="9"
四、报错及解决
1、报错:netstat: command not found
报错信息:
XAMPP: Starting Apache.../opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
/opt/lampp/share/xampp/xampplib: line 22: netstat: command not found
fail.
解决:
apt-get install net-tools
2、报错:
Starting XAMPP for Linux 8.0.0-2…
XAMPP: Starting Apache…fail.
XAMPP: Another web server with SSL is already running.
XAMPP: Starting MySQL…ok.
XAMPP: Starting ProFTPD…fail.
XAMPP: Another FTP daemon is already running.
原因:端口被占用
解决:
vi /opt/lampp/etc/httpd.conf,找到 “Listen 80”,修改端口号为其他(例:9090)
vi /opt/lampp/lampp,找到 “if testport 80”,修改端口号与上述修改一致(9090)
重新登录服务器或启动新命令窗口,启动XAMPP
/opt/lampp/lampp stop
/opt/lampp/lampp start