본문 바로가기

2009/118

[스크랩]apt-get 사용법랩 출처: http://www.qdata.co.kr/bo/bbs/board.php?bo_table=lqa&wr_id=200 apt는 최신 패키지를 다운로드 하여 설치하게 되는데 upgrade 하기전에 update 해서 source.list 를 갱신 하는것이 좋다. 1. 패키지 캐쉬 갱신 및 자동 업그레이드 # apt-get update # apt-get upgrade 2. 개별 패키지 설치 # apt-get install 3. 원하는 패키지 찾기 # apt-cache serach 4. 원하는 패키지 찾은 다음 정보 출력 # apt-cache show 5. 의존성 검사 수행하면서 업그레이드 # apt-get -s dist-upgrade 6. 설치한 패키지에 이상이 있어 다시 설치시 # apt-get --rei.. 2009. 11. 26.
[ubuntu 9.10]nfs 서버 설정 설치 #sudo apt-get install nfs-kernel-server nfs-common portmap 설정파일 #sudo vi /etc/exports 추가내용 /home/jinoo 10.*.*.*(rw,no_root_squash,no_all_squash,async,no_subtree_check) 재가동 sudo /etc/init.d/portmap restart sudo /etc/init.d/nfs-kernel-server restart sudo /etc/init.d/portmap restart 추가된 directory 반영 #sudo exportfs -r 마운트 mount -t nfs -o nolock 192.168.1.2:/home/jinoo /mnt/nfs 2009. 11. 7.
[ubuntu 9.10]telnet 서버 설정 설치 #sudo apt-get install telnetd 시작 #sudo /etc/init.d/openbsd-inetd start 2009. 11. 7.
[ubuntu 9.10]samba server 설치 설치 #sudo apt-get install samba smbfs 설정 파일 #sudo vi /etc/samba/smb.conf [global] #한글 지원 dos charset = CP949 display charset = UTF8 unix charset = UTF8 # 유저에 대한 삼바 공유 폴더 설정 [jinoo] comment = jinoo samba path = /home/jinoo writeable = yes browseable = yes guest ok = no create mask = 0644 directory mask = 0755 삼바 사용자 등록 #sudo smbpasswd -a jinoo 삼바 재실행 #sudo /etc/init.d/samba restart 2009. 11. 7.