宝塔是一款Linux可视化软件 1.一键安装 apt-get install wget && wget -O install.sh http://download.bt.cn/install/install_6.0.sh && bash install.sh 2.卸载 1)打开shell终端,输入命 ...
分类:
系统相关 时间:
2021-06-11 18:10:52
阅读次数:
0
1. Service Service对象的IP地址也称为Cluster IP,是一种虚拟IP地址,能被同一集群的Pod资源所访问。Service端口用于接收客户端请求并将其转发至其后端的Pod中应用的相应端口之上。这种代理称为“端口代理”或四层代理,它工作于TCP/IP协议栈的传输层。 Servic ...
分类:
其他好文 时间:
2021-06-11 18:10:35
阅读次数:
0
一个新的需求,需要在shell脚本中退出当前登录用户 方式一 #!/bin/bash I=$(tty |awk -F '/dev/' '{print $2}') pkill -kill -t $I 方式二 #!/bin/bash I=$(who am i|awk '{print $2}') pkil ...
分类:
系统相关 时间:
2021-06-11 17:45:51
阅读次数:
0
一,打开xshell,连接上 输入指令:mysql -h 192.168.10.120 -u root -p 回车,-h后面是数据库hostname,-u后面是数据库用户名,-p后面是密码 1 root@VM-0-12-centos[14:05:47]:~ 2 $ mysql -h ** -u ** ...
分类:
数据库 时间:
2021-06-10 18:40:18
阅读次数:
0
只是简单测试使用的话,在系统上操作就行,tina默认使用 procd-init 并在其中集成了喂狗功能,所以要先关了自带的喂狗功能。 先让procd停止喂狗: ubus call system watchdog '{"magicclose": true}' ubus call system watc ...
分类:
系统相关 时间:
2021-06-10 18:29:23
阅读次数:
0
#!/bin/bash#echo "vm.swappiness = 0">> /etc/sysctl.confswapoff -a && swapon -asysctl -psystemctl stop firewalld.servicesystemctl disable firewalld.ser ...
分类:
数据库 时间:
2021-06-08 23:43:55
阅读次数:
0
本文参考https://blog.csdn.net/df0128/article/details/80953755 1.用户参数 在应用的时候使用${username}即可。用户参数相比Csv data set config的弊端在于,不适合取值范围非常大。 2.Bean Shell PreProc ...
分类:
其他好文 时间:
2021-06-08 23:13:51
阅读次数:
0
IReadOnlyList<string> networkAccIds = Windows.Networking.NetworkOperators.MobileBroadbandAccount.AvailableNetworkAccountIds; string myNetworkAccountId ...
分类:
其他好文 时间:
2021-06-08 22:32:09
阅读次数:
0
方法一: certutil -urlcache -split -f http://xx.xx.xx.xx/test.zip c:\test.zip (windows远程下载文件至本地,仅需要一个cmd执行的地方) 方法二: curl http://xx.xx.xx.xx/test.zip -o c: ...
str.format() 作用:替换str中的替代变量。 “I am {}”.format("NIcklas") https://blog.csdn.net/jpch89/article/details/84099277 ...
分类:
编程语言 时间:
2021-06-07 20:58:05
阅读次数:
0