排序
5.4 NFS 网络文件系统
在Linux系统之间部署共享文件系统。 1.在linux服务器上配置安全策略 [root@dsrw ~]# iptables -F [root@dsrw ~]# iptables-save # Generated by xtables-save v1.8.2 on Wed Dec 21 21:18:57 20...
第12章 实用工具
1.man命令查看外部部命令帮助 [root@dsrw ~]# man ifconfig SYNOPSIS ifconfig [-v] [-a] [-s] [interface] ifconfig [-v] interface [aftype] options | address ... Address Families If the ...
13.7开启Linux的路由功能、设置防火墙和NAT
#ens192为外网网卡, ens160为内网网卡 [root@dsrw ~]# iptables -F [root@dsrw ~]# iptables -A FORWARD -i ens160 -j ACCEPT [root@dsrw ~]# iptables -t nat -A POSTROUTING -s 192.168.1.0/2...
13.6配置pptp配置文件
[root@dsrw ~]# vim /etc/pptpd.conf 105 localip 192.168.10.2 106 remoteip 192.168.1.2-238,192.168.1.245
4.2.2本地用户模式
1.配置本地用户模式模式,重新启动服务 [root@dsrw ~]# vim /etc/vsftpd/vsftpd.conf anonymous_enable=no local_enable=YES write_enable=YES local_umask=022 [root@dsrw ~]# systemctl resta...
11.5配置vsftpd服务程序
1.安装vsftpd服务程序 [root@dsrw tftpboot]# dnf install -y vsftpd Updating Subscription Management repositories. Unable to read consumer identity This system is not registered to Re...