메뉴 건너뛰기

리눅스 관련 모음

본문시작

조회 수 17552 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄

국산 통나무 수공예 남원제기, 남원목기

자료가 도움이 되셨다면
혼수용품제수용품 필요시
남원제기 공식 홈페이지 http://남원제기.kr
남원목기 공식 홈페이지 http://otchil.kr
에서 구매 해 주세요
정성껏 모시겠습니다.
 

레드햇이 아닌 리눅스에서 미드나잇 커맨더(Midnight Commander)를 별도로 설치해서 사용하는 경우

mc를 실행하여 이런저런 작업 후 종료하면 처음 실행한 디렉토리로 pwd가 바뀌는 문제가 있다.

레드햇의 경우는 mc가 기본으로 포함되어 있어서 원래 디렉토리로 복귀되지 않도록 기본설정이 되어 있으나

다른 리눅스에서 별도로 mc를 설치하여 사용하면 이부분에 대한 기본설정이 되어 있지 않기 때문이다.

따라서 mc 사용후 종료시 이동해 있는 디렉토리로 현재 위치를 별도로 옮겨주는 쉘을 추가해 주어야 하는데

mc 설치시 기본포함된 mc-wrapper.sh 파일에 이 부분에 대한 명령어가 정의되어 있다.

 

간단한 기본설정 변경으로 이 문제를 해결할 수 있다.

 

2014년 10월 16일 CentOS 7.0 설치 후 해결한 방법

MC(미드나잇 커맨드) 메뉴에서

선택항목  > panel options 

[X] 디렉토리 빨리 다시 읽기  -->  체크

[X] Auto save panel setup   --> 체크        %%% 해결완료


====================================================


아래의 방법은 2013년 6월 기준으로 해결한 방법이었으나

현재 2014년 10월 16일 CentOS 7.0 설치후 적용하였으나 해결되지 않았다.


[bash쉘 기준]

 

root 계정만 설정하기

/root/.bashrc 파일에 아래 내용 추가

alias mc='. /usr/local/share/mc/bin/mc-wrapper.sh'

 

root 로그아웃 후 재접속

 

 

 

전체계정에 설정하기

/etc/profile 파일에 아래 내용 추가

alias mc='. /usr/local/share/mc/bin/mc-wrapper.sh'

 

mc-wrapper.sh 파일에 실행권한 주기

chmod +x /usr/local/share/mc/bin/mc-wrapper.sh

 

mc의 설치 위치가 다를 경우나 mc-wrapper.sh 파일의 위치가 다를 경우 해당 경로를 find로 검색하여 정확한 위치를 추가해야 한다.

   

  1. httpd-2.4.4 httpd.conf 설정 옵션 변경.

    Date2013.06.13 Category설치관련 By햇빛소년 Views14027
    Read More
  2. procmail 소스설치

    Date2013.07.24 Category설치관련 By햇빛소년 Views14503
    Read More
  3. The ClamAV Plugin --> clamav.cf , clamav.pm

    Date2013.07.07 Category설치관련 By햇빛소년 Views14886
    Read More
  4. rewrite 도메인 포워딩

    Date2013.06.22 Category설치관련 By햇빛소년 Views15163
    Read More
  5. ssh 포트변경 및 iptables 수정

    Date2013.06.25 Category설치관련 By햇빛소년 Views15264
    Read More
  6. rsync 를 이용한 원격 서버 백업하기.

    Date2013.07.01 Category에러해결 By햇빛소년 Views15579
    Read More
  7. sendmail[8569]: auxpropfunc error invalid parameter supplied

    Date2013.07.11 Category에러해결 By햇빛소년 Views15704
    Read More
  8. rsync 백업 설정이 확실하게 되었는데도 백업이 되지 않는 다면.....

    Date2013.06.30 Category에러해결 By햇빛소년 Views15944
    Read More
  9. spamassassin 에러 Can't locate Mail/SpamAssassin/CompiledRegexps/body 0.pm in @INC

    Date2013.06.24 Category에러해결 By햇빛소년 Views16052
    Read More
  10. php.ini설정 에러 모음.

    Date2013.06.18 Category에러해결 By햇빛소년 Views16255
    Read More
  11. [bind] DNSSEC 구축방법

    Date2013.07.07 Category설치관련 By햇빛소년 Views16485
    Read More
  12. error: wrong mysql library version or lib not found.

    Date2014.03.16 Category에러해결 By햇빛소년 Views16601
    Read More
  13. [sendmail: clamav-milter error] Milter: data, reject=451 4.3.2 Please try again later

    Date2013.06.27 Category에러해결 By햇빛소년 Views16919
    Read More
  14. rndc-confgen — rndc key generation tool

    Date2013.05.31 Category설치관련 By햇빛소년 Views17376
    Read More
  15. TIFF 설피시 /usr/local/include/jmorecfg.h:263:16: error: expected identifier before numeric constant 에러

    Date2013.06.04 Category에러해결 By햇빛소년 Views17432
    Read More
  16. [MySQL] Incorrect integer value: '' for column '컬럼명' 오류 발생시

    Date2013.06.19 Category에러해결 By햇빛소년 Views17473
    Read More
  17. mc(미드나잇 커맨드) 종료시 처음 PWD로 바뀌는 문제 해결

    Date2013.06.09 Category에러해결 By햇빛소년 Views17552
    Read More
  18. clamav.cf --> Clamav Multiple Score

    Date2013.07.07 Category설치관련 By햇빛소년 Views18151
    Read More
  19. dovecot 설치 후 squirrelmail 가동하면 /.imap/INBOX, group=12(mail)) failed: Operation not permitted

    Date2013.06.30 Category에러해결 By햇빛소년 Views19293
    Read More
  20. php-5.4.16 컴파일시 checking for db4 major version... Header contains different version 에러

    Date2013.06.18 Category에러해결 By햇빛소년 Views19307
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 Next
/ 10