1qxm19 IP属地:河北

文章 关注 粉丝 访问 贡献
 
共 78 篇文章
显示摘要每页显示  条
[root@web02 ~]# lsmod |egrep "nat|filter|ipt"nf_nat_ftp 3443 0nf_conntrack_ftp 11953 1 nf_nat_ftpiptable_nat 5923 0nf_nat 22676 2 nf_nat_ftp,iptable_natipt_REJECT 2351 2nf_conntrack_ipv4 9154 5 iptable_nat,nf_natnf_conntrack 79206 6 nf_nat_ftp,nf_conntrack_ftp,iptable_nat,nf_nat,nf_conntrack_ipv4,xt_stateipt...
https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-7.9p1.tar.gztar xf openssh-7.9p1.tar.gzcd openssh-7.9p1.# 修改开机启动文件sed -i \''''''''25cSSHD=/usr/local/sbin/sshd\'''''''' /etc/init.d/sshdsed -i \''''''''41...
Linux 系统修改 open files 无效。$ vi /etc/security/limits.conf* soft nofile 65535* hard nofile 65535.$ vi /etc/systemd/system.conf# 分别设置软硬限制:<Soft Limit>:<Hard Limit>DefaultLimitNOFILE=65535:65535# 同时设置软硬限制DefaultLimitNOFILE=65535.一些系统服务是通过 /etc/init.d/ 下的脚本启动的,启动脚本可...
[root@sdw4 ~]# iscsiadm -m node -T iqn.1992-08.com.netapp:sn.c05a581c293b11eabfc4d039ea089e57:vs.10 -p 10.2.1.108 --logout Logging out of session [sid: 2, target: iqn.1992-08.com.netapp:sn.c05a581c293b11eabfc4d039ea089e57:vs.10, portal: 10.2.1.108,3260] Logout of [sid: 2, target: iqn.1992-08.com.netapp:sn.c05a581c293b...
实际内存占用:used-buffers-cached 即total-free-buffers-cached.A buffer is something that has yet to be “written” to disk. A cache is something that has been “read” from the disk and stored for later use 第3行: 第三行所指的是从应用程序角度来看,对于应用程序来说,buffers/cached 是等于可用的,因为buffer/cached是为了...
Linux查看物理CPU个数、核数、逻辑CPU个数。# 总核数 = 物理CPU个数 X 每颗物理CPU的核数 # 总逻辑CPU数 = 物理CPU个数 X 每颗物理CPU的核数 X 超线程数# 查看物理CPU个数cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l# 查看每个物理CPU中core的个数(即核数)cat /proc/cpuinfo| grep "cpu cores"| uniq# 查看...
/etc/vsftpd/vsftpd.conf:vsftpd 的核心配置文件。anonymous_enable=NO #允许匿名用户访问为了安全选择关闭local_enable=YES # 允许本地用户登录write_enable=YES # 是否允许写入local_umask=022 # 本地用户上传文件的umaskdirmessage_enable=YES #为YES则进入目录时显示此目录下由message_file选项指定的文本文件(,默认为.message)的内...
iptables -P INPUT DROPiptables -P FORWARD DROPiptables -P OUTPUT DROP.iptables -A INPUT -p tcp --dport 22 -j ACCEPTiptables -A OUTPUT -p tcp --sport 22 -j ACCEPT.# iptables -A INPUT -p tcp -m multiport --dports 21,20,25,53,80 -j ACCEPT 【多端口匹配】# iptables -A INPUT -p tcp --dport 20: -j ACCEPT# iptables -A INPUT -...
iptables查看、添加、删除规则。[root@test ~]# iptables -nv --line-numberiptables v1.4.7: no command specifiedTry `iptables -h'''''''' or ''''''''iptables --help'''''''' for more information.[root@test ~]# iptables -nL --line...
帮助 | 留言交流 | 联系我们 | 服务条款 | 下载网文摘手 | 下载手机客户端
北京六智信息技术股份有限公司 Copyright© 2005-2024 360doc.com , All Rights Reserved
京ICP证090625号 京ICP备05038915号 京网文[2016]6433-853号 京公网安备11010502030377号
返回
顶部