A P4 Server
0. Download perforce.exe on the internet, install it, and run perforce as a service by default after installation.
The executable file of 110000p4serveris p4d.exe (running as a server) or p4s.exe (running as a service ).
2) For P4 administrator operations, the P4 user must be a superuser with at least admin permissions.
2. Start p4server
1) after installation, perforce is already running as a Windows service by default. You can view it in the Service Control Panel. You can also stop, start, and restart the perforce service in the Service Control Panel.
2) or disable service, manually start P4 server by p4d.exe
Startp4.bat
Set p4port = localhost: 1666
Set p4root = c: \ P4 \ Root
Set p4log = c: \ P4 \ log \ log.txt
P4d.exe
Result: perforce server starting
Create the first user and log on
1) install p4v on the client machine, then log on and create the first user
2) install p4admin on the client machine and log on with the user you just logged on, prompting that the first user will change to supper user.
3) You can use this supper user to do anything else.
Complete!