linux 시스템 정보확인

cat /etc/*-release | uniq 명령어를 사용하면 시스템 정보를 확인 할 수 있다.

centos에서 gdal_landsat_pansharp 커멘드 사용하기

gina-alaska에서 제공하는 dans-gdal-scripts 사용 방법 1. 기본사용 방법    a. GitHub에서 dans-gdal-scripts를 검색하면 기본적으로 우분투를 사용해서 설치하는 방법을 제공한다.    b. 우분투 사용자라면 쉽게 설치를 할 수 있다. 하지만 centos 사용자에 대한 설치 방법은 제공하고 있지 않기 때문에 아래와 같이 하면 해결할 수 있다. 문제 : centos에서 dans-gdal-scripts 설치 안되는 문제 해결방법 : dans-gdal-scripts를 centos에서 사용하려면 기본적으로 gdal 과 boost lib를 설치해야 한다. (gdal의 사용법은 본 블로그에서 검색하면 알 수 있다.) boost lib는 yum으로 설치할 수 있으나 버전의 호환성을 가지기 때문에 나는 소스를 다운로드 받아 설치하였다.  http://www.boost.org/doc/libs/1_46_1/more/getting_started/unix-variants.html 경로를 통하면 boost 소스파일을 다운로드 받을 수 있고 또한 설치 방법도 소개하고 있기 때문에 따라하면 된다. boost 설치방법 1. 다운로드 받은 파일을 압축해제한다. 2. 압축해제한 폴더로 이동한다. 3. ./bootstrap.sh 또는  ./bootstrap.sh --prefix= path / to / installation / prefix 4.  ./bjam install 명령어를 실행하면 정상적으로 설치된다. gdal 과 boost가 정상적으로 설치되면 gans-gdal-scripts를 압축해제한 폴더에서 아래와 같은 명령어를 입력한다. 1. ./autogen.sh 2. ./configure # --prefix=/your/favorite/prefix 3. make 4. make install

scidb version 14.8 중단에 따른 14.12설치

scidb version 14.8 중단에 따른 14.12설치 원인 : Paradigm4에서 14.8을 이제 지원하지 않기로 했나보다, 기존에 설치되던 파일을 이용해서 설치했더니 에러가 나서 사이트에서 확인 했더니 정말 14.8관련된 ftp가 지워졌다.  해결방법 : 그래도 설치해야 되니 다음 버전으로 설치했다. 최신버전은 아니지만 회사에서 사용했던 경험이 있는 분의 도움으로 아래와 같이설치하면 된다.  설치방법 : scidb 14.12 설명서(pdf본)을 받으면 2가지 설치 방법에 대해서 설명한다. 1. single : 이 방법은 기본 설치 방법으로 여러대의 cluster를 사용하지 않고 한대로 간단한 테스트를 할 수 있는 정도의 환경을 꾸며주는 것으로 판단된다. 따라서 설치도 쉽고 간단하다.   #우분투를 이용한 설치 방법   wget https://downloads.paradigm4.com/scidb-14.12-repository.deb   dpkg -i scidb-14.12-repository.deb   apt-get update   apt-get install scidb-14.12-installer      #CentOS or RHEL   yum install -y https://downloads.paradigm4.com/scidb-14.12-repository.rpm   yum install -y scidb-14.12-installer 2. cluster   #클러스터는 설치 테스트를 진행하지 못 함

HP 서버 OS 설치시 HDD를 잡지 못하는 문제

HP 서버 OS 설치시 HDD를 잡지 못하는 문제 원인 : 1. HDD를 1개만 구매했을 경우 RAID를 만들지 못하기 때문에 서버구입 이후 최초 OS 설치시에 설정을 해줘야 한다. 2. 기본으로 설정 값이 RAID를 구성했을경우이기 때문에 정상적으로 HDD가 잡히지 않는다. 해결방법 1. 최초 부팅시 F9로 System Utility로 진입한다. 2. BIOS/Platform Configuration(RBSU) 메뉴 선택 3. System Option 선택 4. SATA Controller Option 선택 5. Enable STAT Configuration 선택 6. Enable SATA AHCI Support 으로 선택 7. 저장 그리고 나서 Boot모드를 UEFI에서 Leracy ~~ Mode를 선택하고 저장 후 리부팅 설치를 CD 또는 USB로 할지를 선택 후 OS 설치를 하면 정상적으로 HDD가 보이고 설치할 수 있다.

window hosts 설정

C:\Windows\System32\drivers\etc 아래에 hosts 파일에 수정하면 바로 적용된다. # Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # #      102.54.94.97     rhino.acme.com          # source server #       38.25.63.10     x.acme.com              # x client host # localhost name resolution is handled within DNS itself. # 127.0.0.1       localhost # ::1   ...

centos apache http 서버 구동시키기

<아파치를 이용해 파일을 http로 제공하기> <centos6.5> 설치하기 # yum -y install httpd* 시작하기 # service httpd start    or   # /etc/rc.d/init.d/httpd start apache 데몬 활성화 # chkconfig httpd on ( 서버 부팅 시 자동으로 Apache 데몬을 실행할 수 있게 추가 합니다) 설정파일 # vi /etc/httpd/conf/httpd.conf    <- 설정 파일 경로 설정파일 변경 # # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. # #DocumentRoot "/var/www/html" DocumentRoot "/home/inspace/TEST_WEB" # # This should be changed to whatever you set DocumentRoot to. # <Directory "/home/~~/~~"> # # Each directory to which Apache has access can be configured with respect # to which services and features are allowed and/or disabled in that # directory (and its subdirectories).  # # First, we configure the "default" to be a very restrictive set of...

python soap 사용하기

suds 라이브러리 설치 pip install <suds><- 정확하지 않다. 사용할 API 주소를 이요해서 client 생성 WSDL_URL = 'http://testIp.com:9090/test.asmx?WSDL' ws_clietn= wsClient(WSDL_URL) result=ws_client.service.TestAPI(0,0,"Collect Complete") TestAPI(int x, int y, string value) <--- 사용되는 API