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至[email protected]或登錄達內科技傳播公司網頁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