This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
以http://mail.163.com/index.html为例 | |
http : 协议 | |
mail : 主机名(服务器名),host,代表是一个邮件服务器,www是一个万维网服务器 | |
163.com : 域名 | |
mail.163.com : 网站名,website name | |
http://mail.163.com/index.html : url | |
注意,www.163.com不是一个域名,163.com才是一个域名 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. download file in https://robomongo.org/download | |
2. unzip the file to `/opt`: `tar -zxvf robomongo-0.9.0-rc7-linux-x86_64-2b7a8ca.tar.gz` | |
3. cd to `/opt/robomongo-0.9.0-rc7-linux-x86_64-2b7a8ca/bin`, execute `robomongo` | |
4. create a new alias in ZSH: `alias robomongo='/opt/robomongo-0.9.0-rc7-linux-x86_64-2b7a8ca/bin/robomongo'` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#create a new alias | |
alias gz='tar -zxvf' | |
#remove a alias | |
unalias gz |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git init # 初始化本地git仓库(创建新仓库) | |
git config --global user.name "xxx" # 配置用户名 | |
git config --global user.email "xxx@xxx.com" # 配置邮件 | |
git config --global color.ui true # git status等命令自动着色 | |
git config --global color.status auto | |
git config --global color.diff auto | |
git config --global color.branch auto | |
git config --global color.interactive auto | |
git config --global --unset http.proxy # remove proxy configuration on git | |
git clone git+ssh://git@192.168.53.168/VT.git # clone远程仓库 |