Zhao Long's Notes 
  • 首页
  • 归档
  • 分类
  • 标签
  • 关于
  • 友链
  •   
  •   

Nginx 301 重定向

修改配置文件 1nginx.conf 12345678910111213... server { listen 80; server_name a.xxx.com; location / { return 301 https://b.xxx.com$request_uri;

2020-09-02
Server
Server Nginx

Ubuntu 开启 SSH 服务

SSH 分 openssh-client 和 openssh-server。 如果你只是想登陆别的机器的 SSH 只需要安装 openssh-client,Ubuntu 有默认安装,如果没有则 1sudo apt install openssh-client 如果要使本机开放 SSH 服务就需要安装 openssh-server 1sudo apt install openssh-server

2020-09-02
Linux
Linux Ubuntu

SVN 迁移指定目录

What can it do for us:Migrate a single project from a specify repository to a new svn repository and keep all commit history/Log. E.g.This is the layout of old svn server 1234567891011/ repos/ DL/

2020-09-01
Server
SVN Server

Git 常用命令

git clone1234567891011# public 工程git clone https://github.com/Zlorn/xxx# 带用户名和密码访问git clone https://UserName:password@github.com/Zlorn/xxx# 带邮箱和密码访问,邮箱的 @ 符号需要 URL 转码为 %40git clone https://xxx%40qq.co

2020-08-31
Git
Git

SVN 常用命令

更新当前目录1svn update 提交当前目录1svn commit -m "提交日志" 查看最近 5 条日志1svn log -l 5 递归还原当前目录所做的修改1svn revert -R . 回滚当前目录到指定版本12// 从 r608 回滚到 r602svn merge -r 608:602 . 查看当前目录状态1svn status 查看当前目录信息1svn info 查看

2020-08-31
Server
SVN Server
1…2627282930…66

搜索

Hexo Fluid