08 2023 档案

摘要:为服务器的安全建议开启服务器。那么问题来了,服务器的服务不关闭防火墙访问不了。那么就来了解一下,服务器放行特殊端口的命令吧。 #首先查看防火墙状态firewall-cmd --state如果出现如下:表示已经关闭防火墙not running下面是centos7关闭防火墙的方法:关闭防火墙:syste 阅读全文
posted @ 2023-08-29 15:45 花花de代码生活 阅读(31) 评论(0) 推荐(0) 编辑
摘要:Docker 实践 查看系统的两大命令 #发行版[root@localhost ~]# cat /etc/redhat-release CentOS Linux release 7.9.2009 (Core)#内核[root@localhost ~]# uname -r 3.10.0-1160.el 阅读全文
posted @ 2023-08-27 15:26 花花de代码生活 阅读(9) 评论(0) 推荐(0) 编辑
摘要:普通用户提权 [test@ahu ~]$ whoami test //登陆到普通用户,发现创建不了其他用户 [test@ahu ~]$ useradd aaa -bash: /usr/sbin/useradd: Permission denied 进行身份变换 [test@ahu ~]$ mkdir 阅读全文
posted @ 2023-08-27 15:10 花花de代码生活 阅读(27) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示