Phabricator 설정 마법사

설정 마법사
이 문 서 는 Phabricator 에 필요 한 가장 기본 적 인 설정 안 내 를 포함 하고 있 습 니 다.
전제 조건
이 문 서 는 필요 한 모든 구성 요 소 를 설치 했다 고 가정 합 니 다.없 으 면 설치 마법 사 를 보십시오.
다음 단계:
  • 웹 서버 설정 (Apache, nginx 또는 lighttpd)
  • 브 라 우 저 를 통 해 Phabricator 방문
  • 안내 에 따라 설정 완료
  • WEB 서버: 아파 치 설정
    메모: 아파 치 설정 안내 입 니 다.nginx 나 lighttpd 를 사용 하면 해당 부분 으로 미 끄 러 지 십시오.
    Apache 를 실행 하고 테스트 페이지 를 사용 하여 정상적으로 작 동 하 는 지 확인 합 니 다.문제 가 있 으 면 아파 치 도움말 문 서 를 보십시오.확보 modphp 와 modrewrite 활성화, SSL 을 설정 하면 mod 를 켜 십시오ssl 모듈.
    설치 할 호스트 를 가리 키 는 도 메 인 이름 을 설정 하지 않 았 다 면.Phabricator 를 2 급 도 메 인 이름 (예 를 들 어 phabricator. example. com) 이나 전체 도 메 인 이름 에 설치 할 수 있 지만 이미 존재 하 는 사이트 의 키 디 렉 터 리 에 설치 할 수 없습니다.아파 치가 정상적으로 서 비 스 를 할 수 있 도록 설치 할 도 메 인 이름 을 입력 하고 DNS 가 올 바 르 게 설정 되 어 있 습 니 다.
    메모: 도 메 인 이름 은 이름 뿐만 아니 라 점 (.) 을 포함해 야 합 니 다.http://example/。그렇지 않 으 면 일부 웹 브 라 우 저 는 cookies 를 설정 할 수 없습니다.
    이제 VirtualHost 항목 을 만 들 거나 Directory 항목 을 편집 하 는 DocumentRoot 를 만 들 수 있 습 니 다.아래 와 같이:
    httpd.conf
    <VirtualHost *>
      # Change this to the domain which points to your host.
      ServerName phabricator.example.com
    
      # Change this to the path where you put 'phabricator' when you checked it
      # out from GitHub when following the Installation Guide.
      #
      # Make sure you include "/webroot" at the end!
      DocumentRoot /path/to/phabricator/webroot
    
      RewriteEngine on
      RewriteRule ^/rsrc/(.*)     -                       [L,QSA]
      RewriteRule ^/favicon.ico   -                       [L,QSA]
      RewriteRule ^(.*)$          /index.php?__path__=$1  [B,L,QSA]
    </VirtualHost>

    현재 아파 치 설정 이 Phabricator 문서 디 렉 터 리 서 비 스 를 제공 하지 못 한다 면 httpd. conf 에 다음 부분 을 추가 해 야 합 니 다.
    <Directory "/path/to/phabricator/webroot">
      Order allow,deny
      Allow from all
    </Directory>

    변경 후 아파 치 를 다시 시작 하고 아래 설정 단계 로 이동 합 니 다.
    WEB 서버: nginx 설정
    NOTE: Follow these instructions to use nginx. To use Apache or lighttpd, scroll to their sections.
    For nginx, use a configuration like this:
    nginx.conf
    server {
      server_name phabricator.example.com;
    
      root      /path/to/phabricator/webroot;
      try_files $uri $uri/ /index.php;
    
      location / {
        index   index.php;
    
        if ( !-f $request_filename )
        {
          rewrite ^/(.*)$ /index.php?__path__=/$1 last;
          break;
        }
      }
    
      location /index.php {
        fastcgi_pass   localhost:9000;
        fastcgi_index   index.php;
    
        #required if PHP was built with --enable-force-cgi-redirect
        fastcgi_param  REDIRECT_STATUS    200;
    
        #variables to make the $_SERVER populate in PHP
        fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;
        fastcgi_param  QUERY_STRING       $query_string;
        fastcgi_param  REQUEST_METHOD     $request_method;
        fastcgi_param  CONTENT_TYPE       $content_type;
        fastcgi_param  CONTENT_LENGTH     $content_length;
    
        fastcgi_param  SCRIPT_NAME        $fastcgi_script_name;
    
        fastcgi_param  GATEWAY_INTERFACE  CGI/1.1;
        fastcgi_param  SERVER_SOFTWARE    nginx/$nginx_version;
    
        fastcgi_param  REMOTE_ADDR        $remote_addr;
      }
    }

    Restart nginx after making your edits, then continue to "Setup" below.
    WEB 서버: lighttpd 설정
    NOTE: Follow these instructions to use lighttpd. To use Apache or niginx, scroll up to their sections.
    For lighttpd, add a section like this to your lighttpd.conf:
    $HTTP["host"] =~ "phabricator(\.example\.com)?" {
        server.document-root = "/path/to/phabricator/webroot"
        url.rewrite-once = (
            "^(/rsrc/.*)$" => "$1",
            "^(/favicon.ico)$" => "$1",
            # This simulates QSA ("query string append") mode in apache
            "^(/[^?]*)\?(.*)" => "/index.php?__path__=$1&$2",
            "^(/.*)$" => "/index.php?__path__=$1",
        )
    }

    You should also ensure the following modules are listed in your server.modules list:
    mod_fastcgi mod_rewrite

    Finally, you should run the following commands to enable php support:
    $ sudo apt-get install php5-cgi  # for ubuntu; other distros should be similar
    $ sudo lighty-enable-mod fastcgi-php

    Restart lighttpd after making your edits, then continue below.
    설치 하 다.
    현재 설정 한 도 메 인 이름 을 입력 하 십시오.설정 안 내 를 볼 수 있 습 니 다.문서 의 나머지 부분 은 다른 구체 적 인 설정 절차 에 대한 추가 설명 이다.
    저장 소: MySQL 설정
    설정 중, MySQL 을 설정 해 야 합 니 다.MySQL 을 실행 하여 정상적으로 연결 할 수 있 는 지 확인 합 니 다.문제 가 있 으 면 MySQL 도움말 문 서 를 참고 하 세 요.MySQL 이 정상적으로 작 동 하려 면 Phabricator 모드 를 불 러 오고 명령 을 실행 해 야 합 니 다.
    phabricator/ $ ./bin/storage upgrade

    데이터 베 이 스 를 연결 하기 위해 특권 이 없 는 사용 자 를 설정 하면 루트 사용자 나 다른 관리자 로 다시 설정 해 야 합 니 다.
     
    phabricator/ $ ./bin/storage upgrade --user <user> --password <password>

    You can avoid the prompt the script issues by passing the --force flag (for example, if you are scripting the upgrade process).
    phabricator/ $ ./bin/storage upgrade --force

    NOTE: When you update Phabricator, run storage upgrade again to apply any new updates.
    다음 단계
    계속:
  • 관리 계 정과 로그 인 / 등록 을 설정 합 니 다. 참고 하 십시오. Configuring Accounts and Registration; 또는
  • 더 높 은 설정 테 마 를 알 고 있 습 니 다. 참고 하 십시오. Configuration User Guide: Advanced Configuration; 또는
  • 업로드 한 파일 과 첨부 파일 의 저장 위 치 를 설정 합 니 다. 참고 하 십시오. Configuring File Storage; 또는
  • 메 일 발송 을 지원 하기 위해 Phabricator 를 설정 합 니 다. 참고 하 십시오. Configuring Outbound Email; 또는
  • 메 일 수신 을 지원 하기 위해 Phabricator 를 설정 합 니 다. 참조 하 십시오. Configuring Inbound Email; 또는
  • 버 전 창고 가 져 오기, 참조 Diffusion User Guide; 또는
  • 데 몬 작업 에 대해 알 고 있 습 니 다. 참조 하 십시오. Managing Daemons with phd; 또는
  • 백업 작업 설정, 참조 Configuring Backups; 또는
  • Phabricator 에 힘 을 기여 합 니 다. Contributor Introduction 을 참조 하 십시오.
  • 좋은 웹페이지 즐겨찾기