1
0
Fork 0
medicine-config/Readme.md

998 B

Install

git clone https://ilya_muhortov@bitbucket.org/med-logic/medicine-config.git

chmod +x ~/medicine-config/bash_scripts/docker-install.sh ~/medicine-config/bash_scripts/install.sh ~/medicine-config/medicine/run.sh

Problems

Error saving credentials: error storing credentials - err: exit status 1, out: Cannot autolaunch D-Bus without X11 $DISPLAY

> sudo apt remove golang-docker-credential-helpers

Git ignore rights

> git config core.fileMode false

Ключи

Добавление ключика на удаленный сервер (root)

ssh-copy-id -i ~/.ssh/medlogic_awx_rsa.pub -p 22 root@remote

Добавление ключика на удаленный сервер (no root)

cat ~/.ssh/medlogic_awx_rsa.pub | ssh user@remote "sudo cat >> /root/.ssh/authorized_keys"

Настройка сервера

vim /etc/ssh/sshd_config

PermitRootLogin without-password
PubkeyAuthentication yes

service ssh restart