自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 收藏
  • 关注

原创 Docker搭建 Gitlab CI Runner---操作流程及踩坑记录

基于ubuntu 18.04 OS操作的步骤host机器安装docker-ce参考链接:ubuntu16.04 https://blog.csdn.net/hidi_smile/article/details/107928987ubuntu18.04 https://www.cnblogs.com/wt7018/p/11880666.html非root用户加入docker用户组省去sudo非必须步骤,如果不操作此步骤,后续的docker命令加sudo执行即可 1).使用有sudo权限的

2020-09-18 14:49:11 812

原创 ubuntu16.04 install docker-ce & dcoker-compose

Install dockerupdate sources.list# deb cdrom:[Ubuntu 16.04 LTS _Xenial Xerus_ - Release amd64 (20160420.1)]/ xenial main restricteddeb-src http://archive.ubuntu.com/ubuntu xenial main restricted #Added by software-propertiesdeb http://mirrors.aliyun.

2020-08-11 10:09:11 145 1

原创 expect输入用户名和密码

需要先安装expect#!/bin/bash/usr/bin/expect<<EOFspawn git clone http://192.168.2.252/toolteam/test.git -b 223-dockerexpect "Username"send "toolrd_ro\r"expect "word"send "Tool_111\r"expect eofEOF

2020-07-03 22:18:51 441 1

原创 如何用ffmpeg将rtsp视频流录制成mp4文件

安装ffmpegsudo add-apt-repository ppa:djcj/hybridsudo apt-get updatesudo apt-get install ffmpeg录流ffmpeg -y -i rtsp://admin:admin@192.168.2.249:554/1/1 -vcodec copy -f mp4 2.mp4

2020-05-26 13:14:24 4759

原创 更新ubuntu18.04 apt源

vim /etc/apt/source.listdeb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiversedeb http://mirrors.aliyun.com/ubuntu/ bionic-security main rest.

2020-05-11 20:36:35 184

原创 安装gtest环境

sudo apt install cmakesudo apt-get install gcc g++ lcovInstall gtestgit clone https://github.com/google/googletestcd googletest/mkdir buildcd build/cmake …make -j8

2020-05-11 19:49:39 142

原创 npx http-server apidoc -p 3011

cd $PATH/WBEnpm inpx http-server …/…/doc/UI/UI原型图 -p 3012npm run docnpx http-server apidoc -p 3011

2020-05-10 19:28:46 203

原创 学习笔记--box部署操作流程

搭建盒子操作流程:安装nodejs环境tar xvf node-v12.16.2-linux-x64.tar.xz cd /usr/localsudo cp -r ~/node-v12.16.2-linux-x64 ./sudo mv node-v12.16.2-linux-x64/ nodesudo vim /etc/profileexport NODE_HOME=/usr/...

2020-04-17 15:19:31 493

原创 重装ubuntu18.04系统后安装配置常用环境

Install OS: ubuntu18.04Set root user passwd: sudo passwd rootInstall sogou inputhttps://blog.csdn.net/lupengCSDN/article/details/80279177https://pinyin.sogou.com/linux/?r=pinyinhttps://blog.csd...

2020-04-16 19:14:25 758

原创 gitlab-runner异常处理:Test suite failed to run Could not find source file: '/home/gitlab-runner/builds/x

出错现象:本地跑单元测试正常的,经过gitlab-runner调度测试后,出现如下错误:FAIL tests/registrationOfPerson.test.ts ● Test suite failed to run Could not find source file: '/home/gitlab-runner/builds/ULXArWG6/0/toolrdteam/I...

2020-04-15 16:58:41 968

原创 ubuntu18.04下安装node,更改npm源

方法一:直接apt install安装Ubuntu 18.04在其默认存储库中包含一个版本的Node.js,可用于在多个系统间提供一致的体验,但这不一定是最新版本,请根据自己开发测试需要对应升级。安装Node.jsUbuntu 18.04在其默认存储库中包含一个版本的Node.js,可用于在多个系统间提供一致的体验。 在撰写本文时,存储库中的版本是8.10.0。 这不会是最新的版本,但它应该...

2020-03-30 11:12:20 1878

原创 查看gitlab版本号

进入dockersudo docker exec -it gitlab /bin/bash查看版本号例如:cat /opt/gitlab/embedded/service/gitlab-rails/VERSION12.8.1

2020-03-24 14:54:39 2010

原创 linux查看端口占用情况并解决端口冲突

查看端口占用情况netstat -an |grep :80root用户下才可以查看到具体占用端口的服务名称和进程号,例如1716/apache2root@cambricon-OptiPlex-3050:/srv/gitlab/data# netstat -anp |grep :80 tcp6 0 0 :::80 :::* ...

2020-03-24 14:50:45 1885

原创 Katalon Recorder学习笔记

环境搭建录制自动测试脚本转换成不同语言的脚本手动添加命令等待页面跳转增加检查点增加断点元素定位

2020-02-19 14:46:52 570

原创 linux系统中设置终端title标题set-title

在~/.bashrc中添加下面代码function set-title() {if [[ -z “ORIG"]];thenORIG=ORIG" ]]; then ORIG=ORIG"]];thenORIG=PS1fiTITLE=”[\e]2;KaTeX parse error: Undefined control sequence: \a at position 2: *\̲a̲\...

2019-12-13 10:44:56 1640

原创 npm i --unsafe -perm解决权限问题

npm i --unsafe -perm解决权限问题

2019-12-10 17:24:15 3030

原创 如何清除docker日志

查询docker name或者IDdocker ps -a查询docker日志的存储目录docker inspect container_ID | grep json.logdocker inspect container_name | grep json.log清楚docker日志cat /dev/null > /var/log/…log-json.log...

2019-12-04 17:47:11 980

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除