摘要:
$ip a 看见系统中有两块网卡 lo: ...... ens33: ...... #cd /etc/netplan$ls目录下面有文件01-network-manager-all.yaml $sudo vim 01-network-manager-all.yaml 文件内容类似如下 一定要注意ya 阅读全文
posted @ 2020-05-23 14:12
cnlovefish
阅读(579)
评论(0)
推荐(0)
摘要:
$sudo which iptables /usr/sbin/iptables说明有安装 如果没有安装,那么使用sudo apt-get install iptables 安装。 刚装机,是这个样子。 $sudo iptables -LChain INPUT (policy DROP)target 阅读全文
posted @ 2020-05-23 14:11
cnlovefish
阅读(611)
评论(0)
推荐(0)
摘要:
$sudo vi /lib/systemd/system/rc-local.service内容如下[Unit]Description=/etc/rc.local CompatibilityDocumentation=man:systemd-rc-local-generator(8)Condition 阅读全文
posted @ 2020-05-23 14:10
cnlovefish
阅读(579)
评论(0)
推荐(0)
摘要:
easyswoole项目的 vendor/easyswoole/socket/这个项目怎么都无法添加到git目录里面。 报错: Administrator@PhpServer MINGW64 /z/wwwroot/dating (develop)$ git add ./vendor/easyswoo 阅读全文
posted @ 2020-05-23 14:09
cnlovefish
阅读(270)
评论(0)
推荐(0)
摘要:
server.php <?php class Server { private $serv; private $logFilePath = "/data/wwwroot/houtai/Log/taskqueueu.log"; public function __construct() { $this 阅读全文
posted @ 2020-05-23 14:08
cnlovefish
阅读(344)
评论(0)
推荐(0)
摘要:
合并分支或者git pull命令的时候遇到: Updating 7c9e086..936acacerror: The following untracked working tree files would be overwritten by merge:Common/HFHttpRequest/H 阅读全文
posted @ 2020-05-23 13:58
cnlovefish
阅读(2479)
评论(0)
推荐(0)
摘要:
#mkdir /home/redishome#mkdir /home/redishome/data#chmod -R 777 /home/redishome把redis.conf传到/home/redishome目录下 # docker search redis docker pull redis 阅读全文
posted @ 2020-05-23 13:55
cnlovefish
阅读(126)
评论(0)
推荐(0)
摘要:
相信不少SecureCRT的新手都有过这样的困扰:SecureCRT 超时自动断开连接 很影响工作 解决办法: Options->Session Options->Terminal->Anti-idle->勾选Send protocol NO-OP (中文版:选项->会话选项->终端->发送协议NO 阅读全文
posted @ 2020-05-23 13:50
cnlovefish
阅读(1176)
评论(0)
推荐(0)
摘要:
samba的用途:有的时候,我们需要在centos7 的文件能共享给其他机器。 rpm -qa|grep samba yum install -y samba setenforce 0 sed -i 's/SELINUX=enforcing/SELINUX=disabled/' /etc/selin 阅读全文
posted @ 2020-05-23 13:45
cnlovefish
阅读(694)
评论(0)
推荐(0)
摘要:
参考https://blog.csdn.net/qq_32744005/article/details/105606383 go get google.golang.org/grpc go get -u github.com/golang/protobuf/{proto,protoc-gen-go} 阅读全文
posted @ 2020-05-23 13:41
cnlovefish
阅读(951)
评论(0)
推荐(0)
浙公网安备 33010602011771号