 |
Installation Guide
Last update: 01/14/2006
Server OS:
Magic C++ supports for many popular Unix/Linux/BSD platforms include IBM AIX, Sun Solaris, HP HP-UX, HP Tur64 Unix, Linux, FreeBSD and NetBSD. If you would like some further information on this product please contact us. We can also extend Magic C++ to support any other platforms to satisfy your requirement.
| IBM AIX |
4.0, 5.1L, 5.2L, and 5.3L |
|
|
| Sun Solaris |
7, 8, 9 and 10 |
 |
|
| HP HP-UX |
10, 11, 11i |
 |
|
| HP Tru64 Unix |
V4.0F, V5.1, V5.1A, and V5.1B |
|
|
| SCO Unix |
5.05
|
Editing
Compiling
Debugging
|
|
| Linux |
Red Hat 7.2, 7.3, 8.0, and 9.0
Red Hat Enterprise 3 and 4, Red Hat Fedora Core 1, 2, 3 and 4
SuSE Enterprise Server 8.1, 8.1 update 3, 8.2, 9, and 9 update 1
SuSE Linux Personal or Professional 8.1, 8.2, 9.0, and 9.1
|
 |
|
| FreeBSD |
4.9, 5.2, 5.3 |
 |
|
| NetBSD |
1.6 |
 |
|
| CygWin |
|
|
* |
| MinGW |
|
|
* |
| *Magic C++ 3.0 or higher |
- The supported platforms have not been listed completely here, we only list those popular platforms.
- Extend to support any other platforms please contact support@magicunix.com
|
|
Client OS:
Win2000/XP/2003
( *** Notice : We no longer support Windows98 *** )
-
Unzipping software package
Unzip software package with compression/de-compression tool( winzip, winrar etc. ), and the directory after unzipping looks like this:
Server\ --source codes package for RDA
Client\ --Windows setup package for IDE
Doc\ --Documents
-
For Unix/Linux/BSD remote development
Prerequisites
Before installing Magic C++, please check to make sure that:
1. Client can communicate with server via TCP/IP
for standard SSH/SFTP mode please check SSH and SFTP services on the server,
for standard TELNET/FTP mode please check TELNET and FTP services on the server,
for expert RDA mode please check please check FTP service on the server.
2. Server has development packages( gcc/g++/gdb, cc/CC/dbx etc. ) installed and works normally
-
For standard SSH/SFTP and TELNET/FTP mode
-
Installing client component - IDE
Enter client directory and use your mouse to double click Setup.exe then follow the setup instructions step by step. Enter any characters when prompted for serial number to evaluate the software for 45 days.
-
Installing client component - IDE
Enter client directory and use your mouse to double click Setup.exe then follow the setup instructions step by step. Enter any characters when prompted for serial number to evaluate the software for 45 days.
-
Installing server component - RDA
1. Transfer the source codes package to the server via FTP or other measures
2. Extract files from the package, execute command as:
tar -zxvf magicd-x.tar.gz
( *** Notice: x is the release version of the package*** )
If an old version of this software package exists please remove it first.
3. Compile the source codes and install
./configure
or
./configure --prefix=your_magicd_install_path
make
make install
If you meet problems with these steps please send us the error output info, we'll solve it for you as soon as possible, thank you.
-
Start Remote Development Agent( daemon process )
with the default options
cd /your_magicd_install_path/bin
./magicd
You will see output info like this:
Starting Magic C++ Server daemon program...
Install Root Directory is :/home/ken/magicd-2.5.0/../magicd-2.5.0
Starting up http server on the port [2104]
Magic C++ Server Daemon Startup successfully on port [2004]...
Copyright(c) 2004 MagicUnix Information Technology Limited. All right reserved
with the customized options
Usage : magicd [-p PORT] [-t HTTP_PORT] [-f FILE] [-L FILE] [-a USERNAME,PASSWORD]
[--help][--version] [--col ] [--row ] [--debug]
-p PORT
RDA listening socket port£¬default is 2004.
-t HTTP_PORT
HTTP server listening socket port £¬default is 2104.
-f FILE
specify an option file£¬the option file format will be list below.
( *** Notice £º Other command line options will be ignored if you use this option*** )
-L FILE
specify the login program.
-a USERNAME,PASSWORD
enable the authentication ability embeded in RDA with specified username and password. This option is NECESSARY if you startup RDA with non-root user.
-h = --help
print help info
-v = --version
print version info
-d = --debug
work under debugging mode, the RDA will print debugging info in details to the log file, that will help us to solve problems for you.
-c = --col
specify the number of columns of terminal, default is 300
-r = --row
specify the number of rows of terminal, default is 100
Here is the standard format of the option file
###################################
[COMMON]
port=2004
login=/bin/login
debug=0
http_port = 2104
[WINSZ]
row = 100
col = 300
[SELF_AUTH]
self auth = 0
#need check password
username=magicd
password=magicd
###################################
Comment for each option:
port - listening socket port
row - number of rows
col - number of columns
self auth - enable/disable the authentication ability embeded in RDA
username - username
password - password
http_port - HTTP server listening socket port
( *** Notice £º Other command line options will be ignored if you use this option*** )
Non-root user notice
If you're not logged in as superuser, authentication by the server is disabled. Magic C++ provides password authentication to solve the problem. You have to properly configure username and password before activating the authentication ability.
You can startup magicd with -a option to specify the username and password.
-or-
In [SELF_AUTH] section of /your_magicd_install_path/etc/magic.ini:
modify "username = magicd" to your own login name
modify "password = magicd" to your own password
modify "self auth = 0" to "self auth = 1"
***NOTICE***
Startup magicd with -a option will active the authentication ability provides by Magic C++, at this situation you must specify the telnet port of redirection terminal corresponding to the server component(RDA)(default is 2004) in Magic C++ IDE.
1. Open the Remote Server Manager (under file menu) File->Remote Server Manager.
2. Open the Server Property dialog for your server.
3. Under the "Advance" tab, set your Telnet port to 2004(magicd working port) instead of 23(the standard telnet port).
- Stop Remote Development Agent( daemon process )
To stop Remote Development Agent, execute command:
cd /your_magicd_install_path/bin
./killit.sh
-
For Cygwin/MinGW local development
-
System requirements:
Development Environment :
Cygwin/MinGW with GNU GCC development packages installed
Windows OS:
Win2000/XP/2003
( *** Notice : We no longer support Windows98 *** )
-
Prerequisites
Before installing Magic C++, please check to make sure that:
1. Cygwin or MinGW can work normally
2. Cygwin or MinGW has development packages( gcc, gdb etc. ) installed and works normally
-
Installing IDE
Enter client directory and use your mouse to double click Setup.exe then follow the setup instructions step by step. Enter any characters when prompted for serial number to evaluate the software for 45 days.
During the installation process you can choose to optionally install MinGW provided by Magic C++ package. If Cygwin or MinGW has been installed in your windows system the install wizard can seek their installation directory to configure Magic C++ environment for future use automatically, you can also skip this operation and configure Magic C++ environment manually in the IDE by 'File/Local Host Setting...' after installation.
If you meet problem while installing Magic C++, please refer
FAQ( Frequence Asked Question )
Any question not list in FAQ please send us email
Technical Support Email
-or-
post your question to
Magic C++ Forum
we'll reply you as soon as possible.
We also provide
Magic C++ Tutorial Course beginning-level/intermediate-level/advance-level
Magic C++ customization service
Magic C++ OEM service
Unix/Linux/Embedded software outsourcing and consultation service
IDE( Integrated Development Environment ) software customization/outsourcing/consultation service
If there is anything else we can do to further assist you or any questions about the product, please don't hesitate to contact us.
Contact us
MagicUnix Information Technology Limited
For orders: marketing@magicunix.com 
Customer service: support@magicunix.com 
United States
5385 Wyntree Court
Norcross, GA 30071
Toll Free: 1-877-357-4092 Canada
33 ISABELLA STREET EAST, SUITE 2812,
TORONTO,ONTARIO,M4Y 2P7
Toll Free: 1-877-357-4092
Ph: 416-921-5115
Fax: 416-921-5115
China
No.2, Zhongguancun South Avenue, Haidian District,
Beijing, China 100081
Ph: +86-10-82781195
No.8, Keyun Road, TianHe Software Park,
Guangzhou, China 510665
Ph: +86-20-31715180
Back to Top
|
|
|
|