<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Oracle on it-grossniklaus.ch</title>
    <link>https://it-grossniklaus.ch/tags/oracle/</link>
    <description>Recent content in Oracle on it-grossniklaus.ch</description>
    <generator>Hugo</generator>
    <language>de</language>
    <lastBuildDate>Mon, 28 May 2018 08:00:00 +0200</lastBuildDate>
    <atom:link href="https://it-grossniklaus.ch/tags/oracle/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Oracle Bookmarks</title>
      <link>https://it-grossniklaus.ch/pages/topics/data/dbms/oracle/bookmarks/</link>
      <pubDate>Mon, 28 May 2018 08:00:00 +0200</pubDate>
      <guid>https://it-grossniklaus.ch/pages/topics/data/dbms/oracle/bookmarks/</guid>
      <description>&lt;p&gt;Eine loose Sammlung zum Thema Oracle&lt;/p&gt;</description>
    </item>
    <item>
      <title>Installation Oracle-xe-11.2</title>
      <link>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/centos/install-oracle-xe-11-2/</link>
      <pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate>
      <guid>https://it-grossniklaus.ch/pages/topics/os/linux/snippets/centos/install-oracle-xe-11-2/</guid>
      <description>&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;export LANG=C&#xA;sudo yum update&#xA;&#xA;# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;# MATE benötigt weniger Resourcen als GNOME&#xA;sudo yum groupinstall &#34;X Window system&#34;&#xA;sudo yum install epel-release&#xA;sudo yum --enablerepo=epel -y groups install &#34;MATE Desktop&#34;&#xA;sudo systemctl set-default graphical.target&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;# etwas Komfort&#xA;sudo yum install bash-completion&#xA;sudo yum install emacs mc&#xA;sudo yum install nmap wget&#xA;# sudo yum install epel-release&#xA;sudo yum install bash-completion-extras&#xA;&#xA;&#xA;sudo sh -c &#34;echo &#39;&#xA;[google-chrome]&#xA;name=google-chrome - \$basearch&#xA;baseurl=http://dl.google.com/linux/chrome/rpm/stable/\$basearch&#xA;enabled=1&#xA;gpgcheck=1&#xA;gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub&#xA;&#39; &gt; /etc/yum.repos.d/google-chrome.repo&#34;&#xA;&#xA;# sudo yum info google-chrome-stable&#xA;sudo yum install google-chrome-stable &#xA;&#xA;&#xA;&#xA;sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc&#xA;sudo sh -c &#39;echo -e &#34;[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc&#34; &gt; /etc/yum.repos.d/vscode.repo&#39;&#xA;yum check-update&#xA;sudo yum install code &#xA;&#xA;# für CentOS (aber nicht CERN)&#xA;# wget https://centos7.iuscommunity.org/ius-release.rpm&#xA;# rpm -Uvh ius-release.rpm&#xA;# yum install git2u&#xA;&#xA;sudo yum install git&#xA;&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;# virtualbox tools&#xA;sudo yum install dkms&#xA;sudo yum install kernel-headers kernel-devel&#xA;&#xA;# virtualbox tools =&gt; use&#xA;sudo usermod --append --groups vboxsf zfi&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;# OracleXE prerequisites&#xA;cat /proc/sys/kernel/shmmax&#xA;cat /proc/sys/kernel/shmall&#xA;&#xA;sudo sh -c &#39;echo -e &#34;kernel.shmmax=2147483648&#34; &gt;&gt; /etc/sysctl.conf&#39;&#xA;sudo sh -c &#39;echo -e &#34;kernel.shmall=2097152&#34;    &gt;&gt; /etc/sysctl.conf&#39;&#xA;sudo sysctl -p  /etc/sysctl.conf&#xA;&#xA;&#xA;# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&#xA;# swap (file)&#xA;sudo mkdir /var/swap/&#xA;#sudo dd if=/dev/zero of=/var/swap/swapfile bs=1024 count=524288&#xA;sudo dd if=/dev/zero of=/var/swap/swapfile bs=1024 count=2097152&#xA;sudo chmod 600 /var/swap/swapfile&#xA;sudo mkswap    /var/swap/swapfile&#xA;sudo swapon    /var/swap/swapfile&#xA;&#xA;sudo sh -c &#39;echo -e &#34;/var/swap/swapfile  swap swap  pri=1000 0 0&#34; &gt;&gt; /etc/fstab&#39;&#xA;sudo swapon&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sudo yum install libaio bc unzip flex net-tools &#xA;unzip -q oracle-xe-11.2.0-1.0.x86_64.rpm.zip&#xA;sudo rpm -ivh Disk1/oracle-xe-11.2.0-1.0.x86_64.rpm&#xA;sudo /etc/init.d/oracle-xe configure&#xA;sudo usermod --append --groups dba zfi&#xA;rm -rf Disk1/&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;cd /u01/app/oracle/product/11.2.0/xe/bin&#xA;. ./oracle_env.sh&#xA;. /u01/app/oracle/product/11.2.0/xe/bin/oracle_env.sh&#xA;sqlplus /nolog&#xA;exit&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqlplus / as sysdba&#xA;ALTER SYSTEM SET MEMORY_TARGET     = 800M SCOPE=spfile;&#xA;ALTER SYSTEM SET MEMORY_MAX_TARGET = 930M SCOPE=spfile;&#xA;ALTER PROFILE DEFAULT LIMIT PASSWORD_LIFE_TIME UNLIMITED;&#xA;&#xA;startup force&#xA;show parameter target&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;unzip apex_18.1.zip&#xA;sudo mv apex/ /opt/&#xA;&#xA;cd /opt/apex&#xA;sqlplus / as sysdba&#xA;@/u01/app/oracle/product/11.2.0/xe/apex/apxremov.sql&#xA;exit&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqlplus / as sysdba&#xA;@apexins SYSAUX SYSAUX TEMP /i/&#xA;exit&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqlplus / as sysdba&#xA;@apex_epg_config.sql /opt&#xA;exit&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqlplus / as sysdba&#xA;@apxchpwd&#xA;ADMIN&#xA;myPassword&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqlplus / as sysdba&#xA;SELECT version FROM dba_registry where comp_id=&#39;APEX&#39;;&#xA;exit&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-out w3-theme-l3 notranslate&#34;&gt;&#xA;# The structure of the link to the Application Express administration services is as follows:&#xA;# http://host:port/pls/apex/apex_admin (Oracle HTTP Server with mod_plsql)&#xA;# http://host:port/apex/apex_admin     (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)&#xA;# http://host:port/apex/apex_admin     (Oracle REST Data Services)&#xA;#  &#xA;# The structure of the link to the Application Express development interface is as follows:&#xA;# http://host:port/pls/apex (Oracle HTTP Server with mod_plsql)&#xA;# http://host:port/apex     (Oracle XML DB HTTP listener with the embedded PL/SQL gateway)&#xA;# http://host:port/apex     (Oracle REST Data Services)&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqlplus / as sysdba&#xA;EXEC DBMS_XDB.SETLISTENERLOCALACCESS(FALSE);&#xA;exit&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;# https://tecadmin.net/install-and-configure-haproxy-on-centos/&#xA;sudo yum install haproxy&#xA;sudo mkdir /etc/haproxy/ssl&#xA;sudo openssl req -x509 -nodes -days 3000 -newkey rsa:2048 -keyout /etc/haproxy/ssl/server.key -out /etc/haproxy/ssl/server.crt&#xA;sudo sh -c &#39;cat  /etc/haproxy/ssl/server.key /etc/haproxy/ssl/server.crt &gt;  /etc/haproxy/ssl/server.pem&#39;&#xA;&#xA;# neues haproxy.cfg&#xA;haproxy -c -f /etc/haproxy/haproxy.cfg&#xA;&#xA;sudo emacs /etc/rsyslog.conf&#xA;$ModLoad imudp&#xA;$UDPServerRun 514&#xA;$UDPServerAddress 127.0.0.1&#xA;&#xA;sudo emacs /etc/rsyslog.d/haproxy.conf&#xA;local2.*    /var/log/haproxy.log&#xA;&#xA;# chkconfig haproxy on&#xA;systemctl enable haproxy&#xA;systemctl start haproxy&#xA;&#xA;service rsyslog restart&#xA;service haproxy restart&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;# sqldeveloper benötigt javaFX =&gt; openJDK geht nicht mehr (für CentOS)&#xA;sudo rpm -Uvh jdk-8u172-linux-x64.rpm&#xA;sudo rpm -Uvh sqldeveloper-18.2.0.183.1748-1.noarch.rpm&#xA;sudo rpm -Uvh datamodeler-18.2.0.179.0756-1.noarch.rpm&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;sqldeveloper&#xA;# =&gt; /usr/java/default&#xA;&lt;/pre&gt;&#xA;&#xA;&lt;pre class=&#34;terminal-in w3-theme-d5 notranslate&#34;&gt;&#xA;unzip sqlcl-18.2.0.zip &#xA;sudo mv sqlcl /opt/&#xA;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
