Oracle HTTP Server 12c
Collacated Mode |
Standalone Mode |
Integrated Weblogic Server |
No Integrated Werblogic Server |
Em&Wls Managed Interface |
Command Line Interface |
More Memory |
Less Memory |
Standalone Mode Kurulumu
Os: Oracle Linux 7.9
Installation: fmw_12.2.1.4.0_ohs_linux64.bin
Fmw Home: /u01/app/oracle/product/middleware
Jdk Home: /u01/app/oracle/product/jre1.8.0_321
Os tarafında yapılan hazırlıklar
Fw Servisi – Kullanıcı / Group Yaratma – İlgili Paketlerin Kurulması – Klasörlerin Oluşturulması
[root@orafmw ~]# systemctl stop firewalld [root@orafmw ~]# systemctl disable firewalld |
nano /etc/selinux/config |
# This file controls the state of SELinux on the system. # SELINUX= can take one of these three values: # enforcing – SELinux security policy is enforced. # permissive – SELinux prints warnings instead of enforcing. # disabled – No SELinux policy is loaded. SELINUX=disabled # SELINUXTYPE= can take one of three values: # targeted – Targeted processes are protected, # minimum – Modification of targeted policy. Only selected processes are protected. # mls – Multi Level Security protection. SELINUXTYPE=targeted |
[root@orafmw ~]# groupadd oinstall [root@orafmw ~]# usermod -g oinstall oracle |
[root@orafmw ~]# mkdir -p /u01/app/oracle/product/middleware [root@orafmw ~]# chown -R oracle:oinstall /u01 |
[root@orafmw ~]# nano /etc/hosts 192.168.10.42 orafmw.localdomain orafmw 127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 |
yum install binutils -y yum install compat-libcap1 -y yum install compat-libstdc++-33 -y yum install compat-libstdc++-33.i686 -y yum install gcc -y yum install gcc-c++ -y yum install glibc -y yum install glibc.i686 -y yum install glibc-devel -y yum install libaio -y yum install libaio-devel -y yum install libgcc -y yum install libgcc.i686 -y yum install libstdc++ -y yum install libstdc++.i686 -y yum install libstdc++-devel -y yum install ksh -y yum install make -y yum install sysstat -y yum install numactl -y yum install numactl-devel -y yum update -y |
[oracle@orafmw setup]$ gunzip jre-8u321-linux-x64.tar.gz [oracle@orafmw setup]$ tar -xvf jre-8u321-linux-x64.tar |
[oracle@orafmw setup]$ mv /u01/setup/ jre1.8.0_321 /u01/app/oracle/product/ |
[oracle@orafmw setup]$ ./fmw_12.2.1.4.0_ohs_linux64.bin |
Instance Oluşturma
/u01/app/oracle/product/middleware/oracle_common/common/bin |
[oracle@orafmw bin]$ ./config.sh |
OHS Start/Stop İşlemleri
Nodemanager Start
cd /u01/app/oracle/product/middleware/user_projects/domains/ohs/bin [oracle@orafmw bin]$ nohup sh ./startNodeManager.sh & |
OHS1 Instance Start
cd /u01/app/oracle/product/middleware/user_projects/domains/ohs/bin ./startComponent.sh ohs1 |
Starting system Component ohs1 … Initializing WebLogic Scripting Tool (WLST) … Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Reading domain from /u01/app/oracle/product/middleware/user_projects/domains/ohs Please enter Node Manager password: Creating the key file can reduce the security of your system if it is not kept in a secured location after it is created. Creating new key… The username and password that were used for this WebLogic NodeManager connection are stored in /home/oracle/.wlst/nm-cfg-ohs.props and /home/oracle/.wlst/nm-key-ohs.props. Connecting to Node Manager … Successfully Connected to Node Manager. Starting server ohs1 … Successfully started server ohs1 … Successfully disconnected from Node Manager. |
OHS1 Instance Stop
[oracle@orafmw bin]$ ./stopComponent.sh ohs1 Stopping System Component ohs1 … Initializing WebLogic Scripting Tool (WLST) … Welcome to WebLogic Server Administration Scripting Shell Type help() for help on available commands Reading domain from /u01/app/oracle/product/middleware/user_projects/domains/ohs Connecting to Node Manager … Successfully Connected to Node Manager. Killing server ohs1 … Successfully killed server ohs1 Successfully disconnected from Node Manager. Exiting WebLogic Scripting Tool. |
Nodemanager Stop
[oracle@orafmw bin]$ ./stopNodeManager.sh <2022-04-02 +03 18:24:05> <Info> <StopNodeManager> <NODEMGR_HOME is already set to /u01/app/oracle/product/middleware/user_projects/domains/ohs/nodemanager> <2022-04-02 +03 18:24:05> <Info> <StopNodeManager> <Begin> <2022-04-02 +03 18:24:05> <Info> <StopNodeManager> <Adding NodeManagerHome entry to JAVA_OPTIONS: -DNodeManagerHome=/u01/app/oracle/product/middleware/user_projects/domains/ohs/nodemanager> <2022-04-02 +03 18:24:05> <Info> <StopNodeManager> <Root Directory already set /u01/app/oracle/product/middleware/user_projects/domains/ohs> <2022-04-02 +03 18:24:05> <Info> <StopNodeManager> <Found process id from /u01/app/oracle/product/middleware/user_projects/domains/ohs/nodemanager/nodemanager.process.id: 3377> <2022-04-02 +03 18:24:05> <Info> <StopNodeManager> <Sending signal TERM to 3377> <2022-04-02 +03 18:24:06> <Info> <StopNodeManager> <End> /u01/app/oracle/product/middleware/user_projects/domains/ohs/nodemanager/stopnodemanager.log was copied to /u01/app/oracle/product/middleware/user_projects/domains/ohs/nodemanager/nodemanager.log [1]+ Done nohup sh ./startNodeManager.sh |
OHS1 Instance Bileşenleri
$ORACLE_HOME/user_projects/domains/ohs/config/fmwconfig/components/OHS/instances/ohs1 |
|