古越剑箫

学习是一种习惯

  :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: :: 管理 ::

随笔分类 -  linux

1 2 下一页

摘要:jenkins 删除 构建历史记录 def jobName = "page-approval-front-test" def maxNumber = 2000 Jenkins.instance.getItemByFullName(jobName).builds.findAll { it.number 阅读全文
posted @ 2025-06-06 19:05 古越剑箫 阅读(38) 评论(0) 推荐(0)

摘要:linux下拉取git代码 阅读全文
posted @ 2021-12-24 17:33 古越剑箫 阅读(583) 评论(0) 推荐(0)

摘要:centos7替换yum淘宝源 阅读全文
posted @ 2021-12-24 15:11 古越剑箫 阅读(271) 评论(0) 推荐(0)

摘要:shell 相互引用 阅读全文
posted @ 2020-08-26 15:52 古越剑箫 阅读(227) 评论(0) 推荐(0)

摘要:函数调用 阅读全文
posted @ 2020-08-26 15:47 古越剑箫 阅读(676) 评论(0) 推荐(0)

摘要:shell传参 阅读全文
posted @ 2020-08-26 15:46 古越剑箫 阅读(376) 评论(0) 推荐(0)

摘要:shell 流程控制语句 阅读全文
posted @ 2020-08-26 15:44 古越剑箫 阅读(191) 评论(0) 推荐(0)

摘要:shell test判断 阅读全文
posted @ 2020-08-26 15:43 古越剑箫 阅读(170) 评论(0) 推荐(0)

摘要:shell printf 阅读全文
posted @ 2020-08-26 15:41 古越剑箫 阅读(134) 评论(0) 推荐(0)

摘要:shell 数组 阅读全文
posted @ 2020-08-26 15:40 古越剑箫 阅读(113) 评论(0) 推荐(0)

摘要:shell运算符 阅读全文
posted @ 2020-08-26 15:37 古越剑箫 阅读(141) 评论(0) 推荐(0)

摘要:#!/bin/bash # shell 变量 echo "Hello World !" user_name=张三 #输出变量名 echo ${user_name} ###字符串拼接 echo "你好,"${user_name}"" echo "你好,${user_name}" #提取字符串长度 echo ${#user_name} #截取字符串,索引从0开始 address="... 阅读全文
posted @ 2020-08-26 15:36 古越剑箫 阅读(115) 评论(0) 推荐(0)

摘要:linux之搜素日志 阅读全文
posted @ 2018-11-15 13:50 古越剑箫 阅读(197) 评论(0) 推荐(0)

摘要:查看用户 cat /etc/passwd 查看某一个用户 cat /etc/passwd|grep javaluna 新增用户 useradd xxx 更新密码 passwd xxx 删除用户及相关配置 userdel -r xxx 阅读全文
posted @ 2018-07-03 15:41 古越剑箫 阅读(152) 评论(0) 推荐(0)

摘要:查看整个硬盘使用情况: 1、df -h 2、du -bs xx 具体目录占用情况 3、查看当前目录大于100M的文件 find . -size +100M https://blog.csdn.net/2409_89014517/article/details/144472569 阅读全文
posted @ 2018-06-17 23:33 古越剑箫 阅读(491) 评论(0) 推荐(0)

摘要:查看CPU信息(型号)cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c http://blog.csdn.net/class_brick/article/details/79135826 阅读全文
posted @ 2018-01-16 14:32 古越剑箫 阅读(163) 评论(0) 推荐(0)

摘要:查看端口:lsof -i :80二、内存大小[root@xbidc ~]# cat /proc/meminfo |grep MemTotalMemTotal: 1034612 kB[root@xbidc ~]# 三、硬盘大小[root@xbidc ~]# fdisk -l |grep DiskDis 阅读全文
posted @ 2017-10-23 21:41 古越剑箫 阅读(292) 评论(0) 推荐(0)

摘要:端口操作 手动更改配置文件开放端口 vim /etc/sysconfig/iptables -A INPUT -p tcp -m state --state NEW -m tcp --dport 8161 -j ACCEPT 重启防火墙 /etc/init.d/iptables restart 查看 阅读全文
posted @ 2017-10-12 15:31 古越剑箫 阅读(326) 评论(0) 推荐(0)

摘要:硬件Centos6.9 x86_64 1、查看centos内核,uname -r 目前,CentOS 仅发行版本中的内核支持 Docker。 Docker 运行在 CentOS 7 上,要求系统为64位、系统内核版本为 3.10 以上。 Docker 运行在 CentOS-6.5 或更高的版本的 C 阅读全文
posted @ 2017-08-17 14:45 古越剑箫 阅读(171) 评论(0) 推荐(0)

摘要:因为Centos比较保守依赖的glibc最高版本是2.12 但是经常我们安装一些源码包,则需要2.14以上glibc,这就需要我们升级centos版本所依赖的glibc 本文采用两种方式升级glibc到2.14版本 首先都需要安装gcc gcc++ 1、rpm升级 glibc一共需要升级四个rpm包 阅读全文
posted @ 2017-07-18 16:23 古越剑箫 阅读(2126) 评论(0) 推荐(0)

1 2 下一页