|
|
||
|---|---|---|
| bash_scripts | ||
| medicine | ||
| medicine-remd | ||
| medicine-stack | ||
| medicine-timetable | ||
| tfoms-patient | ||
| thirdparty-apps | ||
| .gitignore | ||
| Readme.md | ||
| backup_database.sh | ||
| backup_database_sql.sh | ||
| restore_database.sh | ||
| restore_database_from_sql.sh | ||
| utils.sh | ||
Readme.md
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