/opt/perforce 디렉토리에서 Perforce 바이너리 파일을 제거하는 방법

/opt/perforce 디렉토리에서 Perforce 바이너리 파일을 제거하는 방법

내가 달릴 때 p4d나는 p4점점[p4: command not found]

바이너리 파일 이 없습니다 p4d.p4/선택/강제/예배 규칙서. 따라서 Perforce 서버와 클라이언트를 실행할 수 없습니다. Perforce 서버와 클라이언트를 제거해 보았습니다. 나는 우분투를 사용하고 있습니다.

마지막으로, 서버와 클라이언트를 실행하기 위해 Perforce 바이너리 파일을 어떻게 얻을 수 있습니까?

sudo apt-get install helix-p4d

removing existing dangling p4d link
/usr/sbin/p4d
linking /opt/perforce/sbin/p4d to /usr/sbin/p4d

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::
::  Thank you for choosing Perforce Helix
::  The following has been installed by the 'helix-p4d' package:
::
::  - The Helix Version Engine (p4d)
::  - A 'perforce' system user
::  - p4dctl, a tool for managing Perforce service instances
::  - The Helix Command-Line Client (p4)
::
::  The Helix Version Engine is now installed, but not yet configured.
::  You must run the following to configure p4d (as root):
::
::    sudo /opt/perforce/sbin/configure-helix-p4d.sh
::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

Started 0 services.
No services configured.


linking failed: linking /opt/perforce/sbin/p4d to /usr/sbin/p4d, because there is no p4d.

모든 Perforce 바이너리 파일을 얻는 방법.

답변1

Perforce에는 Perforce 서비스(Unix의 p4d, Windows의 p4s.exe)와 하나 이상의 Perforce 애플리케이션(예: UNIX의 p4 또는 Windows의 p4.exe)이라는 실행 파일이 두 개 이상 필요합니다.

전제 조건 목록이 길다. 다음과 같은 설치 절차를 따르셨나요: "Linux의 p4search perforce 애플리케이션 설치 및 구성 가이드".

해당 메시지가 표시되지 않고 대신 다음이 표시됩니다.

apt-get install helix-p4d  
Reading package lists... Done  
Building dependency tree  
Reading state information... Done  
The following additional packages will be installed:  
  helix-cli helix-cli-base helix-p4d-base helix-p4d-base-16.2 helix-p4dctl  
The following NEW packages will be installed:  
  helix-cli helix-cli-base helix-p4d helix-p4d-base helix-p4d-base-16.2 helix-p4dctl  
0 upgraded, 6 newly installed, 0 to remove and 267 not upgraded.  
Need to get 6,722 kB of archives.  
After this operation, 15.5 MB of additional disk space will be used.  
Do you want to continue? [Y/n] y
...

[Removed many lines]

...  
Setting up helix-p4d-base-16.2  
(2016.2-1468155~trusty) ...  
update-alternatives: using /opt/perforce/sbin/p4d.16.2 to provide /opt/perforce/sbin/p4d (helix-p4d) in auto mode  
Setting up helix-p4d-base (2016.2-1468155~trusty) ...  
Setting up helix-p4d (2016.2-1468155~trusty) ...  
linking /opt/perforce/sbin/p4d to /usr/sbin/p4d  

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  
::  
::  Thank you for choosing Perforce Helix  
::  The following has been installed by the 'helix-p4d' package:  
::  
::  - The Helix Version Engine (p4d)  
::  - A 'perforce' system user  
::  - p4dctl, a tool for managing Perforce service instances  
::  - The Helix Command-Line Client (p4)  
::  
::  The Helix Version Engine is now installed, but not yet configured.  
::  You must run the following to configure p4d (as root):  
::  
::    sudo /opt/perforce/sbin/configure-helix-p4d.sh  
:: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::  
Started 0 services.  
No services configured.  
Processing triggers for systemd (229-4ubuntu10)  
...  
Processing triggers for ureadahead (0.100.0-19)  
...

다음 위치에서 설치 설명서를 읽어보세요. "서버 설치 및 업그레이드".

"apt-get 또는 yum을 사용한 패키지 업데이트 명령은 Perforce 서비스 업데이트 프로세스를 완료하지 않습니다. Linux용 패키지는 해당 프로세스의 특정 단계만 단순화합니다.

나머지 업데이트 프로세스를 완료하지 않고 패키지를 업데이트하면 Perforce 서비스가 불안정한 상태가 됩니다. 패키지를 업데이트하기 전에 전체 프로세스를 읽고 이해하십시오."

다음을 수행해야 합니다.

  1. Perforce 패키지 저장소를 구성합니다.

  2. Perforce 패키지 서명 키를 가져옵니다.

  3. 적절한 Perforce 서비스 패키지를 설치하십시오.

  4. 설치 후 구성 스크립트를 실행합니다.

위의 링크를 참조하세요("서버 설치 및 업그레이드")를 참조하세요.

관련 정보