1、 如何登陆数据库?
openlab% sqlplus tarena/tarena
2、
如何编译C/C++程序?
openlab% cc -o helloworld helloworld.c
或者: openlab% /usr/local/bin/gcc -o helloworld
helloworld.c
3、 如何寻求在线帮助?
请运行tarena命令。
openlab%
tarena
4、如有其它问题,怎么处理?
请发mail至openlab@tarena.ca或登录达内科技传播公司网页www.tarena.ca在'精英答疑'栏目中留下您的问题,我们将在
24小时之内答复您的问题。
5、 如何编译和运行Java程序?
openlab% javac
HelloWorld.java
openlab% java HelloWorld
6、
如何编译和运行Perl程序?
openlab% perl helloworld.pl
7、
如何编译和运行Tcl程序?
openlab% tcl helloworld.tcl
8、
编译器(Compiler)程序存放的目录在哪里?
/usr/local/bin/gcc
/workdisk/SUNWspro
/bin/cc /bin/javac
/bin/java /bin/perl
9、 如何创建自己的网页?
A. login onto Tarena
Open Lab.
B. in your home directory, for example
/tarenauser/yourname, create a new directory "public_html":
openlab% mkdir public_html
C. put all your webpages
under the "public_html direcory
D. then you could access
those pages at any web browser in the world, for example:
http://www.openlab.com.cn/~cftang/index.html
10、
在实验室内如何和其他室友交谈?
A. send a request to somebody you want to
talk by: openlab% talk username For example, suppose you are
the user "tom", and you want to "talk" to user "john",
type:
openlab% talk john
B. If the user john is
online, and he is willing to talk to you as well, he will
response by typing: openlab% talk tom
C. The
connection between you two will be built then. You could start
to chat to each other.
11、如何从客户端连接到ORACLE数据库
TARENADB
A:根据客户端所用的不同操作系统,安装和设置ORACLE客户端应用软件。
B:用ORACLE
NET8 ASSISTANT 设置ORACLE
NET8客户端参数。
C:在sqlnet.ora文件中,应包括以下语句:
NAMES.DIRECTORY_PATH=
(TNSNAMES, ONAMES, HOSTNAME)
D: 在tnsnames.ora文件中,
应包括以下语句: TARENADB = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS =
(PROTOCOL = TCP)(HOST = openlab)(PORT = 1521)) )
(CONNECT_DATA = (SERVICE_NAME = TARENADB) ) )
E:
用以下语句从客户端连接到ORACLE数据库 TARENADB: sqlplus tarena/tarena@TARENADB
|