您好,登錄后才能下訂單哦!
這篇文章主要介紹了tripal如何搭建基因組數(shù)據(jù)庫網(wǎng)站,具有一定借鑒價值,感興趣的朋友可以參考下,希望大家閱讀完這篇文章之后大有收獲,下面讓小編帶著大家一起了解一下。
tripal搭建基因組數(shù)據(jù)庫網(wǎng)站
下載tripal官方鏡像:
docker pull tripalproject/tripaldocker:latest
下載tripal模塊:
git clone https://github.com/tripal/t4d8
啟動鏡像運行網(wǎng)站:
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如何搭建基因組數(shù)據(jù)庫網(wǎng)站”這篇文章對大家有幫助,同時也希望大家多多支持億速云,關(guān)注億速云行業(yè)資訊頻道,更多相關(guān)知識等著你來學(xué)習(xí)!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點不代表本網(wǎng)站立場,如果涉及侵權(quán)請聯(lián)系站長郵箱:is@yisu.com進行舉報,并提供相關(guān)證據(jù),一經(jīng)查實,將立刻刪除涉嫌侵權(quán)內(nèi)容。