-
<Zabbix> 5.0 LST_postgresql_nginx 설치 (on CentOS7)Flower in my ops/OpenSource 2020. 11. 17. 15:08
$ rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm $ yum clean all $ yum install zabbix-server-pgsql zabbix-agent $ yum install centos-release-scl $ vim /etc/yum.repos.d/zabbix.repo [zabbix-frontend] name=Zabbix Official Repository frontend - $basearch baseurl=http://repo.zabbix.com/zabbix/5.0/rhel/7/$basearch/frontend enabled=1 gpgcheck=1 gpgkey=file..
-
<CentOS7> Postgresql12 설치Flower in my ops/Linux 2020. 11. 17. 12:44
$ sudo yum install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-7-x86_64/pgdg-redhat-repo-latest.noarch.rpm $ sudo yum install -y postgresql12-server $ sudo /usr/pgsql-12/bin/postgresql-12-setup initdb Initializing database ... OK $ sudo systemctl enable postgresql-12 Created symlink from /etc/systemd/system/multi-user.target.wants/postgresql-12.service to /usr/lib/systemd/system..
-
<CentOS7> Nginx 설치Flower in my ops/Linux 2020. 11. 17. 12:23
$ sudo yum install yum-utils $ sudo vim /etc/yum.repos.d/nginx.repo [nginx-stable] name=nginx stable repo baseurl=http://nginx.org/packages/centos/$releasever/$basearch/ gpgcheck=1 enabled=1 gpgkey=https://nginx.org/keys/nginx_signing.key module_hotfixes=true [nginx-mainline] name=nginx mainline repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ gpgcheck=1 enabled=0 gp..
-
<Intellij> Linux 원격 접속 sshFlower in my ops/Linux 2020. 10. 20. 09:09
1. Tools/Deployment/Browse Remote Host 2. click […] - 등록된 서버 3. click [+] and [SFTP] 4. Input your server name 5. click SSH configuration/[…] 6. click [+] and configure 7. click [Test Connection] and Supply 8. Config your Root path 9. The filesystem of your server [SSH Bash] 10 Tools/Start SSH Session... 11. click your connection info 12. Checking
-
Vagrant 설치 및 사용법 for CentOS & UbuntuFlower in my ops/OSX 2020. 10. 18. 16:32
1. CentOS를 사용하려면 확인 2. 플러그인 2개 설치 후 진행 (CentOS) - vagrant plugin install vagrant-vbguest - vagrant plugin install vagrant-sshfs 3. vagrant box 확인 - vagrant cloud = https://app.vagrantup.com/boxes/search 4. vagrant cloud 에서 확인한 box 명으로 초기화 - vagrant init {VAGRANT_IMAGE_NAME} 5. Vagrantfile 확인 및 수정 - config.vm.box : vagrant box 이름 - config.vm.box_download_insecure : SSL 허용 여부 (default : False) - 추..
-
<HTTP>[가상호스트, 프록시, 게이트웨이, 터널, 캐시]Flower in my ops/Network 2017. 11. 20. 22:36
[가상호스트, 프록시, 게이트웨이, 터널, 캐시] 1. 가상호스트 - 웹 호스팅 사업자가 1대의 서버에 여러 고객의 웹 사이트를 운영 - 물리적으로는 1대의 서버지만 여러대의 서버처럼 설정 가능 - 같은 서버 상에 같은 IP 주소의 웹 서버에서 www.flower.co.kr과 www.wing.co.kr이 실행되고 있을 때 DNS로 이름을 해결하면, 그 어느 쪽도 같은 수신인이 된다. 2. 프록시 - 클라이언트의 리퀘스트를 서버로 전달 - 리소스 본체를 가진 서버 = 오리진 서버(Origin Server) - 리스폰스는 프록시를 거꾸로 경유하여 클라이언트에게 전달 - 액세스 제한 효과 - 액세스 로그 획득 및 정책 관리 효과 3. 게이트웨이 - 클라이언트와 서버는 HTTP 이외의 통신을 사용 - 암호화를 ..
-
<HTTP>[Response 상태 코드]Flower in my ops/Network 2017. 11. 15. 22:24
[Response 상태 코드] 클래스 의미 1xx Informational 리퀘스트를 받아들여 처리중 2xx Success 리퀘스트를 정상적으로 처리했음 3xx Redirection 리퀘스트를 완료하기 위해서 추가 동작이 필요 4xx Client Error 서버는 리퀘스트 이해 불가능 5xx Server Error 서버는 리퀘스트 처리 실패 1. 2xx 성공(Success) - 200 OK 리퀘스트 정상처리 - 204 No Content 리퀘스트 정상처리 & 리스폰스 없음 - 206 Partial Content 범위를 지정하여 리퀘스트가 왔을 경우 2. 3xx 리다이렉트(Redirection) - 301 Moved Permanently 북마크하고 있는 URI가 변경되었을 경우 Location 헤더 필드에..