千家信息网

【Oracle Database】EM Cloud Control 12c:监控

发表于:2024-12-13 作者:千家信息网编辑
千家信息网最后更新 2024年12月13日,[root@wallet01 ~]# vi /etc/hosts192.168.40.99 emcc.gscaifu.com[root@wallet01 ~]# vi /etc/sudoers# Di
千家信息网最后更新 2024年12月13日【Oracle Database】EM Cloud Control 12c:监控
[root@wallet01 ~]# vi /etc/hosts192.168.40.99 emcc.gscaifu.com[root@wallet01 ~]# vi /etc/sudoers# Disable "ssh hostname sudo ", because it will show the password in clear.#         You have to run "ssh -t hostname sudo ".## Defaults    requirettyDefaults:oracle !requiretty# Refuse to run if unable to disable echo on the tty. This setting should also be# changed in order to be able to use sudo without a tty. See requiretty above.## Defaults   !visiblepwDefaults   visiblepw## Allow root to run any commands anywhereroot    ALL=(ALL)       ALLoracle  ALL=(ALL)       ALL[root@wallet01 ~]# ln -s /usr/bin/sudo /usr/local/bin/sudo[root@wallet01 ~]# su - oracle[oracle@wallet01 ~]$ mkdir -p /u01/app/oracle/agent








0