- 博客(20)
- 收藏
- 关注
转载 docker阿里云加速
https://cr.console.aliyun.com/?spm=5176.1971733.0.2.Rf1b6T#/accelerator https://l1jdly0j.mirror.aliyuncs.com //个人加速地址 [root@vultr docker]# c...
2017-07-31 20:52:00 130
转载 centos7配置国内docker源
$ vi /etc/docker/daemon.json [root@localhost docker]# cat daemon.json { "registry-mirrors": [ "http://aad0405c.m.daocloud.io" ], ...
2017-07-19 17:00:00 156
转载 mysql singal 11 bug
mysql 5.6.22 源码编译安装的,需要升级到 5.6.24 待测试, 先备份好data目录。 转载于:https://my.oschina.net/xufenfei/...
2017-04-14 14:14:00 134
转载 for语句中使用多个变量
#!/bin/bash# multiple variablesfor (( a=1, b=10; a<=10; a++,b-- ))do echo "$a - $b"done ...
2017-04-12 15:15:00 1637
转载 从变量中读取列表
#!/bin/bash# using a variable to hold the listlist="Alabama Alaska Arizona"list=$list" Connecticut"for state in $listdo echo "Have you eve...
2017-04-12 15:08:00 150
转载 判断字符串长度是否为0
#!/bin/bash# testing string length#-n 判断长度是否非零#-z 判断长度是否为零val1=testingval2=''if [ -n "$val1" ]then echo "The string $val1 is not empty"...
2017-04-12 15:07:00 2616
转载 for判断是目录还是文件
#!/bin/bash#iterate through all the files in a directoryfor file in /home/test/*do if [ -d "$file" ] then echo "$file is a directory" elif ...
2017-04-12 14:58:00 116
转载 if-then
#!/bin/bash#testing the if statementif datethen echo "it worked"fiecho -e '\n'if asdthen echo "it not worked"fiecho 'We are outside th...
2017-04-12 14:01:00 77
转载 for嵌套
#!/bin/bash#nesting for loopsfor (( a=1; a<=3; a++ ))do echo "Starting loop $a:" for (( b=1; b<=3; b++)) do echo "Inside loop: $b:"...
2017-04-12 11:59:00 76
转载 for循环
for (( i=1; i<=4; i++ ))do touch $i.sh chmod 764 $i.sh echo "#!/bin/bash" > $i.shdone输出:1.sh2.sh3.sh4.sh 内容均为:#!/bin/bash ...
2017-04-12 11:56:00 75
转载 oracle安装脚本
yum groupinstall -y 'X Window System'yum install -y binutils compat-libcap1 compat-libstdc++-33 compat-libstdc++-33.i686 gcc gcc-c++ glibc glibc....
2017-04-12 11:15:00 109
转载 技术总结
1,网络解决方案及反向代理方案 2, Vmware esxti虚拟平台 3, 中间件 Tomcat Weblogic Websphere 4, 数据库 Oracle Mysql Vertica Sql ser...
2017-04-11 11:39:00 69
转载 Nginx 安装配置
Nginx 安装配置 Nginx("engine x")是一款是由俄罗斯的程序设计师Igor Sysoev所开发高性能的 Web和反向代理服务器,也是一个 IMAP/POP3/SMTP代理服务器。 在高连接并发的情况下,Nginx是Apache服务器不错的替代品。 Ngin...
2017-04-01 15:25:00 103
转载 ngx_http_sub_module 模块详解
此模块是一个过滤器,它可用一个字符串去替换指定的字符串的修改返回文件。 默认情况下,是不带此模块的,通过--with-http_sub_module使能它。 示例如下: </> location / { sub_filter '<a href="http:...
2017-04-01 14:18:00 260
转载 Nginx配置示例
[root@xxxconf.d]# cat abc.conf server { listen 80; server_name abc.cctv.com; #rewrite ^ https://$host$request_uri; rewrite ...
2017-04-01 11:04:00 166
转载 https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/update
https://gitlab.com/gitlab-org/gitlab-ce/tree/master/doc/updateta https://argcv.com/articles/4137.c //gitlab升级 ...
2017-04-01 10:39:00 335
转载 释放cache: echo 1 > /proc/sys/vm/drop_caches
释放cache:echo 1 > /proc/sys/vm/drop_caches 转载于:https://my.oschina.net/xufenfei/blog/872013...
2017-04-01 10:36:00 4135
转载 Linode上的CentOS 7 安裝fail2ban
https://calvinpeak.herokuapp.com/2014/12/15/install-centos-7-in-linode/ 转载于:https://my.oschina...
2017-03-30 17:38:00 85
转载 十分钟带你理解Kubernetes核心概念
http://dockone.io/article/932 转载于:https://my.oschina.net/xufenfei/blog/870975
2017-03-30 17:32:00 93
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人