Category: Application(어플리케이션)

CentOS7, TFTP server 설치 사용하기.

CentOS7, TFTP server 설치 사용하기. 작업환경: CentOS 7, firewalld 사용안함, selinux 사용안함. tftp서버는 xinetd에 의해 제어되기때문에, xinetd도 함께 설치해야한다. # yum install tftp-server xinetd xinetd의 tftp 설정확인.(기본 tftp root 디렉토리를 변경하려면, 아래 14번 줄의 /var/lib/tftpboot를 변경하면된다.) # cat /etc/xinetd.d/tftp # default: off # description: The tftp server serves files using the trivial file transfer \ …

Continue reading

vsphere client에서 guest os cpu/memory hot plug 설정

VMware 6.0에서 VM 리소스가 부족한경우 온라인 상에서 CPU/Memory를 증설 가능하다. 설정환경: vSphere client 6.0 설정전 확인사항:Guest 는 하드웨어 버전 7 이상이어야 한다.Guest OS에 VMware Tools 가 설치되어 있어야한다.Guest OS의 전원은 꺼진 상태 가상시스템->설정편집 선택

Continue reading

CentOS7, apache-tomcat9 포트를 80으로 변경하는 방법

이전 글CentOS7에 tomcat 9 설치 이후에, tomcat 기본 포트인 8080포트를 80번으로 아래와 같이 변경하였다. server.xml 설정 <Connector port=”80″ protocol=”HTTP/1.1″ connectionTimeout=”20000″ redirectPort=”8443″ URIEncoding=”UTF-8″ /> 하지만, tomcat이 80번 포트로 접속되지 않았고, ss 결과 아래처럼 80 포트 listen이 보이지 않는다. # ss -ant State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 *:22 *:* LISTEN 0 100 …

Continue reading

CentOS 7에 tomcat 9 설치

CentOS 7.2 에서 yum으로 tomcat을 설치하면 tomcat 7 이 설치된다. 현재 tomcat은 9버전 이 최신 버전이고 이를 설치하려면 아래와 같이 진행하면 된다. 1. tomcat 다운로드 # curl -O http://mirror.apache-kr.org/tomcat/tomcat-9/v9.0.13/bin/apache-tomcat-9.0.13.tar.gz 2. 다운로드 받은 화일의 압축을 풀고 /opt 디렉토리로 이동한다.(/opt/tomcat에 설치) # tar xvzpf apache-tomcat-9.0.13.tar.gz # mv apache-tomcat-9.0.13 /opt # cd /opt; mv apache-tomcat-9.0.13 tomcat

Continue reading

ubuntu 18.04 apache2, php7.2에서, AH01630 발생

증상: 사이트 접속하면 php 실행되지 않고, access denied 발생. 아파치 서버 에러 로그에 아래와 같이 AH01630 보임. [Fri Nov 30 11:10:24.213924 2018] [authz_core:error] [pid 10214] [client 39.7.50.223:36708] AH01630: client denied by server configuration: /home/blog/public_html/php.php

Continue reading

ubuntu 리눅스에 git 서버 설치하고 사용하기.

ubuntu 18.04 LTS Git 서버 만들고 사용하기. git 서버: ubuntu 18.04에 설치 윈도우PC: windows 버전 설치는 생략하였음. 1. git-core 설치 snowfox@fox:~$ sudo apt-get install git-core 2. git user 생성 ssnowfox@fox:~$ sudo useradd -d /home/git -m -c “MyGit” -s /bin/bash git snowfox@fox:~$ sudo passwd git Enter new UNIX password: Retype new UNIX password: passwd: password updated …

Continue reading

ubuntu server 18.04 LTS 에 apache2, django, mod_wsgi 설치

ubuntu server 18.04 LTS 에 apache2, django, mod_wsgi 설치 우분투서버는 최초 설치한 상태. 1. ubuntu 18.04에는 python3.6.5가 설치되어 있다. 이 버전을 그냥 사용하기위해 아래 명령어로 아파치웹서버와 mod_wsgi를 설치한다. snowfox@fox:~$ sudo apt-get install python3-pip apache2 libapache2-mod-wsgi-py3 2. 파이썬 virtual environment를 설정한다. 파이썬 virtual environment를 사용하기 위해 virtualenv를 설치한다. snowfox@fox:~$ sudo pip3 install virtualenv Collecting virtualenv Downloading …

Continue reading

apache2 , AH00023 에러.

CentOS 7에서 apache2 재실행 했을때 아래 오류 발생. [Wed Jul 04 12:15:03.580995 2018] [core:emerg] [pid 22739] (28)No space left on device: AH00023: Couldn’t create the rewrite-map mutex AH00016: Configuration Failed 아래 문서에 의하면, 공유메모리(shared memory)나 세마포(semaphore)같은 리소스가 부족해서 발생한다고 한다. 관련 커널 파라메터를 수정하는 방법과, 아파치 프로세스에 의해 남은 semaphore를 ipcrm 명령어로 삭제하면 된다.(처리는 참고 …

Continue reading

macOS high sierra 업그레이드 후 파이널컷 사용 문제.

macOS를 macOS High Sierra로 업그레이드 한 후에, 파이널컷 프로를 사용하려면 앱스토어에서 업데이트 하라는 메시지가 나오며, 아이콘도 아래 그림처럼 바뀌어 버린다.

Continue reading

CentOS 7 iSCSI target

CentOS 7 에서는 iSCSI target이 targetcli로 바뀜(이전은 tgtd). 간단정리. 참고문서 : http://www.itzgeek.com/how-tos/linux/centos-how-tos/configure-iscsi-target-initiator-on-centos-7-rhel7.html https://www.server-world.info/en/note?os=CentOS_7&p=iscsi 1. iscsi target 설치 : yum install targetcli 설정 : targetcli 명령을 내리면 쉘 열림. 여기서 설정하고 끝내면 설정은 /etc/target/saveconfig.json 에 저장됨. 2. iscsi initiator는 기존 CentOS6과 동일함.