Skip to content

Commit 444ea11

Browse files
committed
2016-03-23替换所有bash代码标记
1 parent d364546 commit 444ea11

9 files changed

Lines changed: 11 additions & 11 deletions

Maven-Install-And-Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
- 配置项目连接上私服
3939
- 全局方式配置:
4040
41-
``` bash
41+
``` nginx
4242
<?xml version="1.0" encoding="UTF-8"?>
4343
4444
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

Nexus-Install-And-Settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
9595
- 在 Maven 的 settings.xml 加上连接服务器信息:
9696
97-
``` bash
97+
``` nginx
9898
<!--设置私库认证信息,用户名和密码我就用默认的,如果你们有权限控制的需求可以创建对应的一些账号-->
9999
<servers>
100100
<server>
@@ -113,7 +113,7 @@
113113

114114
- 在项目的 pom.xml 文件加上:
115115

116-
``` bash
116+
``` nginx
117117
<!-- nexus-releases nexus-snapshots 与 Maven 的配置文件 settings.xml 中 server 下的 id 对应 -->
118118
<distributionManagement>
119119
<repository>

Nginx-Install-And-Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
- 启动 Nginx
8181
- 先检查是否在 /usr/local 目录下生成了 Nginx 等相关文件:`cd /usr/local/nginx;ll`,正常的效果应该是显示这样的:
8282

83-
``` bash
83+
``` nginx
8484
drwxr-xr-x. 2 root root 4096 3月 22 16:21 conf
8585
drwxr-xr-x. 2 root root 4096 3月 22 16:21 html
8686
drwxr-xr-x. 2 root root 4096 3月 22 16:21 sbin

Off-line-Yum-Install.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
- `yum install -y openssh-server --downloadonly --downloaddir=/opt/ssh`
1212
- 在 /opt/ssh 目录下有如下内容:
1313

14-
``` bash
14+
``` nginx
1515
-rw-r--r--. 1 root root 280524 Aug 13 2015 openssh-5.3p1-112.el6_7.x86_64.rpm
1616
-rw-r--r--. 1 root root 448872 Aug 13 2015 openssh-clients-5.3p1-112.el6_7.x86_64.rpm
1717
-rw-r--r--. 1 root root 331544 Aug 13 2015 openssh-server-5.3p1-112.el6_7.x86_64.rpm

TeamCity-Install-And-Settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@
9696
- `sudo service iptables restart`
9797
- 如果你要改变端口,找到下面这个 8111 位置:`vim /usr/program/TeamCity/conf/server.xml`
9898

99-
``` bash
99+
``` nginx
100100
<Connector port="8111" ...
101101
```
102102

Was-Hacked.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
- 运行:`iftop`
5959
- 显示端口与 IP 信息:`iftop -nP`
6060

61-
``` bash
61+
``` nginx
6262
中间部分:外部连接列表,即记录了哪些ip正在和本机的网络连接
6363
6464
右边部分:实时参数分别是该访问 ip 连接到本机 2 秒,10 秒和 40 秒的平均流量

Zsh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
- Zsh 官网:<http://www.zsh.org/>
1414
- 先看下你的 CentOS 支持哪些 shell:`cat /etc/shells`,正常结果应该是这样的:
1515

16-
``` bash
16+
``` nginx
1717
/bin/sh
1818
/bin/bash
1919
/sbin/nologin

centos-settings/Clear-Tmp-Directory.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
- 编辑配置文件:`vim /etc/cron.daily/tmpwatch`
1212

13-
``` bash
13+
``` nginx
1414
#! /bin/sh
1515
flags=-umc
1616
/usr/sbin/tmpwatch "$flags" -x /tmp/.X11-unix -x /tmp/.XIM-unix \

ubuntu-settings/Network-Settings.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
- 编辑配置文件:`sudo vim /etc/network/interfaces`
2323
- 配置文件内容中,部分信息改为如下:
2424

25-
``` bash
25+
``` nginx
2626
auto eth0
2727
# iface eth0 inet dhcp
2828
# 注释上面默认配置的 DHCP 设置,改为下面这个 static
@@ -37,7 +37,7 @@ gateway 192.168.1.1 # 网关
3737

3838
- 编辑配置文件:`sudo vim /etc/resolvconf/resolv.conf.d/base`
3939
- 如果里面没内容,则新增下面两个:(我是广州电信,这两个 DNS 是我根据 360 安全卫士 DNS 优选功能自动筛选出来的,每个地区的人得到结果可能都不一样)
40-
``` bash
40+
``` nginx
4141
nameserver 123.125.81.6
4242
nameserver 8.8.8.8
4343
```

0 commit comments

Comments
 (0)