daily pastebin goal
48%
SHARE
TWEET

CertificaçãoBD - Projeto RAC em casa - parte 1 - DNS server

vjunior1981 Oct 20th, 2016 160 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # /etc/hosts
  2.  
  3. 127.0.0.1       localhost.localdomain   localhost
  4. # Public
  5. 192.168.56.101   certbd1.localdomain        certbd1
  6. 192.168.56.102   certbd2.localdomain        certbd2
  7. # Private
  8. 192.168.1.101   certbd1-priv.localdomain   certbd1-priv
  9. 192.168.1.102   certbd2-priv.localdomain   certbd2-priv
  10. # Virtual
  11. 192.168.56.103   certbd1-vip.localdomain    certbd1-vip
  12. 192.168.56.104   certbd2-vip.localdomain    certbd2-vip
  13. # SCAN
  14. 192.168.56.105   certbd-scan.localdomain certbd-scan
  15. 192.168.56.106   certbd-scan.localdomain certbd-scan
  16. 192.168.56.107   certbd-scan.localdomain certbd-scan
  17.  
  18. # Packages install
  19. yum install expect xhost zip unzip xclock oracle-rdbms-server-1* xterm xorg-x11-twm tigervnc-server kernel-uek-devel kernel-uek-headers oracleasm-support screen metacity rsync -y;
  20.  
  21. # Set secure Linux to disabled by editing the "/etc/selinux/config" file, making sure the SELINUX flag is set as follows.
  22. SELINUX=disabled
  23.  
  24. # Once the change is complete, restart the server or run the following command.
  25. setenforce Permissive
  26.  
  27. # If you have the Linux firewall enabled, you will need to disable or configure it, as shown here or here. To disable it, do the following.
  28. service iptables stop
  29. chkconfig iptables off
  30.  
  31. # dnsmasq installation
  32. yum install dnsmasq -y
  33. service dnsmasq start
  34. chkconfig dnsmasq on
  35.  
  36. # Optional!!! Update system:
  37. yum update -y
RAW Paste Data
Top