Connecting to an AIX Server
The Remote Systems view is by default part of the Remote C/C++ perspective.
To open this perspective from the workbench menu, click Window > Open Perspective > Other and then select Remote C/C++.
Alternatively, to open the Remote Systems view regardless of which perspective is active,
from the workbench menu click Window > Show View > Remote Systems.
- In the Remote Systems view, click New Connection. Select AIX from the list of available connection types and press Next.
-
Specify the host name and optionally enter a description, then press Next.
-
On the Connection Configuration page you must select the method for connecting to the AIX server. The simplest methods are via a daemon like the RSE daemon or REXEC
-
Connecting via a Remote (RSE) daemon: Enter a port number representing the daemon port for the connection. By default this is 8050. Then click Finish.
If there is no daemon available and you do not have authority to start a daemon, use REXEC as an alternative.
-
Connecting via REXEC: Select the radio button for REXEC to enable widgets to describe how to launch the server.
- Specify the fully qualified path to the server installation directory and the launch command (usually ./server.sh).
- Click Finish and the new connection will be shown in the Remote Systems view
- Connecting to a running server: Select the associated radio button and click Finish. The new connection will appear in the Remote Systems view.
- Under the new connection in the Remote Systems view, select Files and right-mouse click Properties.
- On the Properties for Files page, select Subsystem and enter a port number. You will use this port to launch the server. Press OK to finish.
- Start the server manually
- telnet to the remote host and cd to the server install directory
- type server.sh <port> to launch the server where port is the same port that you specified in the subsystem properties page.
After you have created the connection, you are ready to create a C/C++ project.
Related tasks
Creating a Remote C/C++ project
Creating a C or C++ source file
Editing a C or C++ File
Creating a makefile
Building a C/C++ project
© Copyright IBM Corporation 2009, 2010. All Rights Reserved.