본문 바로가기

우분투

우분투 11.04 PostgreSQL 9.X 설치하기. postgresql.org 에서 배포하고 있는 bin 파일을 다운받아서 실행해봤는데 에러가 나면서 설치가 안 된다. 그래서 나온 apt-get을 이용해서 설치하기로 함. 0. 준비작업 postgresql repository 등록 및 apt update apt-get install python-software-properties add-apt-repository ppa:pitti/postgresql sudo apt-get update 1. 설치 설치할 때 버전 확인을 필요로 할 때 검색 하는 방법 1 . apt-get search postgresql 2. apt-get install post까지만 치고 tab키를 누른다. sudo apt-get install postgresql-9.1 ( 현재 최신 버전이.. 더보기
우분투 11.04 Java 설치하기 나에게 필요한 jdk 버전은 jdk1.6.0_u17 64bit 버전이다. 따라사 apt-get을 통한 java 설치를 할 수 없다. 그래서 내린 결론은 우분투에 ftp server를 설치하고 ftp를 이용해서 필요한 jdk를 upload 한 후 설치하기로 햇다. 인터넷에서 jdk-6u26-linux-x64.bin를 다운 받는다. (Linux x64 - Self Extracting Installer 버전) JDK 설치 설치 위치는 /usr이다 sh ./jdk-6u26-linux-x64.bin 디렉토리 이름 변경 usr/jdk-6u26-linux-x64 비슷하게 폴더가 생긴다. 이름을 간단하게 바꾼다. rm jdk-6u26-linux-x64.bin jdk1.6_u26 환경 설정 파일은 /etc/profile.. 더보기
우분투 11.04 FTP 서버 설치하기. 대표적으로 vsftpd 를 사용한다고 한다. 그래서 vsftpf를 설치. 1. VSFTPD 설치하기 sudo apt-get install vsftpd 2. 환경 설정하기 vi /etc/vsftpd.conf 이하 부분 수정한다. # If you allow anonymous login then anonymous_enable=YES -- 필요할 수도 안 할 수도.. # If you do not allow anonymous login then #anonymous_enable=NO local_enable=YES write_enable=YES 3. FTP 서버 시작하기 sudo /etc/init.d/vsftpd restart 4. test ftp localhost name : anonymous passs : a@.. 더보기
우분투 11.04 서버 network ip 및 nameserver 설정. network 정보 보기 : sudo lshw - class network *-network description: Ethernet interface product: BCM4401-B0 100Base-TX vendor: Broadcom Corporation physical id: 0 bus info: pci@0000:03:00.0 logical name: eth0 version: 02 serial: 00:15:c5:4a:16:5a size: 10MB/s capacity: 100MB/s width: 32 bits clock: 33MHz capabilities: (snipped for brevity) configuration: (snipped for brevity) resources: irq:17 memor.. 더보기