본문 바로가기

debian4

Debian / Ubuntu 에서 사용자 계정 추가/삭제 [사용자 추가]$ sudo useradd -d -G admin -m -s /bin/bash $ sudo passwd $ sudo useradd -m -s /bin/bash developer$ sudo passwd developer ---------------------------------------------------------------------------------Usage: useradd [options] LOGIN Options: -b, --base-dir BASE_DIR base directory for the home directory of the new account -c, --comment COMMENT GECOS field of the new account -d, --home-dir.. 2013. 12. 6.
Mysql 소스 컴파일 설치시 에러 해결(checking for termcap functions library... configure: error: No curses/termcap library found.) Mysql-5.0.27을 소스를 컴파일하여 설치할 때 다음과 같은 에러가 발생할 경우.... checking for termcap functions library... configure: error: No curses/termcap library found. 해결법.. aptitude install libncurses5-dev 패키지를 찾지 못한다고 메시지가 나오면.. aptitude update 명령어로 패키지 정보를 업데이트 시킨 후 다시 시도해보자~~ 그리고 다시 컴파일 하면 성공일 것이다^^ 2009. 7. 27.
리눅스(데비안)에서 SSH 설치, 설정하기 PuTTY이나 Tera Term 등 SSH 터미널을 사용하고 싶을 때 리눅스에서 SSH를 사용할 수 있도록 설정해야한다. 먼저 설치되어있는지 확인한다 # aptitude show ssh 설치 안되어 있으면 설치해보자~ # aptitude install ssh 설치 후 설정(선택사항) SSH터미널에서 Root권한으로 접속 제한하기 먼저 백업부터 하자 (백업하는 습관!!) # cp /etc/ssh/sshd_config /etc/ssh/sshd_config.default 에디터로 설정한다~ vim에디터 사용해서 수정 # vim /etc/ssh/sshd_config 또는 emacs에디터를 사용해서 수정 # emacs /etc/ssh/sshd_config 다음과 같이 수정하자 ------------------- .. 2009. 7. 26.
가상 머신 VirutualBox에서 Debian Lenny 에 Guest Additions 설치하기 버추얼박스(VirtualBox)에 데비안 Lenny를 인스톨 한 후에 Guest Additions를 설치하자. 게스트 에디션을 설치하면 해상도 자동조절, 마우스 자유이동 등 편리해진다.. 데비안 부팅 후, VirtualBox의 '장치' 메뉴에서 '게스트 확장설치'를 클릭한다. 바탕화면에 CD-ROM 드라이브가 표시된다. 터미털 실행해서 root 권한으로 아래 명령어를 실행한다. # cd /cdrom # sh VBoxLinuxAdditions-x86.run 아마,,, 에러가 났을 것이다. # Verifying archive integrity... All good. # Uncompressing VirtualBox 2.2.2 Guest Additions for Linux installation...... # .. 2009. 7. 9.