摘要:
1、在linux终端输入ss -lnt查看以打开端口情况 2、关闭防火墙 sudo service iptables stop (视权限而定) 3、重启ssh服务 sudo service sshd restart 阅读全文
posted @ 2020-11-09 11:39
缘随风烬
阅读(2439)
评论(0)
推荐(0)
摘要:
一、开机自启 1、编写要实现开机自启的文件。~vim xxx.py 2、找到该文件的绝对路径。pwd 3、打开/etc/rc.d/rc.local文件 sudo vim /etc/rc.d/rc.local获取sudo vim /etc/rc.local 4、编写内容。 以py文件为例: #!/bi 阅读全文
posted @ 2020-11-09 11:23
缘随风烬
阅读(3404)
评论(0)
推荐(0)
浙公网安备 33010602011771号