1. NGINX 의 기존 디렉토리인 /etc/nginx/config.d/ 하위에 사용할 도메일 별로 *.conf을 생성 한다. 2. 내용은 하기와 같이 한다. server { listen 80; server_name www.aaaa.com; location / { proxy_pass http://127.0.0.1:(열리PORT 보통 8080); } } 3….
- Category Archives 비공개
-
-
TOMCAT Virtual Host만들기
1. ${catalina.home}/conf/server.xml 화일을 열어서 아래와 같이 변경 <Engine name=”Catalina”defaultHost=”localhost”debug=”0″> To <Engine name=”Catalina”defaultHost=”www.example.com”debug=”0″> ** 여기서 지정한…
-
Securing Svnserve using SSH
http://tortoisesvn.net/ssh_howto.html Securing Svnserve using SSH This section provides a step-by-step guide to setting up Subversion and TortoiseSVN to use the svn+ssh protocol. If you already use au…
-
* APM설치
1. 설정 방화벽 켜져 80 포트, 3306 포트 vi /etc/sysconfig/iptables -A INPUT -m state –state NEW -m tcp -p tcp –dport 80 -j ACCEPT -A INPUT -m state –state NEW -m tcp -p tcp –dport 3306 -j…
-
[Linux] Nginx설치 후 Home Directory의 Owner도 같고 file permission 도 했는데 permission error가 날때
SELinux라는 개념이 RHEL5 부터 들어 왔다고 한다 약자는 Security Enhanced Linux 란다.. 별의 별짓을 다 해도 계속 적으로 access dined error가 나왔는데 아래처럼 SELinux의 Mode를 바꿔주면 해결 된다.. 단, 보안은 좀 취약해 지는 약점이 있단다.. 그럼.. 해결할 수 있는 방법은?? 일단 더 찾아 봐야…
-
[펌]MariaDB 설정 파일 my.cnf
http://www.programkr.com/blog/MUDM5ADMwYT2.html # MariaDB database server configuration file. # # You can copy this file to one of: # – “/etc/mysql/my.cnf” to set globa…
-
[펌] Apache .htaccess 도메인 컨트롤하기 (www , https)
http://blog.lael.be/post/1130 # 원하는 동작의 주석을 제거하면 동작한다. .htaccess 파일에 아래의 내용을 넣으면 된다. 순서를 모르겠다면 해당파일의 맨 밑에 넣으면 된다. <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^ – [E=protossl] Re…
-
[MariaDB] utf8mb4 란?
http://blog.lael.be/post/917 4바이트 UTF-8 문자열 MySQL에서 부랴부랴 원래의 설계대로 가변-4바이트 UTF-8 문자열을 저장할 수 있는 자료형을 추가했다. 2010년 3월 24일에 utf8mb4 라는 charset을 추가하였다. (MYSQL 5.5.3 에 추가됨) (관련 : https://dev.mysql.com/doc/re…
-
[Linux] Installing Tomcat 8 on a CentOS 7
UPDATE SYSTEM First thing to do is to SSH to your CentOS 7 VPS, fire up a screen session and update your system using yum: ## screen -U -S tomcat8-centos7 ## yum update You may also want to install a…
-
[Linux] CentOS 7 / RHEL 7에 redis 설치 하기
Project URL : http://redis.io/ CentOS 7 and Red Hat Enterprise Linux 7에서 Redis를 설치 하는 방법 EPEL 저장소 등록 하기 EPEL 저장소를 먼저 등록한다. wget –r —no–parent –A ‘epel-release-*.rpm…