새로운 글

  • 새로운 소식이 있나요?
  • 이미지
    2018-12-10
    1. 오토셋의 MariaDB10 폴더에 bin 경로로 이동합니다.cd C:\AutoSet10\server\MariaDB10\bin2. mysql 을입력하면 mysql 입력으로 변합니다.# mysql -uroot -ppassword : autoset(초기값은 autoset 입니다.)3. > use mysql;or> use eond;사용할 테이블명을 입력합니다.4. 디비 복원하기는 이렇게 하면 될거라 생각했는데 잘 안되네요. ㅠmysql -uroot -pautoset eond < eond.com_20181210...
  • 이미지
    2018-12-04
    Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator at localhost@localhost.com to inform them of the time this error occurred, and the actions you performed just before this error.More infor...
  • 이미지
    2018-12-03
    FastCGI sent in stderr: "PHP message: PHP Warning:  session_start()

    /tmp/session 퍼미션을 777로 수정후 잘됨..

    오만 삽질 다해봤으나;;

  • 이미지
    2018-08-26
    # block direct access to templates, XML schemas, config files, dotfiles, environment info, etc. location ~ ^/modules/editor/(skins|styles)/.+\.html$ { # pass } location ~ ^/(admin/help|common/manual)/.+\.html$ { # pass } location ~ ^/(addons|common/tpl|files/ruleset|(m\.)?layouts|modules|plugi...
  • 이미지
    2018-08-02
    카페24에서 git 다운로드 받는 방법 찾았네요깃헙에서 Use SSH를 클릭하면 파일명.git 이란 주소를 확인할 수 있습니다.그런 다음, ssh에 접속해서# git clone --recursive git://github.com:xpressengine/xe-core.git참조https://stackoverflow.com/questions/8329485/unable-to-find-remote-helper-for-https-during-git-clonehttps://stackoverflow.com/questions/8329485/una...
  • 이미지
    2018-07-29
    경로/root/쉘스크립트 내용#!/bin/bash USER="$1" NEWDB="$2" mysql -e "create database $NEWDB"; mysql -e "GRANT ALL PRIVILEGES ON $NEWDB.* to $USER@localhost" mysql -e "flush privileges" echo "$USER 사용자에게 새로운 $NEWDB 데이터베이스가 연결되었습니다." #작성자:이온디 #작성일...
  • 이미지
    2018-07-29

    ./configure : /bin/sh^M : bad interpreter [duplicate]

    파일포맷이 문제였습니다.

    CRLF 를 LF로 변경해주세요.

    참조

    https://stackoverflow.com/questions/2920416/configure-bin-shm-bad-interpreter


  • 이미지
    2018-07-26
    스레드가 잠겼습니다.
  • 이미지
    2018-06-24

    MySQL 접속방법

    mysql -uroot -p패스워드


    mysql 테이블 만들기

    mysql > CREATE DATABASE yncare_test;


    생성된 데이터베이스에 유저 연결하기

    GRANT ALL PRIVILEGES ON yncare_test.* to yncare@localhost;

  • 이미지
    2018-05-15

    /etc/nginx/sites/eond.conf

    server {
        listen 80;
        server_name is.eond.com;
        rewrite ^/(.*) https://eond.com/is$1 permanent;
    }


    is.eond.com 이라는 도메인을 입력하면 자동으로 eond.com/is 로 이동합니다.





  • 이미지
    2018-04-25

    Nginx 설정

    인덱스 페이지 + PHP 작업

    if($_SERVER['HTTPS']!=='on'){
       header('Location: https://'.$_SERVER["HTTP_HOST"].$_SERVER['REQUEST_URI']);
    }

    https가 아닐 경우 https로 리다이렉트하는 방법

  • 이미지
    2018-04-21
    server { listen 80; server_name eond.com www.eond.com; rewrite ^/(.*) https://eond.com/$1 permanent; } server { listen 443 ssl http2; server_name www.eond.com; ssl_certificate /etc/letsencrypt/live/eond.com/fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/eond.com...