随笔分类 - Linux
Linux operating system
摘要:现象: 非Root用户在使用sudo命令时,提示:"xxx is not in the sudoers file. This incident will be reported.(xxx为用户名) 解决办法: 使用 切换到root用户,编辑sudoers文件
阅读全文
摘要:Linux 命令行工具使用小贴士及技巧 ——(一) ============================================================ 相关内容 如果你刚开始在 Linux 系统中使用命令行工具,那么应该了解它是 Linux 操作系统中功能最强大和有用的工具之一
阅读全文
摘要:由于centos7之后将默认防火墙从原来的iptables更改为firewall。本文主要记录基于firewall的端口转发部署。 1、检查防火墙状态 systemctl status firewall 显示active(running)为正在运行,如果没有运行则需要执行: systemctl st
阅读全文
摘要:新建用户 >useradd nonroot //新建用户 >useradd nonroot //新建用户 >passwd nonroot //创建/修改nonroot用户密码 >passwd nonroot //创建/修改nonroot用户密码 >vim /etc/ssh/sshd_config >
阅读全文
摘要:现象:WEB无法访问、SSH无法登陆、桌面登陆验证失败。 重启服务器后登陆正常。 cat /var/log/message显示root用户创建了2000多个sessions后显示内存不足。 进入tomcat安装目录(~/home/tomcat7_X/logs/)查看日志localhosts_time
阅读全文

浙公网安备 33010602011771号