首页
站点统计
技术支持
友链
关于我
Search
1
CentOS7官方停止支持,yum源变更
229 阅读
2
苹果笔记本实现用户登录钉钉通知功能
219 阅读
3
麒麟操作系统安装达梦数据库DM8 V8版本
208 阅读
4
Ubuntu22.04配置vsftp服务
190 阅读
5
台式电脑DIY配置单之2024.06
186 阅读
默认分类
电脑3C
Linux运维
生活杂谈
游戏娱乐
Windows专题
网络互联
登录
Search
标签搜索
PHP
Linux
麒麟OS
Win11
电脑
Typecho
Mac OS
雪中悍刀行
Redis
Joe
windows
祝福
SHELL
Mysql
达梦数据库
阿里云
SSH
CentOS
域名转移
网络
清阳
累计撰写
37
篇文章
累计收到
13
条评论
首页
栏目
默认分类
电脑3C
Linux运维
生活杂谈
游戏娱乐
Windows专题
网络互联
页面
站点统计
技术支持
友链
关于我
搜索到
1
篇与
SHELL
的结果
2025-01-08
Linux常用操作
Linux常用操作Linux常用操作主要包含Shell命令行等命令fail2ban封禁和解封指定IP#fail2ban把IP加入黑名单 fail2ban-client set sshd banip 1.1.1.1 #fail2ban把IP从黑名单移除 fail2ban-client set sshd unbanip 1.1.1.1 返回1为成功,0即表示规则没有发生变化,即操作失败(说明IP本来就在列表或者不在列表中)ulimit参数优化ulimit -a编辑 /etc/security/limits.confroot soft nofile 1024000 root hard nofile 1024000 root soft nproc 1024000 root hard nproc 1024000 * soft nofile 1024000 * hard nofile 1024000 * soft nproc 1024000 * hard nproc 1024000 * soft core unlimited * soft stack 10240立即生效命令:ulimit -uSHDebian12安装常用软件apt install locales-all -y apt install rsyslog -y systemctl start rsyslog systemctl enable rsyslog systemctl restart fail2ban.service systemctl status fail2ban.service apt update apt install command-not-found sudo strace iftop iotop -y apt install vim htop -y apt install netcat-openbsd htop wget curl mtr nmap tcpdump bind9-utils lrzsz rsync git -y apt install sysstatiftop iotop lsof strace -y apt install unzip unrar-free dos2unix tree tmux screen -y apt install nginx php php-fpm nodejs python3-pip redis-server -y apt install composer docker-compose -y apt install inotify-tools -y apt install fail2ban -y apt install php php-{fpm,mysql,curl,zip,xml,gd,mbstring,bcmath,soap,ldap,oauth,redis,yaml,gd,curl,pdo,dom,zip,xml} -y apt install python3-certbot-nginx certbot -ySSL证书常用操作openssl x509 -in /etc/letsencrypt/live/gmork.cc/cert.pem -text
2025年01月08日
37 阅读
0 评论
0 点赞