Download Fedora Repo
wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
Install repo
rpm -Uvh epel-release-*.rpmInstall php-mcrypt
yum -y install php-mcrypt
#pkginfo -x | grep -i samba
SUNWsmbac samba - A Windows SMB/CIFS fileserver for UNIX (client)
SUNWsmbar samba - A Windows SMB/CIFS fileserver for UNIX (Root)
SUNWsmbau samba - A Windows SMB/CIFS fileserver for UNIX (Usr)
#pkgchk -l SUNWsmbar | grep conf-example
Pathname: /etc/samba/smb.conf-example
#svcs -a | grep samba
disabled 22:56:55 svc:/network/samba:default
#svcadm enable samba
#smbpasswd -a userปล2.disable service
#svcadm disable samba
https://www.kernel.org/pub/software/network/tftp/tftp-hpa/
tftp-hpa-5.2/tftp/tftp
tftp 192.168.1.1 -c get /path_file/filename.txt
yum install -y tftp-serverไฟล์ config ของ tftp-server อยู่ที่
vi /etc/xinetd.d/tftpตัวอย่างไฟล์ config
folder จะต้อง chmod 755 /var/myuploadfile
chown nobody /var/myuploadfile
service xinetd startเพิ่มให้ service auto start
chkconfig xinetd on
Sep 6 21:53:27 localhost in.tftpd[4706]: sending NAK (0, Permission denied) to 192.168.10.62ให้ลอง
restorecon -Rv /var/myuploadfile
setenforce 0
chkconfig rsync on