RHCE6 Preperation (7) – vsftp,ISCSI,SMB

1, control the FTP access the system, Clients within the example.com domain should have anonymous FTP access to your machine, Clients outside example.com should NOT have access to your FTP Service modify the /etc/hosts.allow vsftpd: .example.com modify the /etc/hosts.deny vsftpd: ALL start the vsftpd and make it auto on /etc/init.d/vsftpd start chckconfig vsftpd on 2, connect to ISCSI target from instructor.example.com, you should mount this filesystem to /mnt/iscsi directory and automatically useable at system boot time check the iscsi (iscsi-initiator-utils) installed or not, if not installed, needs to install, rpm –qa |grep iscsi-initiator-utils yum –y install iscsi-initiator-utils discover the iscsi, and after the command, it will display the iqn text for the usage in the next command, iscsiadm -m discovery -t st -p 192.168.0.254 login to iscsi server, iscsiadm -m node -T iqn.2010-09.com.example:rdisks.server3 -p 192.168.0.254 -l check the iscsi attached or not, dmesg |tail fdisk -l format the attached iscsi, by fdisk /dev/sdb, then n,p,1,