SVD

심플디 2015.11.13 12:15 조회 수 : 5

 

vi /etc/rc..local



touch /var/lock/subsys/local


mount -t ext4 /dev/sda1 /media/svd_doc
mount -t ext4 /dev/sdc /media/svd_vid

# DOC
        mount --bind /media/svd_doc /home/svd/media/svd_doc

# VID
        mount --bind /media/svd_vid /home/svd/media/svd_vid

# Scan
        mount --bind /media/svd_doc/SCAN /home/svd/svd


chmod 777 -R /home/svd/

setenforce 0


setsebool -P ftp_home_dir = 1
service smb restart
service nmb restart
service iptables restart
service httpd restart
service mysqld restart
modprobe ip_conntrack_ftp