lavavel 5.6(qrius,boneandall) prerequisite: PHP >= 7.1.3 OpenSSL PHP Extension PDO PHP Extension Mbstring PHP Extension Tokenizer PHP Extension XML PHP Extension Ctype PHP Extension JSON PHP Extension BCMath PHP Extension
lavavel 7.0(viokart) prerequisite: PHP >= 7.2.5 BCMath PHP Extension Ctype PHP Extension Fileinfo PHP extension JSON PHP Extension Mbstring PHP Extension OpenSSL PHP Extension PDO PHP Extension Tokenizer PHP Extension XML PHP Extension
Grails 2.5 prerequisite:
Java Development Kit (JDK) >= 6
Grails 3.X prerequisite:
Java Development Kit (JDK) >= 8
Grails 6.0 prerequisite:
Java Development Kit (JDK) >= 11
tomcat 8 prerequisite:
Java Development Kit (JDK) >= 7
tomcat 9 prerequisite:
Java Development Kit (JDK) >= 8
Spring 2.7 prerequisite:
Java Development Kit (JDK) >= 8 and <= 20
Spring 3.0 prerequisite:
Java Development Kit (JDK) >= 17
Before installing PHPMyAdmin, you need to have the following requisite packages installed.
<Directory /usr/share/phpMyAdmin/> AddDefaultCharset UTF-8 Require local Require all granted </Directory>
Enable htaccess in httpd server
go to /etc/httpd/conf/httpd.conf => using editor change as follows # Further relax access to the default document root: <Directory "/var/www/html"> # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options Indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # #AllowOverride None AllowOverride All # # Controls who can get stuff from this server. # Require all granted </Directory>
[Unit] Description=Tomcat 9 After=syslog.target network.target [Service] Type=forking User=tomcat9user Group=tomcat9user Environment="CATALINA_BASE=/usr/local/tomcat9" Environment="CATALINA_HOME=/usr/local/tomcat9" Environment="CATALINA_PID=/usr/local/tomcat9/temp/tomcat.pid" ExecStart=/usr/local/tomcat9/bin/startup.sh ExecStop=/usr/local/tomcat9/bin/shutdown.sh [Install] WantedBy=multi-user.target
<!--CookieProcessor className="org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="strict" /--> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow=".*" /> instead of <CookieProcessor className="org.apache.tomcat.util.http.Rfc6265CookieProcessor" sameSiteCookies="strict" /> <Valve className="org.apache.catalina.valves.RemoteAddrValve" allow="^.*$" />
<user username="admin" password="rowmi2014" roles="manager-gui, manager-script, manager-jmx, manager-status, admin-gui, admin-script"/> <user username="robot" password="rowmi2014" roles="manager-script"/> <role rolename="tomcat"/> <role rolename="role1"/> <user username="tomcat" password="rowmi2014" roles="tomcat"/> <user username="both" password="rowmi2014" roles="tomcat,role1"/> <user username="role1" password="rowmi2014" roles="role1"/>
Server Display Cards:At least 1024 x 768 display resolution, which Oracle Universal Installer requires. Minimum RAM:At least 1 GB RAM for Oracle Database installations. 2 GB RAM recommended. hard disk space:
Step One:
149.28.62.** ukmodak.com ukmodak
# sysctl settings are defined through files in # /usr/lib/sysctl.d/, /run/sysctl.d/, and /etc/sysctl.d/. # # Vendors settings live in /usr/lib/sysctl.d/. # To override a whole file, create a new file with the same in # /etc/sysctl.d/ and put new settings there. To override # only specific settings, add a file with a lexically later # name in /etc/sysctl.d/ and put new settings there. # # For more information, see sysctl.conf(5) and sysctl.d(5). # oracle-database-preinstall-19c setting for fs.file-max is 6815744 fs.file-max = 6815744 # oracle-database-preinstall-19c setting for kernel.sem is '250 32000 100 128' kernel.sem = 250 32000 100 128 # oracle-database-preinstall-19c setting for kernel.shmmni is 4096 kernel.shmmni = 4096 # oracle-database-preinstall-19c setting for kernel.shmall is 1073741824 on x86_64 kernel.shmall = 1073741824 # oracle-database-preinstall-19c setting for kernel.shmmax is 4398046511104 on x86_64 kernel.shmmax = 4398046511104 # oracle-database-preinstall-19c setting for kernel.panic_on_oops is 1 per Orabug 19212317 kernel.panic_on_oops = 1 # oracle-database-preinstall-19c setting for net.core.rmem_default is 262144 net.core.rmem_default = 262144 # oracle-database-preinstall-19c setting for net.core.rmem_max is 4194304 net.core.rmem_max = 4194304 # oracle-database-preinstall-19c setting for net.core.wmem_default is 262144 net.core.wmem_default = 262144 # oracle-database-preinstall-19c setting for net.core.wmem_max is 1048576 net.core.wmem_max = 1048576 # oracle-database-preinstall-19c setting for net.ipv4.conf.all.rp_filter is 2 net.ipv4.conf.all.rp_filter = 2 # oracle-database-preinstall-19c setting for net.ipv4.conf.default.rp_filter is 2 net.ipv4.conf.default.rp_filter = 2 # oracle-database-preinstall-19c setting for fs.aio-max-nr is 1048576 fs.aio-max-nr = 1048576 # oracle-database-preinstall-19c setting for net.ipv4.ip_local_port_range is 9000 65500 net.ipv4.ip_local_port_range = 9000 65500
fs.file-max = 6815744 kernel.sem = 250 32000 100 128 kernel.shmmni = 4096 kernel.shmall = 1073741824 kernel.shmmax = 4398046511104 kernel.panic_on_oops = 1 net.core.rmem_default = 262144 net.core.rmem_max = 4194304 net.core.wmem_default = 262144 net.core.wmem_max = 1048576 net.ipv4.conf.all.rp_filter = 2 net.ipv4.conf.default.rp_filter = 2 fs.aio-max-nr = 1048576 net.ipv4.ip_local_port_range = 9000 65500
oracle soft nofile 1024 oracle hard nofile 65536 oracle soft nproc 16384 oracle hard nproc 16384 oracle soft stack 10240 oracle hard stack 32768 oracle hard memlock 134217728 oracle soft memlock 134217728
Step Two:
Last metadata expiration check: 0:35:29 ago on Mon 18 Sep 2023 11:29:17 AM UTC. Dependencies resolved. ============================================================================================================================================================ Package Architecture Version Repository Size ============================================================================================================================================================ Installing: oracle-database-ee-19c x86_64 1.0-1 @commandline 2.5 G Transaction Summary ============================================================================================================================================================ Install 1 Package Total size: 2.5 G Installed size: 6.9 G Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Running scriptlet: oracle-database-ee-19c-1.0-1.x86_64 1/1 Installing : oracle-database-ee-19c-1.0-1.x86_64 1/1 Running scriptlet: oracle-database-ee-19c-1.0-1.x86_64 1/1 [INFO] Executing post installation scripts... [INFO] Oracle home installed successfully and ready to be configured. To configure a sample Oracle Database you can execute the following service configuration script as root: /etc/init.d/oracledb_ORCLCDB-19c configure Verifying : oracle-database-ee-19c-1.0-1.x86_64 1/1 Installed: oracle-database-ee-19c-1.0-1.x86_64 Complete!
inventory_loc=/opt/oracle/oraInventory inst_group=oracle
# This file is used by ORACLE utilities. It is created by root.sh # and updated by either Database Configuration Assistant while creating # a database or ASM Configuration Assistant while creating ASM instance. # A colon, ':', is used as the field terminator. A new line terminates # the entry. Lines beginning with a pound sign, '#', are comments. # # Entries are of the form: # $ORACLE_SID:$ORACLE_HOME:: # # The first and second fields are the system identifier and home # directory of the database respectively. The third field indicates # to the dbstart utility that the database should , "Y", or should not, # "N", be brought up at system boot time. # # Multiple entries with the same $ORACLE_SID are not allowed. # #
ORCLCDB:/opt/oracle/product/19c/dbhome_1:Y
# create new : define environment variables ORACLE_BASE=/opt/oracle/oradata ORACLE_HOME=/opt/oracle/product/19c/dbhome_1 ORACLE_SID=ORCLCDB
# this is an example, modify for free [Unit] Description=Oracle Database service After=network.target [Service] Type=forking EnvironmentFile=/etc/sysconfig/ORCLCDB.oracledb ExecStart=/opt/oracle/product/19c/dbhome_1/bin/dbstart $ORACLE_HOME ExecStop=/opt/oracle/product/19c/dbhome_1/bin/dbshut $ORACLE_HOME User=oracle [Install] WantedBy=multi-user.target
Step Three:
#!/bin/bash # # chkconfig: 2345 80 05 # Description: This script is responsible for taking care of configuring the Oracle Database and its associated services. # # processname: oracledb_ORCLCDB-19c # Red Hat or SuSE config: /etc/sysconfig/oracledb_ORCLCDB-19c # # Set path if path not set case $PATH in "") PATH=/bin:/usr/bin:/sbin:/etc export PATH ;; esac # Check if the root user is running this script if [ $(id -u) != "0" ] then echo "You must be root user to run the configurations script. Login as root user and try again." exit 1 fi # Setting the required environment variables export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1 export ORACLE_VERSION=19c export ORACLE_SID=ORCLCDB export TEMPLATE_NAME=General_Purpose.dbc export CHARSET=AL32UTF8 export PDB_NAME=ORCLPDB1 export LISTENER_NAME=LISTENER export NUMBER_OF_PDBS=1 export CREATE_AS_CDB=true # General exports and vars export PATH=$ORACLE_HOME/bin:$PATH
# add to the end umask 022 export ORACLE_SID=ORCLCDB export ORACLE_BASE=/opt/oracle/oradata export ORACLE_HOME=/opt/oracle/product/19c/dbhome_1 export PATH=$PATH:$ORACLE_HOME/bin
Session terminated, killing shell... ...killed. real 0m9.260s user 0m0.079s sys 0m0.105s
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 ORCLPDB1 READ WRITE NO
INSTANCE_NAME ---------------- HOST_NAME ---------------------------------------------------------------- VERSION STARTUP_T ----------------- --------- ORCLCDB ukmodak.com 19.0.0.0.0 19-SEP-23
db_name='ORCL' memory_target=1G processes = 150 audit_file_dest='<ORACLE_BASE>/admin/orcl/adump' audit_trail ='db' db_block_size=8192 db_domain='' db_recovery_file_dest='<ORACLE_BASE>/fast_recovery_area' db_recovery_file_dest_size=2G diagnostic_dest<ORACLE_BASE>' dispatchers='(PROTOCOL=TCP) (SERVICE=ORCLXDB)' open_cursors=300 remote_login_passwordfile='EXCLUSIVE' undo_tablespace='UNDOTBS1' # You may want to ensure that control files are created on separate physical # devices control_files = (ora_control1, ora_control2) compatible ='11.2.0'
install oracle using rpm tutorial 1
install oracle using rpm tutorial 2
>logisn as sysdba sql>startup Now start listener service: root>lsnrctl start listener support no service. Now we are go to check listener status: root>tnsping ORCLCDB -- where orcl is the SERVICE_NAME name root>tnsping ORCL -- where orcl is the SERVICE_NAME name Now we are going to shutdown oracle service. first login as sysdba >logisn as sysdba sql>shutdown immediate
su - oracle -- will show /opt/oracle path . oraenv -- to set oracle SID ORCLCDB sqlplus /nolog conn sys/sys as sysdba show pdbs alter session set container=PDB$SEED; select FILE_NAME from dba_data_files; alter pluggable database PDB$SEED open force; select open_mode from v$pdbs where name = 'PDB$SEED'; #re connect again CREATE PLUGGABLE DATABASE commom_pdb ADMIN USER commomadmin IDENTIFIED BY commomadmin FILE_NAME_CONVERT=('/opt/oracle/oradata/ORCLCDB/pdbseed','/opt/oracle/oradata/ORCLCDB/common_pdb/commonuser'); -- ok
CREATE TABLESPACE dalerp DATAFILE '/opt/oracle/oradata/ORCLCDB/common_pdb/dalerp_data.DBF' SIZE 2000M; echo $ORACLE_HOME echo $ORACLE_SID echo $TNS_ADMIN mkdir -p $ORACLE_BASE/network
alter session set container=COMMOM_PDB; create user oms_test identified by oms_test grant all privileges to oms_test; conn oms_test/oms_test@commom_pdb; -- ok CREATE DIRECTORY export_impport as '/opt/oracle/admin/ORCLCDB/dpdump/'; -- ok GRANT EXP_FULL_DATABASE to oms_test; -- ok GRANT READ,WRITE ON DIRECTORY export_impport TO EXP_FULL_DATABASE; -- okk
impdp schema/password@pluggable_container directory=export_impport dumpfile=LGSPWEB_071216.DMP logfile=LGSPWEB_071216.log; -- ok