전체 글
-
iscsi setupLinux 2019. 8. 1. 18:05
rpm -qa | grep iscsi rpm -qa | grep -i initi rpm -qa | grep -i multipath yum install device-mapper-multipath iscsi-initiator-utils -y cat /etc/iscsi/initiatorname.iscsi systemctl status iscsid systemctl start iscsid systemctl start iscsi systemctl enable iscsid iscsiadm -m discovery -t st -p 1.1.1.1 iscsiadm -m node -o show iscsiadm -m node --login iscsiadm -m session -o show chkconfig iscsid on..
-
Postgresql install on centos 7Linux 2018. 7. 24. 13:48
# add the postgresql 9.6 repositoryyum install https://download.postgresql.org/pub/repos/yum/9.6/redhat/rhel-7-x86_64/pgdg-redhat96-9.6-3.noarch.rpm -y # install postgresql 9.6yum install postgresql96 postgresql96-server postgresql96-contrib postgresql96-libs -y # start postgresql/usr/pgsql-9.6/bin/postgresql96-setup initdb systemctl enable postgresql-9.6.servicesystemctl start postgresql-9.6.se..
-
DML ) insert,select,update query remind exampleMysql 2017. 11. 15. 16:24
---------------- INSERT ------------------------ -- Insert a row with all the column values INSERT INTO products VALUES (1001, 'PEN', 'Pen Red', 5000, 1.23); -- INSERT multiple rows in one command INSERT INTO products VALUES (NULL, 'PEN', 'Pen Blue', 8000, 1.25), (NULL, 'PEN', 'Pen Black', 2000, 1.25); -- Missing value for the auto_increment column also results in max_value + 1 INSERT INTO produ..
-
nginx tunningNginx 2017. 2. 1. 17:27
How to Configure nginx for Optimized PerformanceUpdated Wednesday, September 9th, 2015 by LinodeContributed by Bob Strecansky Contribute on GitHub View Project | View File | Edit FileThis is a Linode Community guide. Write for us and earn $250 per published guide.nginx is known for its use in both high performance load balancing, and caching static and dynamic web content. This guide aims to pro..
-
nginx PHP-FPM 어디까지 튜닝할수 있을까?Nginx 2017. 2. 1. 17:25
nginx nginx 유저를 추가 합니다. adduser -u 500 nginx 사용하지 않는 옵션은 전부 OFF로 합니다. ./configure \--with-http_stub_status_module \--without-http_upstream_ip_hash_module \--without-http_gzip_module \--without-http_autoindex_module \--without-http_geo_module \--without-http_map_module \--without-http_split_clients_module \--without-http_referer_module \--without-http_proxy_module \--without-http_uwsgi_module \--..
-
[OpenStack Class] 제51강 Glance에 Ubuntu 이미지 올리기openstack 2016. 2. 1. 21:09
안녕하세요~!!정말 거의 한달만에 글을 올리는 것 같습니다.요즘 좀 많이 바뻐서 글을 올릴 시간이 없었습니다. 그래서, 오늘도 역시 새벽에 이렇게 글을 올려봅니다.그동안 오픈스택이 무엇인지 그리고, 어떻게 설치하면 되는지에 대해 포스팅을 했었습니다. 오늘부터는 사용방법에 대해 포스팅을 할까합니다. 이미 다 아신다구요? 책에 있는 모든 내용은 다 공개해 드리기로 약속했으니, 아는 내용이라도 다 올려드릴려고 노력하고 있습니다. 자 그럼 지금부터 Glance에 우분투 이미지를 한번 올려봅시다. Glance에 우분투 이미지 올리기클라우드 운영체제 이미지 중 가장 많이 사용하는 운영체제는 바로 우분투입니다. 이번에는 Glance를 이용해서 우분투 이미지를 등록해 보겠습니다. 우분투 클라우드 이미지 다운로드오픈스택..
-
[OpenStack Class] 제50강 CentOS에서 설치해 보는 오픈스택 10편 - Multi node 설치openstack 2016. 2. 1. 21:08
드디어 6장까지 모두 올렸습니다. 요즘은 JUNO가 릴리즈되어서 대부분 JUNO 설치 테스트를 주로 하지만, 아직도 현장에서는 CentOS6.5를 많이 사용하고 있기 때문에 IceHouse 버전이 아직까지는 많이 설치되고 있습니다. 그럼, 다음 포스팅에서부터는 7장 오픈스택 운영하기 편을 올려드리도록 하겠습니다. Nova Compute 설치패키지 설치가 완료되고 시스템을 재부팅하면 Nova Compute를 설치해야 합니다. 1. 먼저 openstack-nova-compute를 설치합니다.# yum install openstack-nova-compute 2. Openstack-config를 이용해서 /etc./nova/nova.conf에 데이터베이스 정보와 Keystone 정보를 설정합니다.# openst..
-
[OpenStack Class] 제49강 CentOS에서 설치해 보는 오픈스택 9편 - Multi node 설치openstack 2016. 2. 1. 21:07
바로 이어서 컴퓨트 노드편 올려드립니다. 오늘 6장까지 모두 올려야 겠어요~!! ^^ 컴퓨트 노드를 설치해 보자Nova-network는 Neutron 네트워킹과 다르게 네트워크 노드가 필요하지 않습니다. 그래서 컨트롤러 노드와 컴퓨트 노드 여러 대로 구성합니다. 컴퓨트 노드는 기본 하이퍼바이저 KVM(또는 Qemu)과 Nova 컴퓨트를 설치합니다. 네트워크 인터페이스 설정컨트롤러 노드와 마찬가지로 CentOS를 설치한 후에 네트워킹 IP를 설정해야 합니다. /etc/sys config/network-scripts 디렉터리에 들어가 각각의 이더넷 카드에 해당하는 환경설정 파일로 IP를 설정해 보겠습니다. 1. 컨트롤러 노드와 마찬가지로 /etc/sysconfig/network-scripts/ifcfg-et..