2012년 11월 7일 수요일

zypper install 안될 때

zypper install 패키지명 할 경우 설치가 안될 때가 있음

Failed to mount cd:///?devices=/dev/sr0  이런 말이 나오면서.

그러면
zypper mr --disable 1 

다시 설치하면 됨.

linux 모든 사용자 PATH

root 권한
/etc/skel 의 .bashrc 또는 .bash_profile 에서 path를 지정하면 새로 생기는 계정은 모두 동일 path 설정
즉, 계정 추가시의 template 역할을 함

이미 있는 계정의 경우
/etc/profile에서 PATH 관련 부분을 편집하면 모든 사용자의 PATH가 적용됨

시스템 관리자는 반드시 필요한 PATH를 /etc/skel/.bashrc 또는 .bash_profile 과 /etc/profile 파일에서 편집할 것

2012년 11월 2일 금요일

opensuse ftp

zypper install vsftpd
질문에 y

http://plusblog.tistory.com/416 참조
vi /etc/vsftpd.conf

여기서 아래의 세군데의 주석을 해제 하시고, 다음과 같이 세팅을 해줍니다.
==================== 편집기 ======================
anonymous_enable=NO
local_enable=YES
write_enable=YES
=================================================


데몬 시작
/etc/init.d/vsftpd restart

opensuse telnet

출처 : http://soldatj.blog.me/10093017714

root 로그인
zypper install telnet-server
질문 나오면 y
설치완료

vi /etc/xinetd.d/telnet
여기에서 disable = yes를 no로 수정

서비스 재시작
service xinetd restart

이제 접속 가능