LINUX下安装tuxedo问题
一. 以root身份建立tuxedo用户,并以tuxedu用户登陆,此用户将做为以后tuxedo管理员,用户默认目录为/home/tuxedo;
二. 用FTP把安装文件(tuxedo81_linux.bin)和用户许可证书文件(lic.txt)传到/home/tuxedo目录中;
三. 配置环境变量,.bash_profile文件,附文末;
四. 进入/home/tuxedo目录中,执行sh tuxedo81_linux.bin;
出错1--------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin
Preparing to install...
The included VM could not be uncompressed. Please try to download
the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
解决办法:
脚本使用uncompress命令,但是linux下没有。使用cp /bin/gunzip /bin/uncompress
出错2----------------------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin
Preparing to install...
/tmp/install.dir.22860/Linux/resource/jre/bin/i386/native_threads/java: error while loading shared libraries: libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
解决办法:
[root@TUXSVR4 root]# rpm -ivh /tmp/compat-libstdc++-7.3-2.96.118.i386.rpm
warning: /tmp/compat-libstdc++-7.3-2.96.118.i386.rpm: V3 DSA signature: NOKEY, k
ey ID db42a60e
Preparing... ########################################### [100%]
1:compat-libstdc++ ########################################### [100%]
参考:
http://dev2dev.bea.com.cn/bbs/thread.jspa?forumID=4&threadID=13265&messageID=72337#72337
https://www.redhat.com/archives/fedora-list/2005-February/msg04944.html
出错3-----------------------------------------------------------------
[tuxedo@TUXSVR4 tuxedo]$ sh tuxedo81_linux.bin
Preparing to install...
Error occurred during initialization of VM
Unable to load native library: /tmp/insta
相关文档:
1. HCI层协议概述:
HCI提供一套统一的方法来访问Bluetooth底层。如图所示:
从图上可以看出,Host Controller Interface(HCI) 就是用来沟通Host和Module。Host通常就是PC, Module则是以各种物理连接形式(USB,serial,pc-card等)连接到PC上的bluetooth Dongle。
在Host这一端:application,SDP,L2cap等协议 ......
感谢原文作者:http://blog.csdn.net/thinkerABC/archive/2006/03/11/621817.aspx
感谢转帖者的排版:http://blog.chinaunix.net/u3/101219/showart_2006014.html
我们通常把一些公用函数
制作成函数库,供其它程序使用。
函数库分为静态库和动态库两种。
静态库在程序编译时会被连接到目标代码中, ......
int Daemon(char* szExecName = NULL)
{
int res = 0;
pid_t pc;
pc = fork();
if(pc < 0)
{
fprintf(stderr,"ERROR_Deamon()_fork(): failed!");
return -1;
}
else if(pc == 0) //sub process
{
}
else if( ......
linux目录架构
/ 根目录
/bin 常用的命令 binary file 的目錄
/boot 存放系统启动时必须读取的档案,包括核心 (kernel) 在内
/boot/grub/menu.lst GRUB设置
/boot/vmlinuz 内核
......
服务器端的设置:
安装ssh:
sudo apt-get install ssh
以普通用户的身份建立公钥和私钥:
ssh-keygen -t rsa
然后要求你确认钥匙的文件名(用默认的就好了);输入口令;再次输入口令。
在~/.ssh/下会生成公钥id_rsa.pub和私钥id_rsa
更改公钥文件名:
cd ~/.ssh/
mv id_rsa.pub authorized_keys
设置文件属性: ......