mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-08 01:25:23 +02:00
Bug 142952 - Update docs for easier startup of Windows daemon.bat
This commit is contained in:
parent
e7efe65acd
commit
3be872e172
2 changed files with 54 additions and 41 deletions
|
@ -51,14 +51,6 @@ team sharing), but you are free to use any directory.</li>
|
||||||
server code from the package appropriate to your operating system. For linux this command is:
|
server code from the package appropriate to your operating system. For linux this command is:
|
||||||
<pre>tar -xf rseserver-1.0-linux.tar</pre>
|
<pre>tar -xf rseserver-1.0-linux.tar</pre>
|
||||||
</li>
|
</li>
|
||||||
<li>Still in the /opt/rseserver directory, run the following configuration
|
|
||||||
commands:
|
|
||||||
<pre>
|
|
||||||
chmod 755 server.pl
|
|
||||||
chmod 755 daemon.pl
|
|
||||||
chmod 755 auth.pl
|
|
||||||
</pre>
|
|
||||||
</li>
|
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -83,20 +75,23 @@ to the java command in /usr/bin by running the following command:<pre>ln -s /op
|
||||||
not run under root, it will be unable to authenticate connecting users.) Run
|
not run under root, it will be unable to authenticate connecting users.) Run
|
||||||
the following commands:<pre>su -l root
|
the following commands:<pre>su -l root
|
||||||
cd /opt/rseserver
|
cd /opt/rseserver
|
||||||
perl ./daemon.pl</pre>
|
perl ./daemon.pl [daemonPort] [serverPortRange]</pre>
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
</ol>
|
||||||
Note that the server daemon runs on port 4035. You can also start the
|
Note that the server daemon runs on port 4035 by default. You can pass the optional
|
||||||
daemon.unix in the same way.<br></br>
|
daemonPort argument to force a different port if you want.<br/>
|
||||||
|
If your daemon runs behind a firewall, you may want to specify the optional
|
||||||
|
<i>serverPortRange</i> argument to restrict selected server ports to the
|
||||||
|
range given:<pre>
|
||||||
|
perl ./daemon.pl 4035 10000-10010</pre>
|
||||||
|
|
||||||
<p><b>To start the server manually</b></p>
|
<p><b>To start the server manually</b></p>
|
||||||
<div class="p">If you do not have root access on a remote machine, you can
|
<div class="p">If you do not have root access on a remote machine, you can
|
||||||
start the server manually for your particular user id only. Run
|
start the server manually for your particular user id only. Run
|
||||||
the following commands:<pre>cd /opt/rseserver
|
the following commands:<pre>cd /opt/rseserver
|
||||||
perl ./server.pl [port]</pre>
|
perl ./server.pl [port]</pre>
|
||||||
These commands run the server.pl
|
These commands run the server.pl
|
||||||
script located in the /opt/rseserver directory. If this does not work, try
|
script located in the /opt/rseserver directory. The port parameter to the server.pl script is
|
||||||
changing the permission attributes on server.pl (for example, enter <samp class="codeph">chmod
|
|
||||||
755 server.pl</samp>. The port parameter to the server.pl script is
|
|
||||||
optional. If you do not specify a port, then the server will pick the first
|
optional. If you do not specify a port, then the server will pick the first
|
||||||
one available and print the port number to standard out. By default, it is
|
one available and print the port number to standard out. By default, it is
|
||||||
usually 4033. If you would like to use a different port, you will then have
|
usually 4033. If you would like to use a different port, you will then have
|
||||||
|
@ -104,6 +99,11 @@ to enter this port number in port property for the Files subsystem for your
|
||||||
connection in the Remote System Explorer (see <span class="uicontrol">Connecting to the
|
connection in the Remote System Explorer (see <span class="uicontrol">Connecting to the
|
||||||
Remote Server</span>, below). Otherwise, you do not need to change this
|
Remote Server</span>, below). Otherwise, you do not need to change this
|
||||||
property.</div>
|
property.</div>
|
||||||
|
<div class="p"><div class="note">
|
||||||
|
Note: When you connect RSE to the server, the server will terminate as
|
||||||
|
soon as you disconnect the client. The daemon, however, will not terminate.
|
||||||
|
</div></div>
|
||||||
|
|
||||||
<p><b>Rexec Server Launcher</b></p>
|
<p><b>Rexec Server Launcher</b></p>
|
||||||
<div class="p">If you have Rexec access enabled to your remote system, you
|
<div class="p">If you have Rexec access enabled to your remote system, you
|
||||||
can also have the server started automatically by an Rexec command from the
|
can also have the server started automatically by an Rexec command from the
|
||||||
|
|
|
@ -39,42 +39,53 @@ for Windows.</li>
|
||||||
</div>
|
</div>
|
||||||
<p><b>Starting the server</b></p>
|
<p><b>Starting the server</b></p>
|
||||||
<p>You can start the RSE communications server with the server manually, or with a daemon.</p>
|
<p>You can start the RSE communications server with the server manually, or with a daemon.</p>
|
||||||
<div class="p">To start the server manually:
|
|
||||||
|
<div class="p"><b>To start the server with a the server daemon:</b>
|
||||||
<ol>
|
<ol>
|
||||||
<li>Configure your CLASSPATH and then start the communications server. In a command prompt, enter:
|
<li>Simply double click the <code>daemon.bat</code> program to start a server daemon.</li>
|
||||||
|
<li>You can edit the <code>daemon.bat</code> file to change properties for the daemon,
|
||||||
|
like a specific daemon port to use or to force a port range for the server
|
||||||
|
(in order to comply with firewalls).</li>
|
||||||
|
</ol>
|
||||||
|
<blockquote>
|
||||||
|
<p>Note that the server daemon <b>does not</b> enforce any user
|
||||||
|
authentication. If you run the server daemon, any user can connect to the machine, work
|
||||||
|
with the file system and run commands.
|
||||||
|
<span style="font-weight: bold;">Use of the server daemon on Windows systems is not recommended</span>.
|
||||||
|
</p>
|
||||||
|
The server daemon runs on port 4035 by default. You can pass the optional
|
||||||
|
daemonPort argument to force a different port if you want.<br/>
|
||||||
|
If your daemon runs behind a firewall, you may want to specify the optional
|
||||||
|
<i>serverPortRange</i> argument to restrict selected server ports to the
|
||||||
|
range given:<pre>
|
||||||
|
daemon.bat 4035 10000-10010</pre>
|
||||||
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="p"><b>To start the server manually:</b>
|
||||||
|
<ol>
|
||||||
|
<li>Simply double click on the <code>server.bat</code> program to start a
|
||||||
|
dstore server. The server will pick the first port available and print
|
||||||
|
the port number. By default, it is usually 4033.
|
||||||
|
You will then have to enter this port number in port property for the
|
||||||
|
Files subsystem for your connection in the Remote System Explorer.</li>
|
||||||
|
<li>For security reasons, the server will only wait a limited time
|
||||||
|
until a client connects (12000 seconds by default).</li>
|
||||||
|
<li>In order to start the server with an exactly specified port or
|
||||||
|
timeout, open a Windows command prompt and enter:
|
||||||
<pre>
|
<pre>
|
||||||
c:<br/>
|
c:<br/>
|
||||||
cd \rseserver<br/>
|
cd \rseserver<br/>
|
||||||
setup.bat<br/>
|
server.bat [port] [timeout]
|
||||||
server.bat [port]
|
|
||||||
</pre>
|
</pre>
|
||||||
The port parameter to the server.bat program is optional. If
|
|
||||||
you do not specify a port, the server will pick the first port
|
|
||||||
available and print the port number to standard out. By default, it is usually 4033.
|
|
||||||
You will then have to enter this port number in the port property for the
|
|
||||||
Files subsystem for your connection in the Remote System Explorer (see
|
|
||||||
Connecting below).
|
|
||||||
</li>
|
</li>
|
||||||
</ol>
|
<li>When you connect RSE to the server, the server will terminate as soon as you
|
||||||
</div>
|
disconnect the client. The daemon, however, will not terminate.</li>
|
||||||
<div class="p">To start the server with a the server daemon:
|
|
||||||
<ol>
|
|
||||||
<li>First, you need to configure your CLASSPATH and then start the
|
|
||||||
server daemon. In a command prompt, enter:
|
|
||||||
<pre>
|
|
||||||
c:<br/>
|
|
||||||
cd:\rseserver<br/>
|
|
||||||
setup.bat<br/>
|
|
||||||
daemon.bat
|
|
||||||
</pre>
|
|
||||||
Note that the server daemon <b>does not</b> enforce any user
|
|
||||||
authentication. If you run the server daemon, any user can connect to the machine, work
|
|
||||||
with the file system and run commands.
|
|
||||||
<span style="font-weight: bold;">Use of the server daemon on Windows systems is not recommended</span>.</li>
|
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="p">To connect to a remote Windows server:</div>
|
|
||||||
|
<div class="p"><b>To connect to a remote Windows server:</b>
|
||||||
<ol>
|
<ol>
|
||||||
<li><span>Switch to the Remote System Explorer perspective.</span></li>
|
<li><span>Switch to the Remote System Explorer perspective.</span></li>
|
||||||
<li><span>In the Remote Systems view, <b>New Connection</b> is
|
<li><span>In the Remote Systems view, <b>New Connection</b> is
|
||||||
|
@ -91,6 +102,8 @@ the <b>Host Name</b> field, for example, jsandler.</span></li>
|
||||||
appears in the Properties view after the connection is created.</span></li>
|
appears in the Properties view after the connection is created.</span></li>
|
||||||
<li><span>Click <b>Finish</b> to define your system. </span></li>
|
<li><span>Click <b>Finish</b> to define your system. </span></li>
|
||||||
</ol>
|
</ol>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="p">
|
<div class="p">
|
||||||
<div class="note"><span class="notetitle">Note: </span>To check your
|
<div class="note"><span class="notetitle">Note: </span>To check your
|
||||||
port number, right-click your connection or subsystem
|
port number, right-click your connection or subsystem
|
||||||
|
|
Loading…
Add table
Reference in a new issue