这篇文章主要介绍了tripal如何搭建基因组数据库网站,具有一定借鉴价值,感兴趣的朋友可以参考下,希望大家阅读完这篇文章之后大有收获,下面让小编带着大家一起了解一下。
tripal搭建基因组数据库网站
下载tripal官方镜像:
docker pull tripalproject/tripaldocker:latest
下载tripal模块:
git clone https://github.com/tripal/t4d8
启动镜像运行网站:
docker run --publish=80:80 --name=t4d8 -tid --volume=/web/t4d8:/var/www/drupal8/web/modules/contrib/tripal tripalproject/tripaldocker:latest
常见错误1:The provided host name is not valid for this server. 解决办法见:https://tripal4.readthedocs.io/en/latest/install/docker.html
常见错误2:
The website encountered an unexpected error. Please try again later. PDOException: SQLSTATE[08006] [7] FATAL: no pg_hba.conf entry for host "::1", user "drupaladmin", database "sitedb", SSL on FATAL: no pg_hba.conf entry for host "::1", user "drupaladmin", database "sitedb", SSL off in Drupal\Component\DependencyInjection\PhpArrayContainer->createService() (line 79 of /var/www/drupal8/web/core/lib/Drupal/Component/DependencyInjection/PhpArrayContainer.php). Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'database') (Line: 176) Drupal\Component\DependencyInjection\Container->get('database', 1) (Line: 212) Drupal\Component\DependencyInjection\PhpArrayContainer->resolveServicesAndParameters(Array) (Line: 62) Drupal\Component\DependencyInjection\PhpArrayContainer->createService(Array, 'cache.container') (Line: 176) Drupal\Component\DependencyInjection\Container->get('cache.container') (Line: 550) Drupal\Core\DrupalKernel->getCachedContainerDefinition() (Line: 903) Drupal\Core\DrupalKernel->initializeContainer() (Line: 473) Drupal\Core\DrupalKernel->boot() (Line: 716) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
解决办法: 将 /var/www/drupal8/web/sites/default/settings.php 文件种的localhost 修改: 'host' => '127.0.0.1',
感谢你能够认真阅读完这篇文章,希望小编分享的“tripal如何搭建基因组数据库网站”这篇文章对大家有帮助,同时也希望大家多多支持亿速云,关注亿速云行业资讯频道,更多相关知识等着你来学习!
免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。