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
相关文档:
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( ......
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 内核
......
运行如下命令,可看到Linux支持的信号列表:
$ kill -l
1) SIGHUP 2) SIGINT 3) SIGQUIT 4) SIGILL
5) SIGTRAP 6) SIGABRT 7) SIGBUS 8) SIGFPE
9) SIGKILL 10) SIGUSR1 11) SIGSEGV 12) SIGUSR2
13) SIGPIPE 14) SIGALRM 15) SIGTERM 17) SIGCHLD
18 ......
服务器端的设置:
安装ssh:
sudo apt-get install ssh
以普通用户的身份建立公钥和私钥:
ssh-keygen -t rsa
然后要求你确认钥匙的文件名(用默认的就好了);输入口令;再次输入口令。
在~/.ssh/下会生成公钥id_rsa.pub和私钥id_rsa
更改公钥文件名:
cd ~/.ssh/
mv id_rsa.pub authorized_keys
设置文件属性: ......