安安茶茶

没有谁会为你踏雪而来,喜欢的风景要躬亲筚路。人生有什么意义,接受赠予+22181803=VQ

  博客园  :: 首页  :: 新随笔  :: 联系 ::  :: 管理

随笔分类 -  linux

摘要:git fetch --all git reset --hard origin/master git pull 阅读全文
posted @ 2021-07-06 10:43 长虫山小木屋 阅读(202) 评论(0) 推荐(0)

摘要:1、在本地要部署的目录 git initgit clone --bare ./ my_project.git 把本地init仓库克隆到 my_project.git 2、上传my_project.git所有内容到服务器某处,比如 /home/test/ 3、在服务器,/home/test/my_pr 阅读全文
posted @ 2021-02-03 15:04 长虫山小木屋 阅读(125) 评论(0) 推荐(0)

摘要:开启命令: shopt -s extglob 开始删除 rm -rf !(file1|file2) 关闭命令: shopt -u extglob 阅读全文
posted @ 2020-08-19 16:27 长虫山小木屋 阅读(1061) 评论(0) 推荐(0)

摘要:ImportError: libGL.so.1: cannot open shared object file: No such file or directory 解决办法: $ sudo apt-get update $ sudo apt-get install -y libgl1-mesa-d 阅读全文
posted @ 2020-07-22 17:01 长虫山小木屋 阅读(2729) 评论(0) 推荐(0)

摘要:1、配置域名解析,一般一个二级域名,一个三级域名,例如:2.a.cn(二级用作服务端) b.2.a.cn(三级域名用作真实访问地址) 2、开放服务器端口,默认 80(http访问)、443(https访问)、4443(4443是服务端口) 3、安装git 和Golang yum install bu 阅读全文
posted @ 2020-03-13 10:56 长虫山小木屋 阅读(0) 评论(0) 推荐(0)

摘要:1、https://github.com/ -->Pricing and Signup -->Create a free account 2、生成公钥:私钥 ssh-keygen -t rsa -C xxxxx@qq.com(注册github时的email) 3、登陆github,选择Account 阅读全文
posted @ 2020-01-17 11:06 长虫山小木屋 阅读(127) 评论(0) 推荐(0)

摘要:vi .bashrc alias ll那一行的#去掉 然后执行 source .bashrc 阅读全文
posted @ 2019-11-14 14:33 长虫山小木屋 阅读(95) 评论(0) 推荐(0)

摘要:apt update apt upgrade apt clean apt autoclean apt autoremove 阅读全文
posted @ 2019-11-14 12:55 长虫山小木屋 阅读(97) 评论(0) 推荐(0)