728x90
3. 시스템 시작시 공유폴더가 설정되도록 하자. 시작 프로그램 등록
shell> vi /etc/rc.d/rc.local
# 추가할 내용
mount -t vboxsf vm_projects /home
파일저장
실행권한 추가
shell> chmod u+x /etc/rc.d/rc.local
이제 재부팅이 되어도 공유폴더 적용이 된다.
끝!!!
sh 파일을 만들어서 사용하고 싶다면https://huningyo.tistory.com/128
centos7 시작프로그램 등록
centos7 부팅시 자동 실행되도록 설정을 해보자 /root/mount_vm_projects.sh 이파일을 부팅시 자동시작 되도록 할것이다. sh 파일 실행권한 확인 필수!!! rc.local 파일을 편집하자 shell>cd
huningyo.tistory.com
728x90
'리눅스 헛다리 > Centos7' 카테고리의 다른 글
centos7 deamon 사용하기 (0) | 2025.02.06 |
---|---|
centos7 sudo yum update -y 안될때 YUM 저장소 설정 수정 (0) | 2024.12.22 |
virtualBox_centos7 윈도우 폴더 공유 002 (1) | 2024.02.24 |
virtualBox_centos7 윈도우 폴더 공유 001 (0) | 2024.02.24 |
centos7 시작프로그램 등록 (0) | 2024.02.20 |