前提條件:
準備一台CentOS虛拟機。(2C 8G 80GB)
參考:vmware上安裝centos7的安裝(僅主機模式)
1.先決條件
1.1關閉防火牆
#檢查防火牆狀态
systemctl status firewalld.service
#暫時關閉防火牆,下次啟動時防火牆仍随系統啟動而啟動
systemctl stop firewalld.service
#徹底永久關閉防火牆
systemctl disable firewalld.service
1.2 關閉SELINUX防火牆!
vi /etc/selinux/config
将内容
SELINUX=enforcing
更改為
SELINUX=disabled
1.3 更改主機名,
/etc/hosts中添加 192.168.16.21 oracle21c