weblogic11g 安装——linux 无图形界面
一.weblogic安装系统环境
准备安装在/home 目录下,发现/ 目录 空间不是特别多,扩展下 / 目录lv
[root@rac1 ~]# df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/mapper/vg_rac1-lv_root
7.7G 4.1G 3.3G 57% /
tmpfs 978M 200M 778M 21% /dev/shm
/dev/sda1 485M 51M 410M 11% /boot
/dev/mapper/vg_rac1-lv_oracle
18G 10G 6.5G 61% /oracle
[root@rac1 ~]# lvextend -L +1024M /dev/mapper/vg_rac1-lv_root
Extending logical volume lv_root to 8.81 GiB
Logical volume lv_root successfully resized
[root@rac1 ~]# resize2fs /dev/mapper/vg_rac1-lv_root
resize2fs 1.41.12 (17-May-2010)
Filesystem at /dev/mapper/vg_rac1-lv_root is mounted on /; on-line resizing required
old desc_blocks = 1, new_desc_blocks = 1
Performing an on-line resize of /dev/mapper/vg_rac1-lv_root to 2310144 (4k) blocks.
The filesystem on /dev/mapper/vg_rac1-lv_root is now 2310144 blocks long.
[root@rac1 ~]# df -h
文件系统 容量 已用 可用 已用%% 挂载点
/dev/mapper/vg_rac1-lv_root
8.7G 4.1G 4.2G 50% /
tmpfs 978M 200M 778M 21% /dev/shm
/dev/sda1 485M 51M 410M 11% /boot
/dev/mapper/vg_rac1-lv_oracle
18G 10G 6.5G 61% /oracle
二.查看系统用户、创建weblogic用户
[root@rac1 ~]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/sbin/nologin
usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin
avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rtkit:x:499:497:RealtimeKit:/proc:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
saslauth:x:498:496:"Saslauthd user":/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
qpidd:x:497:495:Owner of Qpidd Daemons:/var/lib/qpidd:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
pulse:x:496:494:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
gdm:x:42:42::/var/lib/gdm:/sbin/nologin
qemu:x:107:107:qemu user:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
grid:x:601:507::/home/grid:/bin/bash
oracle:x:600:507::/home/oracle:/bin/bash
[root@rac1 ~]# groupadd -g 700 bea
[root@rac1 ~]# useradd -u 700 -g 700 weblogic
[root@rac1 ~]# cat /etc/passwd
root:x:0:0:root:/root:/bin/bash
bin:x:1:1:bin:/bin:/sbin/nologin
daemon:x:2:2:daemon:/sbin:/sbin/nologin
adm:x:3:4:adm:/var/adm:/sbin/nologin
lp:x:4:7:lp:/var/spool/lpd:/sbin/nologin
sync:x:5:0:sync:/sbin:/bin/sync
shutdown:x:6:0:shutdown:/sbin:/sbin/shutdown
halt:x:7:0:halt:/sbin:/sbin/halt
mail:x:8:12:mail:/var/spool/mail:/sbin/nologin
uucp:x:10:14:uucp:/var/spool/uucp:/sbin/nologin
operator:x:11:0:operator:/root:/sbin/nologin
games:x:12:100:games:/usr/games:/sbin/nologin
gopher:x:13:30:gopher:/var/gopher:/sbin/nologin
ftp:x:14:50:FTP User:/var/ftp:/sbin/nologin
nobody:x:99:99:Nobody:/:/sbin/nologin
dbus:x:81:81:System message bus:/:/sbin/nologin
rpc:x:32:32:Rpcbind Daemon:/var/cache/rpcbind:/sbin/nologin
usbmuxd:x:113:113:usbmuxd user:/:/sbin/nologin
avahi-autoipd:x:170:170:Avahi IPv4LL Stack:/var/lib/avahi-autoipd:/sbin/nologin
oprofile:x:16:16:Special user account to be used by OProfile:/home/oprofile:/sbin/nologin
vcsa:x:69:69:virtual console memory owner:/dev:/sbin/nologin
rtkit:x:499:497:RealtimeKit:/proc:/sbin/nologin
abrt:x:173:173::/etc/abrt:/sbin/nologin
saslauth:x:498:496:"Saslauthd user":/var/empty/saslauth:/sbin/nologin
postfix:x:89:89::/var/spool/postfix:/sbin/nologin
qpidd:x:497:495:Owner of Qpidd Daemons:/var/lib/qpidd:/sbin/nologin
ntp:x:38:38::/etc/ntp:/sbin/nologin
apache:x:48:48:Apache:/var/www:/sbin/nologin
avahi:x:70:70:Avahi mDNS/DNS-SD Stack:/var/run/avahi-daemon:/sbin/nologin
rpcuser:x:29:29:RPC Service User:/var/lib/nfs:/sbin/nologin
nfsnobody:x:65534:65534:Anonymous NFS User:/var/lib/nfs:/sbin/nologin
hsqldb:x:96:96::/var/lib/hsqldb:/sbin/nologin
haldaemon:x:68:68:HAL daemon:/:/sbin/nologin
pulse:x:496:494:PulseAudio System Daemon:/var/run/pulse:/sbin/nologin
gdm:x:42:42::/var/lib/gdm:/sbin/nologin
qemu:x:107:107:qemu user:/:/sbin/nologin
sshd:x:74:74:Privilege-separated SSH:/var/empty/sshd:/sbin/nologin
tcpdump:x:72:72::/:/sbin/nologin
grid:x:601:507::/home/grid:/bin/bash
oracle:x:600:507::/home/oracle:/bin/bash
weblogic:x:700:700::/home/weblogic:/bin/bash
[root@rac1 ~]# passwd weblogic
更改用户 weblogic 的密码 。
新的 密码:
无效的密码: 它基于字典单词
重新输入新的 密码:
passwd: 所有的身份验证令牌已经成功更新。
[root@rac1 ~]#
[root@rac1 ~]# su - weblogic
[weblogic@rac1 ~]$ ls
[weblogic@rac1 ~]$ pwd
/home/weblogic
[weblogic@rac1 ~]$ ls
jdk-6u30-linux-x64.bin jdk-6u30-linux-x64-rpm.bin wls1033_generic.jar
[weblogic@rac1 ~]$ ll
总用量 1105980
-rw-r--r-- 1 weblogic bea 85570714 3月 29 2012 jdk-6u30-linux-x64.bin
-rw-r--r-- 1 weblogic bea 81053867 3月 29 2012 jdk-6u30-linux-x64-rpm.bin
-rw-r--r-- 1 weblogic bea 965886589 11月 28 2012 wls1033_generic.jar
[weblogic@rac1 ~]$ chmod u+x jdk-6u30-linux-x64.bin
[weblogic@rac1 ~]$ ./jdk-6u30-linux-x64.bin
weblogic@rac1 ~]$ java -version
java version "1.6.0_20"
OpenJDK Runtime Environment (IcedTea6 1.9.7) (rhel-1.39.1.9.7.el6-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)
[weblogic@rac1 ~]$ cd /usr
[weblogic@rac1 usr]$ ls
bin etc games include lib lib64 libexec local sbin share src tmp
[weblogic@rac1 usr]$ find /-name java
find: “/-name”: 没有那个文件或目录
find: “java”: 没有那个文件或目录
[weblogic@rac1 usr]$ exit
logout
[root@rac1 ~]# find / -name java
/oracle/ora11g/crs_home/jdk/jre/bin/java
/oracle/ora11g/crs_home/jdk/bin/java
/oracle/ora11g/db_base/product/11.2.0/db_1/xdk/doc/java
/oracle/ora11g/db_base/product/11.2.0/db_1/sqldeveloper/lib/java
/oracle/ora11g/db_base/product/11.2.0/db_1/jdk/jre/bin/java
/oracle/ora11g/db_base/product/11.2.0/db_1/jdk/bin/java
/oracle/ora11g/db_base/product/11.2.0/db_1/owb/wf/java
/oracle/ora11g/db_base/product/11.2.0/db_1/lib/java
/etc/j
SCTP(stream control transmission protocol)是一种新的可靠的,面向报文的传输层控制协议。它兼有UDP和TCP的特性,它是可靠的面向报文的协议,它保存报文的边界,同时它检测丢失的数据,重复的数据和时序的数据。它还有拥塞控制和流量控制。
1.SCTP服务 1.1.多流发送方窗口的大小不仅取决于接收方,而、而且还取决于网络拥塞的情况。
发送方有2种信息:接收方通告的窗口大小和拥塞窗口的大小,实际的窗口大小事这两者中的最小者。
实际窗口大小 = min(rwnd,cwnd)
rwnd:接收窗口大小。
cwnd:拥塞窗口大小。
2.拥塞策略