카테고리 없음2020. 11. 3. 14:36
반응형

duzi077.tistory.com/20

 

[Windows/윈도우즈] Custom URL Schemes ( Protocol Handler ) 레지스트리 등록 방법

# Active X 대체 기술 HTML5 를 이용한 대체 기술도 있지만 C기반 보안 솔루션의 설치를 지원해아하므로 URL Scheme 기술을 사용 # Custom URL Schemes 대부분의 OS에서 URL Scheme을 직접 등록하고 설정할 수 있.

duzi077.tistory.com

rainflys.tistory.com/211

 

[Custom URI] Custom URI 적용(경고창제어), NSIS Custom URI 적용하기 (Windows & Explorer 예제, C#, NSIS Script)

오늘은 CustomURI 적용방법에 대해 포스팅을 할 까 합니다. http://www.naver.com ftp://10.220.10.123 위와 같이 http, ftp 와 같은 것이 URI Scheme 이다. Custom URI는 저런 http, ftp대신 임의로 내가 만든 UR..

rainflys.tistory.com

mvcp.tistory.com/entry/%EC%BB%A4%EC%8A%A4%ED%85%80-%EB%B8%8C%EB%9D%BC%EC%9A%B0%EC%A0%80-%ED%94%84%EB%A1%9C%ED%86%A0%EC%BD%9C%EB%A1%9C-%EC%9D%91%EC%9A%A9%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EC%8B%A4%ED%96%89-custom-url-schemes-in-windows

 

커스텀 브라우저 프로토콜로 응용프로그램 실행 - custom url schemes in windows

커스텀 브라우저 프로토콜로 응용프로그램 실행 (Custom Url Schemes in windows) 관련 자료 https://support.shotgunsoftware.com/hc/ko/articles/219031308 커스텀 브라우저 프로토콜을 사용하여 응용프로그..

mvcp.tistory.com

 

Posted by 1010
카테고리 없음2020. 11. 2. 13:03
반응형

addFlashAttribute 여러번 set 할 경우 모두 null 떨어짐... map 으로 객체 set 하는게 좋을듯...

 

 

 

roqkffhwk.tistory.com/121

 

스프링3(Spring3) - RedirectAttributes를 이용하여 리다이렉트 POST 방식으로 데이터 전송하기

우리는 페이지 구현하면서 종종 redirect를 해줄 경우가 있다. 하지만, 대부분 parameter들을 url뒤에 붙여서 get방식으로 값을 넘겨준다. 이번에 다룰 내용에서는 redirect post를 다룰 예정이다. 바로 Red

roqkffhwk.tistory.com

 

 

web-obj.tistory.com/455

 

RedirectAttributes(redirect 객체 전달)

redirect 시 데이타를 전달할 수 있는 방법 - RedirectAttributes 클래스를 사용하여 전달할 수 있다. - RedirectAttributes 클래스는 Spring 3.1 버전에 추가되었다고 한다. - redirect시 RedirectAttributes 클..

web-obj.tistory.com

hellogk.tistory.com/86

 

Spring3 RedirectAttributes 사용한 redirect POST 전송법

이번 내용은 리다이렉트 전송시 parameter를 URL에 붙여서 전송하기 싫어하는 분들을 위한 포스팅입니다. Spring3 에서 제공하는 RedirectAttributes를 사용하면 redirect post 구현이 가능합니다. 하지만 일

hellogk.tistory.com

bactoria.tistory.com/entry/%EC%8A%A4%ED%94%84%EB%A7%81-addAttribute-addFlashAttribute-%EC%B0%A8%EC%9D%B4%EC%A0%90-RedirectAttributes-rttr-%EB%A6%AC%EB%8B%A4%EC%9D%B4%EB%A0%89%ED%8A%B8

 

스프링 addAttribute addFlashAttribute 차이점 (RedirectAttributes rttr) / 리다이렉트

addAttribute와 addFlashAttribute의 차이점 addAttribute는 삭제를 했을 때 url 을 보자. redirect는 list까지다. 근데 page , perPageNum, searchType, keyword 가 뒤에 따라 붙었다. rttr.addAttribute 때문..

bactoria.tistory.com

 

Posted by 1010
카테고리 없음2020. 11. 2. 10:24
반응형

한국인터넷진흥원(KISA) 기술안내서 가이드 (시큐어 코딩 가이드 etc)

출처: https://iamfreeman.tistory.com/entry/한국인터넷진흥원KISA-기술안내서-가이드 [자유인을 위하여~ *^^*]

 

한국인터넷진흥원(KISA) 기술안내서 가이드 (시큐어 코딩 가이드 etc)

한국인터넷진흥원(KISA) 기술안내서 가이드 (시큐어 코딩 가이드 etc) 한국인터넷진흥원(KISA)에서 제공하는 기술안내서 가이드 입니다. KISA에서는 많은 기술안내서를 제공하고 있습니다. 그

iamfreeman.tistory.com

 

Posted by 1010
카테고리 없음2020. 10. 31. 09:31
반응형

#yum install -y libnsl

 

Posted by 1010
카테고리 없음2020. 10. 28. 11:13
카테고리 없음2020. 10. 28. 11:10
카테고리 없음2020. 10. 27. 13:15
반응형

stackoverflow.com/questions/5702512/weblogic-administration-console-way-too-slow

 

Weblogic administration console way too slow

I've installed weblogic 10.3.3, configured simple domain with default configuration. And after starting weblogic I cannot use it via admin console because it is starting too slow (~10 mins). It seems

stackoverflow.com

linux.systemv.pe.kr/?s=%EC%9D%B4%EC%8A%88

 

You searched for 이슈 - Voyager of Linux

12/21/2016 WebLogic 10.3.6 을 설치할때에 관리 서버 1개와 매니지드 서버 1개를 생성하게 됩니다. 그런데, 서버 시작 스크립트에서 난수 관련된 것을 고치지 않으면 시작이 굉장히 오래 걸립니다. 이는

linux.systemv.pe.kr

m.blog.naver.com/PostView.nhn?blogId=ailov&logNo=60204756352&proxyReferer=https:%2F%2Fwww.google.com%2F

 

WebLogic - 웹로직 기동시 비정상적으로 시간이 오래 걸릴 때 확인사항

웹로직 기동시간이 다소 오래걸리는 현상에는 여러가지가 있습니다. 그중에 security 부분에서 기동시간이 ...

blog.naver.com

rajalo.tistory.com/entry/Linux-x86-%EC%97%90%EC%84%9C-WLS-100-to-103-%EA%B5%AC%EB%8F%99%EC%9D%B4-%EB%8A%A6%EC%9D%80-%ED%98%84%EC%83%81

 

Linux x86 에서 WLS 10.0 to 10.3 구동이 늦은 현상

특정 사이트에서 Linux 5에 깔끔하게 WLS 를 설치하였다.. 특별한 어려움 없이 설치하였는데 서버가 구동되는데 시간이 약 10분 가까이 소요되었다 -0-; 헐.... 특별한 작업이 없이 늦게 구동이 되길

rajalo.tistory.com

 

Posted by 1010
카테고리 없음2020. 1. 30. 02:47
반응형

systemctl status docker.service

1.이미지 다운
docker pull mysql:8.0.17

2.이미지 실행
docker run --name mysql -e MYSQL_ROOT_PASSWORD=1234 -d -p 3306:3306 mysql:8.0.17

3.이미지 접속
docker exec -it mysql bash

4.프로그램 접속
mysql -u root -p1234

Posted by 1010
카테고리 없음2019. 4. 29. 09:06
반응형

http://pseg.or.kr/pseg/infoinstall/8417

 

 

grant all privileges on kotidb.* to koti@'%'; 

grant all privileges on kotidb.* to 'koti'@'%' identified by '1234' with grant option;

flush privileges;

 

 

Posted by 1010
카테고리 없음2019. 4. 10. 12:56
반응형

How to optimize Apache performance on CentOS 7
Posted on December 12, 2017 by VPSCheap Team

Apache is one of the most popular and powerful web servers. And of course, it is open source. It is also known as httpd server. Apache web servers are designed to provide a balance of portability, flexibility, and high performance. Optimizing Apache plays a crucial role in determining the overall performance of the system. Apache is easy to configure and provides simple performance tuning options, which we will discuss in detail today.
PrerequisiteS–

A live CentOS 7 server
Apache web server installed and running

First, let us walk you through the process of installing Apache, incase you haven’t done it already. To install Apache, use the command – sudo yum install httpd as shown below-

installation

The installation will take some time. After the installation, you will be able to see a message on the console as shown below-

installation complete

The main configuration file (httpd.conf) can be seen in location /etc/httpd/conf.

The httpd.conf file contains some default parameters. You can also add your own parameters based on your requirements. Let’s now start with some performance optimizations.
KEEP ALive TIMEOUT-

KeepAliveTimeout is a parameter that defines the number of seconds before closing a connection. This is the maximum seconds Apache will wait for a new request before closing the connection. By default, this parameter is disabled in CentOS 7. However, it is generally good practice to have a KeepAliveTimeout value.

This parameter can be set to a very low value, between 1 and 5. To make this change you can edit the httpd.conf file at location- /etc/httpd/conf

You can add the following line:
KeepAliveTimeout 5
Max Keep-Alive Requests-

MaxKeepAliveRequests is the maximum number of requests which can be served on a TCP connection. This will allow you to limit the number of allowed connections and will help in effective utilization of network bandwidth, without causing traffic congestion. This is a numeric value which when set to 0, will allow unlimited requests.

The recommended value here is 500. To add this parameter you will have to edit the httpd.conf file

You can add the following line-
MaxKeepAliveRequests 500

Keep-Alive-

KeepAlive is a parameter which determines whether more than one request per connection is allowed or not. This helps in ensuring one client does not consume all of the server’s resources. By default, this parameter is disabled in CentOS 7. If you expect Apache to be getting multiple requests from different IPs at once, then this should be turned ON. This can be edited in the httpd.conf file.

In order to turn on this parameter, you can add the following line-
KeepAlive On

Configure Multi-Processing Module-

One of the reasons for slow performance in Apache can be its inability to deal with load. In such cases, a multi-processing module will help.

mpm_prefork_module is part of CentOS 7 and is enabled by default. To confirm this is running, you can use the command- sudo apachectl -t -D DUMP_MODULES |grep mpm

multiprocessing module

If mod_deflate is enabled it will display mpm_prefork_module (shared)

For better performance, you can also use Apache MPM prefork module. This can be set in the httpd.conf file.

You can add the following lines in the file-

StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 3000

Once the file is saved, you can restart Apache using command- sudo apachectl restart.

Here is a brief explanation of the mentioned parameters-

StartServers – This sets the number of child server processes created at startup. Initially, this can be kept as a small number and can be gradually increased on a high payload server. This helps in ensuring the right utilization of server resources.
MinSpareServers – This sets the minimum number of idle child server processes and can be tuned for high payload servers.
MaxSpareServers – This sets the maximum number of idle child server processes. In case the number of idle child server processes exceeds this value, then the idle processes are killed.
MaxClients – This is the maximum number of simultaneous requests Apache can handle. Once this limit is reached, the connection will be queued.
MaxRequestsPerChild – This indicates how many requests a child process will handle before terminating. Once this limit has been reached, the child process will die. If this value is set to 0, then the process will never die.

Allow Over ride-

The parameter AllowOverride can be set to ‘All’. However, if this is included within a simple directory tag then it will open an .htaccess file for every directory it visits. So if you have the following configuration-
DocumentRoot /var/www/html/example

AllowOverride All

What will happen is that if you make a request to URL /index.html, then Apache will open an .htaccess file for /, /var/, /var/www/, /var/www/html/, /var/www/html/example

To avoid this waste, you can configure AllowOverride for a specific directory, such as:

DocumentRoot /var/www/html/example
<Directory /var/www/html/example/admin>
AllowOverride All

DNS LOOKUPS

Another factor that can slow Apache down is the time required to perform DNS lookups. Apache records the full hostname of each incoming request in the access.log file. Resolving each of these can be time consuming.

This is configured with the parameter- HostnameLookups in the httpd.conf file. This enables DNS lookups so that hostnames can be logged instead of IP address. In Apache, by default, this parameter is turned off. This property is defined in the httpd.conf file as-

HostnameLookups Off

Once you’re done making all of the above changes, restart Apache using the command- sudo apachectl restart

And that’s it! Your Apache web server should now be way more efficient than it was before.

Posted by 1010