|
and
u guys said there are some problems with autostarting when system is booting on redhat 7.2. But on my linux ( i have to say, it is not redhat 7.2 ,but one linux from Redhat 7.2), it works well.
i create one file :
/etc/rc.db2
and append this clause in file /etc/inittab:
db:234 nce:/etc/rc.db2 > /dev/console 2>&1 # Autostart DB2 Services
now i can do:
[db2inst1@hostname] db2sampl
[db2inst1@hostname] db2
db2 => connect to sample
db2 => select * from employee;
.......
db2 => quit
[db2inst1@hostname] haha, all is ok. except "db2 control center " & "db2 information center"-- both of them work well ,but i am unable to read them (neither English nor Chinese)
thank you all very much.
If i have time ,i prefer to learn DB2. Compare it with Oracle which i am studying .
(installing db2 is my work in company to prove that it can work on our linux) |
|