- 博客(149)
- 资源 (5)
- 收藏
- 关注
原创 【GO】k8s 管理系统项目16[前端部分--项目初始化]-学习记录
学习 https://blog.csdn.net/qq_29974229/article/details/129119279?spm=1001.2014.3001.5502
2023-11-27 11:20:46 631
原创 Ubuntu
文章目录Ubuntu设置固定 ipUbuntu设置固定 ipcat /etc/netplan/00-installer-config.yaml# This is the network config written by 'subiquity'network: ethernets: enp0s5: dhcp4: no addresses: [172.16.100.5/24] gateway4: 172.16.100.1 nameserve
2022-04-18 11:45:20 741
原创 ssh-keygen
ssh-keygen -t rsa -P "" -f /root/.ssh/id_rsassh-copy-id [email protected]
2022-03-28 09:19:03 794
原创 centos7 vue-element-admin安装
npm i node-sass --sass_binary_site=https://npm.taobao.org/mirrors/node-sass
2022-03-21 18:35:08 1170
原创 mysql57 安装
wget https://downloads.mysql.com/archives/get/p/23/file/mysql-5.7.36-1.el7.x86_64.rpm-bundle.tar
2022-03-18 23:01:35 1360
原创 go 环境安装
1.14.15 cat /etc/redhat-release CentOS Linux release 7.6.1810 (Core) wget https://go.dev/dl/go1.14.15.linux-amd64.tar.gz tar xzvf go1.14.15.linux-amd64.tar.gz -C /usr/local/
2022-03-18 22:22:31 890
原创 docker http 通用接口
命令行测试docker exec -it 容器名字 cat /a.testxxhello创建execcurl --silent --unix-socket /var/run/docker.sock "http:/containers/容器名字/exec" -X POST -H "Content-Type: application/json" -d '{"AttachStdout": true,"Tty": true,"Cmd": [ "cat","/a.test"]}'返回 exe
2022-03-02 12:04:47 1049
原创 go接收post来的json数据
cat postHttpServer.gopackage mainimport ( "fmt" "io/ioutil" "log" "net/http")func mockWebhook(w http.ResponseWriter, r *http.Request) { if r.URL.Path != "/webhook" { http.Error(w, "404 not found.", http.StatusNotFound) return } switch r.
2021-12-17 10:05:02 2105
原创 samba-linux
yum install -y sambamkdir /sambachmod 777 /sambauseradd yandunpasswd yandun123456smbpasswd -a yandun123456cp /etc/samba/smb.conf /etc/samba/smb.conf.bak vim /etc/samba/smb.confsecurity = user[share]comment = my share#对该共享资源的说明pat
2021-12-08 16:14:39 241
原创 harbor-api
curl -X GET --header 'Accept: application/json' 'http://192.168.0.241/api/search?q=library'curl -X GET --header 'Accept: application/json' 'https://172.16.100.216/api/search?q=library'curl -u "admin:ops@456" -X GET -H "Content-Type: application/json" '
2021-12-08 15:54:55 298
原创 ngrok
下载安装https://dashboard.ngrok.com/signupwget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zipunzip ngrok-stable-linux-amd64.zip认证./ngrok authtoken启动本地http 服务 这里启动的是 gitbook 也可以是nginx 或其他 http servergitbook serve --port=80启动 ./
2021-12-08 15:50:45 97
原创 opensips-yum安装
在线 yum 安装 opensipsyum -y install https://yum.opensips.org/3.0/releases/el/7/x86_64/opensips-yum-releases-3.0-5.el7.noarch.rpmcat /etc/yum.repos.d/opensips.repo [opensips]name=OpenSIPS - Open Source SIP proxy/server for el7 - $basearchbaseurl=https://
2021-12-08 15:30:56 962
原创 linux-systemctl
1 列出所有开机自启动的服务systemctl list-unit-files --type=service | grep enabled
2021-12-08 15:28:10 378
原创 linux-终端工具
新建screenscreen -S screenNamescreen -ls退出当前screenctrl a d再次连接 screenscreen -r screenName
2021-12-08 15:25:24 482
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人