$ ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "dreamtails@pixnet.cc"
Reference: https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54
$ ssh-keygen -o -a 100 -t ed25519 -f ~/.ssh/id_ed25519 -C "dreamtails@pixnet.cc"
Reference: https://medium.com/risan/upgrade-your-ssh-key-to-ed25519-c6e8d60d3c54
Command:
$ git clone https://192.168.100.100/dreamtails/Dreamtails_Project.git
Error Message:
fatal: unable to access 'https://192.168.100.100/dreamtails/Dreamtails_Project.git/': server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
How to Resolve?
[For Git]
$ git config --global http.sslVerify false |
[For Linux]
$ export GIT_SSL_NO_VERIFY=1 |
[For Windows]
$ set GIT_SSL_NO_VERIFY 1 |
使用Crontab去定時備份GitLab的資料到遠端的NFS Server (192.168.100.100:/backup/gitlab)
1. Check crond service.
# systemctl list-unit-files
2. 若crond.service是disabled,請將它enable,這樣OS啟動後才會自動執行
# systemctl enable crond.service
3. 手動啟動crond service
# systemctl start crond.service
4. 編輯crontab設定
# crontab -e
環境:
OS: CentOS 7.6
原本的GitLab IP: 1.1.1.1
新的GitLab IP: 2.2.2.2