Good Day everyone!
美好的一天!
I am trying to configure perforce
server in OS X(10.8.4)
. I tried to follow instructions from here. In fact i am not sure if i am doing it right ! Please check the commands below that i entered in Terminal.
我正在尝试在OS X(10.8.4)中配置perforce服务器。我试着按照这里的指示去做。事实上,我不确定我做得对不对!请检查我在终端输入的命令。
Last login: Sun Sep 1 02:13:19 on ttys000
MDs-MacBook-Pro:~ Emon$ export PATH=~/perforce:$PATH export P4PORT=1666
MDs-MacBook-Pro:~ Emon$ cd ~/perforce chmod a+x p4d p4d -d
MDs-MacBook-Pro:perforce Emon$ chmod a+x p4
MDs-MacBook-Pro:perforce Emon$ mkdir ~/myws cd ~/myws p4 client myws
mkdir: /Users/Emon/myws: File exists
mkdir: p4: File exists
MDs-MacBook-Pro:perforce Emon$
After that i tried to connect from p4v
, but the following occurs !
之后我尝试从p4v连接,但是发生了以下情况!
In connection setup assistance i tried (as instructed in the link)
在连接设置帮助中,我尝试了(按照链接中的指示)
Host : localhost
Port : 1666
And the connection continues to refuse showing this...
而连接继续拒绝显示这……
Connect to server failed;check $P4PORT.
TCP Connection to localhost:1666 failed.
Connect: 127.0.0.1:1666 : Connection refused.
Please someone guide me in this regard. Thank you in advance. :)
在这方面请谁来指导我。提前谢谢你。:)
1 个解决方案
#1
4
There are some formatting problems with that web page. Try these commands instead:
这个网页有一些格式问题。试试这些命令:
Set up the path and port variables:
设置路径和端口变量:
export PATH=~/perforce:$PATH
export P4PORT=1666
Set executable bits on p4d and p4 and start p4d in its default configuration
在p4d和p4上设置可执行位,并在其默认配置中启动p4d
cd ~/perforce
chmod a+x p4d
p4d -d
chmod a+x p4
Create a test directory for your workspace and initialize the client
为您的工作区创建一个测试目录并初始化客户端
mkdir ~/myws
cd ~/myws
p4 client myws
I think they accidentally reformatted the page, so the line breaks were missing.
我认为他们不小心重新格式化了页面,因此缺少了换行符。
#1
4
There are some formatting problems with that web page. Try these commands instead:
这个网页有一些格式问题。试试这些命令:
Set up the path and port variables:
设置路径和端口变量:
export PATH=~/perforce:$PATH
export P4PORT=1666
Set executable bits on p4d and p4 and start p4d in its default configuration
在p4d和p4上设置可执行位,并在其默认配置中启动p4d
cd ~/perforce
chmod a+x p4d
p4d -d
chmod a+x p4
Create a test directory for your workspace and initialize the client
为您的工作区创建一个测试目录并初始化客户端
mkdir ~/myws
cd ~/myws
p4 client myws
I think they accidentally reformatted the page, so the line breaks were missing.
我认为他们不小心重新格式化了页面,因此缺少了换行符。