{"id":65,"date":"2015-12-07T16:55:00","date_gmt":"2015-12-07T18:55:00","guid":{"rendered":"http:\/\/maxoracle.com\/2015\/12\/07\/make-oracle-linux-7-suitable-to-install-oracle-database\/"},"modified":"2015-12-07T16:55:00","modified_gmt":"2015-12-07T18:55:00","slug":"make-oracle-linux-7-suitable-to-install-oracle-database","status":"publish","type":"post","link":"https:\/\/www.soudba.com.br\/?p=65","title":{"rendered":"Make oracle linux 7 suitable to install oracle database"},"content":{"rendered":"<p>We start with installation of packages<\/p>\n<p>Confirm if you install have minimal 16G swap cache, on system.<\/p>\n<p>free -m<\/p>\n<p>Almost installations have a minimal of 16G for swap, my system for example have a 128G memory &#8211; recently many docs confirms 16G of swap is ok for all memory configurations.<\/p>\n<p>Make the update for the entire system, update the packages you made this commands below like a root.<\/p>\n<div>yum update<\/div>\n<div>yum install oracle-rdbms-server-11gR2-preinstall.x86_64<\/div>\n<div><\/div>\n<div>Change the user oracle password:<\/div>\n<div><\/div>\n<div>passwd oracle<\/div>\n<div><\/div>\n<div>Please verify the security by selinux files, modify this entry:<\/div>\n<div><\/div>\n<div>\/etc\/selinux\/config<\/div>\n<div><\/div>\n<div>modify to&nbsp;<\/div>\n<div><\/div>\n<div>SELINUX=disabled<\/div>\n<div><\/div>\n<div>attention: do not confuse this line, pay attention.<\/div>\n<div><\/div>\n<div>reboot the system<\/div>\n<div><\/div>\n<div>If you not reboot the system you receive messages like, permission denied to disable services below.<\/div>\n<div><\/div>\n<div><\/div>\n<div>And stop the services, because this services is consuming memory and resources (cpu).<\/div>\n<div><\/div>\n<div>systemctl stop firewalld<\/div>\n<div>\n<div>systemctl stop iptables<\/div>\n<\/div>\n<div>\n<div>systemctl disable firewalld<\/div>\n<div>systemctl disable iptables<\/div>\n<\/div>\n<div>\n<div>systemctl disable atd<\/div>\n<\/div>\n<div>\n<div>systemctl disable bluetooth<\/div>\n<\/div>\n<div>\n<div>systemctl disable postfix<\/div>\n<\/div>\n<div>\n<div>systemctl disable sound<\/div>\n<\/div>\n<div>\n<div>\n<div>systemctl disable anacron&nbsp;<\/div>\n<div>systemctl disable atd&nbsp;<\/div>\n<div>systemctl disable cups&nbsp;<\/div>\n<div>systemctl disable cups-config-daemon&nbsp;<\/div>\n<div>systemctl disable gpm&nbsp;<\/div>\n<div>systemctl disable iptables&nbsp;<\/div>\n<div>systemctl disable kudzu&nbsp;<\/div>\n<div>systemctl disable lvm2-monitor&nbsp;<\/div>\n<div>systemctl disable microcode_ctl&nbsp;<\/div>\n<div>systemctl disable sendmail&nbsp;<\/div>\n<div>systemctl disable smartd&nbsp;<\/div>\n<div>systemctl disable auditd&nbsp;<\/div>\n<div>systemctl disable avahi-daemon&nbsp;<\/div>\n<div>systemctl disable bluetooth&nbsp;<\/div>\n<div>systemctl disable firstboot&nbsp;<\/div>\n<div>systemctl disable hidd&nbsp;<\/div>\n<div>systemctl disable ip6tables&nbsp;<\/div>\n<div>systemctl disable mcstrans&nbsp;<\/div>\n<div>systemctl disable mdmonitor&nbsp;<\/div>\n<div>systemctl disable pcscd&nbsp;<\/div>\n<div>systemctl disable rawdevices&nbsp;<\/div>\n<div>systemctl disable readahead_early&nbsp;<\/div>\n<div>systemctl disable readahead_later&nbsp;<\/div>\n<div>systemctl disable restorecond&nbsp;<\/div>\n<div>systemctl disable setroubleshoot&nbsp;<\/div>\n<div>systemctl disable yum-updatesd&nbsp;<\/div>\n<div>systemctl disable nfs&nbsp;<\/div>\n<div>systemctl disable autofs on<\/div>\n<div>systemctl disable cpuspeed on<\/div>\n<div>systemctl disable haldaemon on<\/div>\n<div>systemctl disable irqbalance on<\/div>\n<div>systemctl disable messagebus on<\/div>\n<div>systemctl disable netfs on<\/div>\n<div>systemctl disable nfslock on<\/div>\n<div>systemctl disable rpcgssd on<\/div>\n<div>systemctl disable rpcidmapd on<\/div>\n<div>systemctl disable portmap on<\/div>\n<\/div>\n<\/div>\n<div><\/div>\n<div><\/div>\n<div>The old model (before Oracle Linux 7 or RHEL 7)<\/div>\n<div><\/div>\n<div>\n<div>chkconfig anacron off<\/div>\n<div>chkconfig atd off<\/div>\n<div>chkconfig cups off<\/div>\n<div>chkconfig cups-config-daemon off<\/div>\n<div>chkconfig gpm off<\/div>\n<div>chkconfig iptables off<\/div>\n<div>chkconfig kudzu off<\/div>\n<div>chkconfig lvm2-monitor off<\/div>\n<div>chkconfig microcode_ctl off<\/div>\n<div>chkconfig sendmail off<\/div>\n<div>chkconfig smartd off<\/div>\n<div>chkconfig auditd off<\/div>\n<div>chkconfig avahi-daemon off<\/div>\n<div>chkconfig bluetooth off<\/div>\n<div>chkconfig firstboot off<\/div>\n<div>chkconfig hidd off<\/div>\n<div>chkconfig ip6tables off<\/div>\n<div>chkconfig mcstrans off<\/div>\n<div>chkconfig mdmonitor off<\/div>\n<div>chkconfig pcscd off<\/div>\n<div>chkconfig rawdevices off<\/div>\n<div>chkconfig readahead_early off<\/div>\n<div>chkconfig readahead_later off<\/div>\n<div>chkconfig restorecond off<\/div>\n<div>chkconfig setroubleshoot off<\/div>\n<div>chkconfig yum-updatesd off<\/div>\n<div>chkconfig nfs off<\/div>\n<div>chkconfig autofs on<\/div>\n<div>chkconfig cpuspeed on<\/div>\n<div>chkconfig haldaemon on<\/div>\n<div>chkconfig irqbalance on<\/div>\n<div>chkconfig messagebus on<\/div>\n<div>chkconfig netfs on<\/div>\n<div>chkconfig nfslock on<\/div>\n<div>chkconfig rpcgssd on<\/div>\n<div>chkconfig rpcidmapd on<\/div>\n<div>chkconfig portmap on<\/div>\n<div><\/div>\n<div><\/div>\n<div>Reboot the system for this services not startup again.<\/div>\n<\/div>\n<div><\/div>\n<div>su &#8211; oracle<\/div>\n<div><\/div>\n<div>and create .bash_profile<\/div>\n<div><\/div>\n<div><\/div>\n<div>add this on your file:<\/div>\n<div><\/div>\n<div>\n<div>echo &#8220;###############################################&#8221;<\/div>\n<div>echo &#8220;# &nbsp; &nbsp; &nbsp; &nbsp; BANCO &nbsp; &nbsp; SCRIPT &nbsp; &nbsp;AMBIENTE &nbsp; &nbsp; &nbsp; &nbsp;#&#8221;<\/div>\n<div>echo &#8220;###############################################&#8221;<\/div>\n<div><\/div>\n<div>export NLS_LANG=&#8221;BRAZILIAN PORTUGUESE_BRAZIL.WE8MSWIN1252&#8243;<\/div>\n<div>export ORACLE_SID=prd<\/div>\n<div>export ORACLE_BASE=\/u01\/app\/oracle<\/div>\n<div>export ORACLE_HOME=\/u01\/app\/oracle\/product\/11.2.0\/dbhome_1<\/div>\n<div>export PATH=$ORACLE_HOME\/bin:$PATH<\/div>\n<div>export ORACLE_UNQNAME=prd<\/div>\n<\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n<div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>We start with installation of packages Confirm if you install have minimal 16G swap cache, on system. free -m Almost installations have a minimal of 16G for swap, my system for example have a 128G memory &#8211; recently many docs &hellip; <a href=\"https:\/\/www.soudba.com.br\/?p=65\">Continue lendo <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[131,197,297],"tags":[],"class_list":["post-65","post","type-post","status-publish","format-standard","hentry","category-install-oracle-linux-7","category-oracle-linux-7-services","category-systemctl-disable"],"_links":{"self":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/65","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=65"}],"version-history":[{"count":0,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=\/wp\/v2\/posts\/65\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=65"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=65"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.soudba.com.br\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=65"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}