随笔分类 - Linux杂记
摘要:创建虚拟用户密码文件 [root@web01 vsftpd]# pwd /etc/vsftp [root@web01 vsftpd]# cat vir_user shyhftp shyhftp webftp HTCH@trade#2014 生产虚拟用户数据库 [root@web01 vsftpd]#
阅读全文
摘要:yum安装vsftpd [root@test ~]# rpm -qa|grep vsftpd yum install vsftpd -y 相关文件 [root@test /etc/vsftpd]# ll # 用于指定哪些用户不能访问FTP 服务器。 黑名单 ftpusers # 指定允许使用vsft
阅读全文
摘要:环境准备 | 主机 | 外网ip | 内网ip | | | | | | server | 10.0.0.101 | | | proxy | 10.0.0.102 | 172.16.1.102 | | agent01 | | 172.16.1.103 | | agent02 | | 172.16.1.
阅读全文
摘要:环境准备 | 主机 | 外网ip | 内网ip | | | | | | server | 10.0.0.101 | | | proxy | 10.0.0.102 | 172.16.1.102 | | agent01 | | 172.16.1.103 | | agent02 | | 172.16.1.
阅读全文
摘要:优化 # 防火墙 sudo systemctl disable firewalld.service sudo systemctl stop firewalld.service # 关闭selinux 2个路径哪个都可以进去修改 /etc/selinux/config /etc/sysconfig/s
阅读全文
摘要:Linux命令组成结构 Linux系统命令操作语法的格式为: #命令 [选项] [参数/路径] command [-options] [arguments] [root@eth0 ~]# ls #命令 [root@eth0 ~]# ls -a #命令+选项 [root@eth0 ~]# ls -a
阅读全文
摘要:第18章 Linux操作系统优化 [root@test ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth0 TYPE=Ethernet PROXY_METHOD=none BROWSER_ONLY=no BOOTPROTO=none DEFROUTE=
阅读全文