Skip to content

Instantly share code, notes, and snippets.

@on195594
on195594 / rancher微服务问题汇总
Last active June 27, 2018 01:34
rancher微服务问题汇总
问题一:rancher日志打不开,点击view logs日志显示空白,左下显示disconnect,同时点击Execute Shell闪退
原因及解决:原因为rancher server与rancher agent系统时间不同步导致,需要将两台hosts主机系统时间同步一致即可解决
时间同步方法步骤:http://www.cnblogs.com/freeweb/p/5390552.html
问题二:no route to hosts
原因及解决:可能为某个防火墙端口未开放导致,需要放开其端口。
@on195594
on195594 / Install NVIDIA Driver and CUDA.md
Created May 7, 2021 06:51 — forked from wangruohui/Install NVIDIA Driver and CUDA.md
Install NVIDIA Driver and CUDA on Ubuntu / CentOS / Fedora Linux OS
@on195594
on195594 / config
Created August 11, 2021 09:17 — forked from pksunkara/config
Sample of git config file (Example .gitconfig) (Place them in $XDG_CONFIG_HOME/git)
[user]
name = Pavan Kumar Sunkara
email = pavan.sss1991@gmail.com
username = pksunkara
[core]
editor = vim
whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol
pager = delta
[sendemail]
smtpencryption = tls
@on195594
on195594 / git清除用户名和密码.md
Created September 2, 2021 09:38
git清除用户名和密码

git清除用户名和密码用管理员的身份运行git bash。 然后输入命令: git config --system --unset credential.helper

@on195594
on195594 / upload.sh
Created September 24, 2021 03:01 — forked from rishabh9/upload.sh
Bulk upload your local maven repository to your private Nexus repository
#!/bin/sh
# Reference: http://roboojack.blogspot.in/2014/12/bulk-upload-your-local-maven-artifacts.html
if [ "$#" -ne 3 ] || ! [ -d "$1" ]; then
echo "Usage:"
echo " bash run.sh <repoRootFolder> <repositoryId> <repositoryUrl>"
echo ""
echo ""
echo " Where..."
@on195594
on195594 / nginx-openssl-build.sh
Created November 1, 2021 06:06 — forked from lukespragg/nginx-openssl-build.sh
NGINX and OpenSSL build and installation script
#!/bin/bash
## TODO:
# Figure out how to get nginx file-aio module working (incompatible?)
## Get and install tools and dependencies
sudo apt-get -y install build-essential zlib1g-dev libpcre3 libpcre3-dev libbz2-dev
## Get installed OpenSSL version
# Use `whereis openssl` to check if installed first