会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
IT教主
博客园
首页
新随笔
联系
订阅
管理
2021年1月7日
centOS7切换用户
摘要: su root su username
阅读全文
posted @ 2021-01-07 10:33 IT教主
阅读(204)
评论(0)
推荐(0)
编辑
Linux查看用户
摘要: Linux查看用户名称cut -d: -f1 /etc/passwd cat /etc/passwd
阅读全文
posted @ 2021-01-07 10:30 IT教主
阅读(174)
评论(0)
推荐(0)
编辑
2021年1月1日
linux如何查看端口被哪个进程占用
摘要: 查看所有网络端口 netstat -an [root@xxxxx~]# netstat -anActive Internet connections (servers and established)Proto Recv-Q Send-Q Local Address Foreign Address
阅读全文
posted @ 2021-01-01 13:04 IT教主
阅读(1765)
评论(0)
推荐(0)
编辑
宝塔linux面板重启、重置等命令
摘要: 安装宝塔Centos安装脚本 yum install -y wget && wget -O install.sh http://download.bt.cn/install/install.sh && sh install.sh Ubuntu/Deepin安装脚本 wget -O install.s
阅读全文
posted @ 2021-01-01 12:37 IT教主
阅读(7507)
评论(0)
推荐(0)
编辑
linux centos7配置防火墙
摘要: ##Centos7 防火墙打开端口号 firewall-cmd --zone=public --add-port=3306/tcp --permanent #下面3行是参数说明 #–zone #作用域 #–add-port=80/tcp #添加端口,格式为:端口/通讯协议 #–permanent #
阅读全文
posted @ 2021-01-01 12:35 IT教主
阅读(123)
评论(0)
推荐(0)
编辑
公告