ubuntu otrs


http://wiki.otrs.org/index.php?title=%E5%9C%A8_Ubuntu_Lucid_Lynx_(10.4)_%E4%B8%8A%E5%AE%89%E8%A3%85_OTRS 본 고 는 어떻게 Ubuntu Lucid Lynx (version 10.04 LTS) 에 OTRS 3.0. x 를 설치 하 는 지 설명 한다.다른 버 전의 우 분투 에 대해 서도 이 설치 방법 은 비슷 할 수 있다.LTS (Long Term Support) 버 전의 Ubuntu 에 설치 하 는 것 이 좋 습 니 다. 운영 체제 보안 패 치 업 데 이 트 를 가장 오래 받 을 수 있 도록 해 야 합 니 다.현재 사용 가능 한 LTS 버 전 은 10.04 이 며, 다음 버 전 은 12.04 로 2012 년 4 월 발표 된다.우 분투 버 전에 대한 더 많은 정 보 를 알 고 싶 습 니 다. 자세 한 내용 은: Release information on Ubuntu Wiki.
OTRS 2.4. x 에 대한 설치 설명 은 Installation of OTRS 2.4. x 를 보십시오.만약 당신 이 본문 을 더욱 잘 수정 할 수 있다 면, 당신 이 함께 본문 을 편집 하 세 요!
설치 하 다.
OTRS 를 / opt 디 렉 터 리 에 설치 합 니 다.운영 체제 패키지 관리자 가 아 닌 모든 애플 리 케 이 션 을 손 으로 설치 합 니 다. 다음 단계 부터 시작 하 겠 습 니 다.
  • 부터http://otrs.org/downloadsDownload OTRS 의. tar. gz '원본' 파일 다운로드
  • 루트 셸 이나 'udo su -' 를 엽 니 다
  • 다운로드 한 파일 의 압축 을 풀 고 풀 린 폴 더 를 / opt 로 이동 합 니 다
  • tar xf otrs-3.0.x.tar.gz 
    mv otrs-3.0.* /opt/otrs
    

    다음 단 계 는 필요 한 Perl 모듈, 웹 서버, 데이터 베 이 스 를 설치 하 는 것 입 니 다.
    aptitude install libapache2-mod-perl2 libdbd-mysql-perl libnet-dns-perl libnet-ldap-perl libio-socket-ssl-perl libpdf-api2-perl libsoap-lite-perl libgd-text-perl libgd-graph-perl libapache-dbi-perl mysql-server
    

    데이터 베 이 스 를 다른 서버 에서 실행 하거나 PostgreSQL 을 배경 데이터 베이스 로 사용 할 수 있 습 니 다.그러한 설 치 는 여전히 매우 편리 하지만 본 문서 의 범위 안에 있 지 않다.
    OTRS cron 프로젝트 를 실행 할 계 정 을 만들어 야 합 니 다.사용 자 는 웹 서버 사용자 그룹 에 가입 하고 / opt / otrs 를 홈 디 렉 터 리 로 합 니 다.
    useradd -r -d /opt/otrs/ -c 'OTRS user' otrs
    usermod -g www-data otrs
    

    이제 OTRS 프로필 을 준비 해 야 합 니 다./ opt / otrs / Kernel / Config. pm. dist 파일 을 Config. pm 로 복사 하면 자신 만 의 새로운 복사 가 있 습 니 다. / opt / otrs / Kernel / Config / Genericagent. pm. dist 파일 도 똑 같이 작 동 합 니 다.
    cd /opt/otrs/Kernel
    cp Config.pm.dist Config.pm
    cp Config/GenericAgent.pm.dist Config/GenericAgent.pm
    

    웹 서버 사용자 와 OTRS 사용자 가 이 디 렉 터 리 에 권한 을 가 질 수 있 도록 디 렉 터 리 의 권한 을 설정 해 야 합 니 다.이 를 위해 OTRS 가 제공 하 는 스 크 립 트 를 사용 할 수 있 습 니 다.
    cd /opt/otrs
    bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs
    

    웹 서버 설정
    OTRS has a bundled default configuration file for Apache. You should add this to the Apache configuration directory, and then restart the server in order to get going:
    cp /opt/otrs/scripts/apache2-httpd.include.conf /etc/apache2/conf.d/otrs.conf 
    service apache2 restart
    

    고급: OTRS 사용자 로 apache 서 비 스 를 실행 합 니 다.
    You'd only want to do this if apache is not serving other applications, i.e. if you have a 'dedicated' system for OTRS. It eases administration because you don't have to worry about two 'owners' for the files in OTRS.
    Modify this file: /etc/apache2/envvars
    Comment out these lines by adding a # in front of it.
    export APACHE_RUN_USER=www-data
    export APACHE_RUN_GROUP=www-data
    

    and add these two lines:
    export APACHE_RUN_USER=otrs
    export APACHE_RUN_GROUP=otrs
    

    now restart Apache.
    웹 설치 인터페이스
    Go to http://127.0.0.1/otrs/installer.pl with your web browser. In case you don't have installed a web browser on your Ubuntu server (which would be quite common) you can also access the web installer from your local workstation. In that case simply replace 127.0.0.1 with the address of your Ubuntu server in the URL. In the web installer you can create the database to be used for OTRS (use the MySQL root password you set earlier), as well as do some other basic configuration. After this, you can log in to OTRS with the default account root@localhost and password root.
    Now you have created the database, edit the file /opt/otrs/scripts/apache2-perl-startup.pl - we need that in order to configure Apache::DBI. Apache::DBI is not a module that is really needed for OTRS but it will pre-establish database connections, which will be better for performance. Therefore it' s recommended to set it up. Besides that, it's really easy to set up, so why not..?
    Just simply remove the pound signs (#) before the lines for Apache::DBI and fill in the password you just created for the OTRS database using the web installer. If you forgot what it was, please just look up the value for $Self->{'DatabasePw'} in the file /opt/otrs/Kernel/Config.pm.
    use Apache::DBI ();
    Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'my-secret-pass');
    use DBI ();
    

    OTRS 프로젝트 미 션
    OTRS uses several cron jobs for time-based actions, such as escalating tickets, sending out reminders, fetching emails from POP and IMAP boxes, and so on. You'll have to prepare these cronjobs so they are run by the OTRS user.
    cd /opt/otrs/var/cron
    for foo in *.dist; do cp $foo `basename $foo .dist`; done # copies all files with .dist extension to regular name
    
    

    Now we have to add them to the otrs user's crontab:
    cd /opt/otrs
    bin/Cron.sh start otrs
    

    Now the cron jobs are scheduled and will be executed on pre-defined intervals.
    You can check with the command crontab -l -u otrs if the entries for the OTRS user are set up correctly.
    After this, you can log in to OTRS via http://yourserver.example.com/otrs/index.pl with the default account root@localhost그리고 암호 루트. 이제 OTRS 에 로그 인하 여 사용 자 를 만 들 고 수신 및 발신 이메일 을 구성 할 수 있 습 니 다. 그들 이 말 하 는 것 처럼... (즐겨 라)!
    Retrieved from " http://wiki.otrs.org/index.php?title=%E5%9C%A8_Ubuntu_Lucid_Lynx_(10.4)_%E4%B8%8A%E5%AE%89%E8%A3%85_OTRS"

    좋은 웹페이지 즐겨찾기