记录关于系统运维,虚拟化云计算,数据库,网络安全等各方面问题,
有个CIS软件的MSI安装包,安装时没有提示安装目录,想修改成别的目录位置,发出来给大家参考。Filename: "{app}/msiexec.exe";Parameters: "/i""{app}/ArcGIS/setup.msi""/qb REBOOT=SUPPRESS INSTALLDIR=""{app}/ArcGIS/""";安装测试了一下@echo offstart "" "CIS_2020.msi" INSTALLDIR="D:\Program Files\CIS" /quiet /passive /norestartpause软件包会自行安装到对应目录。 
附件是emcli工具软件Downloading and Deploying EM CLIThis chapter discusses the following Enterprise Manager Command Line Interface (EM CLI) topics:EM CLI InstallationDownloading and Deploying the EM CLI ClientGetting Started with EM CLISecurity and AuthenticationFormat Option Availability for Output Data Verbs2.1 EM CLI InstallationEM CLI provides two installable kits:EM CLI StandardThis kit supports the Standard mode only.EM CLI with Scripting modeThis kit supports all three modes, but only Interactive and Scripting modes enable you to provide Jython-based scripts.EM CLI consists of two components used to access the Enterprise Manager framework functionality:EM CLI clientThe EM CLI client is a command-line program (Sun Java JRE-based) that sends EM CLI verbs to a specific Oracle Management Service (OMS). In some respects, the EM CLI client functions as a command-line equivalent of an Enterprise Manager Cloud Control console. You can download the EM CLI client on any system within your...
oracle查看与删除oem企业管理器Web管理中自动备份任务调度job 1.在oracle oem中可以执行自动备份的job,注意,其不在dba_jobs,dba_scheduler_jobs中2.查看oem中的jobselect a.job_name, b.execution_hours, b.execution_minutes  from sysman.mgmt_job a, sysman.mgmt_job_schedule bwhere a.schedule_id = b.schedule_id   and a.job_type = 'Backup';3.删除oem中的job,注意必需先DELETE_ALL_EXECUTIONS,而后STOP_ALL_EXECUTIONS,最后DELETE_JOBDECLAREBEGIN  MGMT_JOBS.DELETE_ALL_EXECUTIONS(P_JOB_NAME => 'BACKUP_LABAPROD_000022', P_JOB_OWNER => 'SYS');  MGMT_JOBS.STOP_ALL_EXECUTIONS(P_JOB_NAME => 'BACKUP_LABAPROD_000022', P_JOB_OWNER => 'SYS');  MGMT_JOBS.DELETE_JOB(P_JOB_NAME => 'BACKUP_LABAPROD_000022', P_JOB_OWNER => 'SYS');END;
oracle 数据库主机账号修改密码后,关于EM企业管理器中的主机 首选身份证明,密码也需要变更,不然在EM中的 可用性,调度备份,就会不能正常使用了。需要修改,就比较麻烦了。如果主机没法使用EM后,就只有使用EM CLI命令行来修改了。先要安装EM Cli 工具。可以使用下面命令查看 EM所登陆的rman 备份任务SELECT a.job_name, b.execution_hours, b.execution_minutes  FROM sysman.mgmt_job a, sysman.mgmt_job_schedule b WHERE a.schedule_id = b.schedule_id AND a.job_type = 'Backup';附件是emcli工具软件SettingPreferred Credentials UsingEM CLIWhen you provide the agent credentials, you can choose to enter the preferred credentials registered with the Enterprise Manager system.However, ensure that the credentials were registered using EM CLI.Toregister the credentials as preferred credentials for one host at a time, run the following command on the host where the Management Agent is running:emcli set_credential -target_type=host -target_name="<host_name>" -credential_set=OHCreds -column="OH...
proxmox 6.1 配置集群与ceph存储注意事项。先将hostname加入各个主机,echo "192.168.0.181 pve1" > /etc/hostsecho "192.168.0.182 pve2" > /etc/hostsecho "192.168.0.183 pve3" > /etc/hosts注意需要NTP,用来同步时间。apt-get install ntp -y一定要取消订阅sed -i.bak "s/data.status !== 'Active'/false/g" /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && systemctl restart pveproxy.serviceecho "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-enterprise.list添加ceph源信息wget -q -O- 'https://download.ceph.com/keys/release.asc' |  apt-key add -echo "deb http://mirrors.163.com/ceph/debian-nautilus/ stretch main" > /etc/apt/sources.list.d/ceph.list一,到webui界面中创建集群,然后将三个主机都添加到集群中。二,将存储网络使用单独网卡,三台主机配置好网卡信息 10.10.100.0/24 单独网段,使得 pveceph install --version nautilus 在各个主机上安装好ceph nautilus版本软件...
为什么要屏蔽版本?防止他人恶意扫描已知版本的漏洞,从而利用漏洞进行×××,造成不必要的损失。一、源码文件屏蔽版本1.修改源文件[root@localhost httpd-2.4.20]# vim include/ap_release.h修改以下内容:#define AP_SERVER_BASEVENDOR"Apache Software Foundation"#define AP_SERVER_BASEPROJECT "ApacheHTTP Server"#define AP_SERVER_BASEPRODUCT"Apache"#define AP_SERVER_MAJORVERSION_NUMBER 2#define AP_SERVER_MINORVERSION_NUMBER 2#define AP_SERVER_PATCHLEVEL_NUMBER 25#define AP_SERVER_DEVBUILD_BOOLEAN 0改为:#define AP_SERVER_BASEVENDOR"Kry" #服务器供应商名称#define AP_SERVER_BASEPROJECT "Web Server" #服务的项目名称#define AP_SERVER_BASEPRODUCT"Kry Web Server" #服务的产品名称#define AP_SERVER_MAJORVERSION_NUMBER 8 #主板本号#define AP_SERVER_MINORVERSION_NUMBER 8 #小版本号#define AP_SERVER_PATCHLEVEL_NUMBER 8 #补丁版本号#define AP_SERVER_DEVBUILD_BOOLEAN 02.测试效果[root@localhost httpd-2.4.20]# curl -I 192.168.0.146HTTP/1.1 200 OKDa...
centos6的系统关于openssh版本太低只有openssh5.3,需要升级到最新版openssh8.1p1,为了方便,这个制作了一个RPM版本的安装包,可以在centos6、RHEL6系统安装,确认正常。安装方法,先下载附件中的openssh8.1p1的RPM包,执行下列命令#:  yum -y install gcc gcc-c++ zlib zlib-devel openssl openssl-devel pam-devel pam-devel rpm-build pam-devel openssl pam libedit pam-devel initscripts libXt-devel imake gtk2-devel unzip 安装依赖包,不是所有包都需要。#:  rpm -e `rpm -qa |grep openssh` --nodeps删除旧版openssh软件包。#:  rpm -ivh *.rpm    安装所有新版openssh8.1p1安装包。openssh8.1p1_x86_64 RPM安装包当然还有一个很重要的事情,安装好后,请修改配置文件启用root账号。如果在升级时使用ssh远程,那么重启sshd服务会掉线,导致ssh程序没有重启完成,所需要可以先安装好 screen程序,然后把下面的命令写到脚本里面,再执行新写的脚本文件,这样就可以正常重启ssh,重启后,也可以正常连接ssh:#: /etc/init.d/sshd stop     停止服务#:/etc/init.d/sshd restart   测试重启服务。最好远程测...
Weblogic10.3.6反序列化漏洞补丁(3L3H)升级方案weblogic 补丁 20191015 ,p30109677_1036_Generic.zipweblogic 补丁 20191015 ,p30386660_122130_Generic.zip这是补丁包解压后的内容,3L3H是PATCH_ID,可以阅读readme,里面有介绍怎么安装卸载等在这里插入图片描述卸载补丁    Navigate to the {MW_HOME}/utils/bsu directory.    Execute bsu.sh -remove -patchlist={PATCH_ID} -prod_dir={MW_HOME}/{WL_HOME}$cd /home/weblogic/Oracle/Middleware/utils/bsu$./bsu.sh -remove -patchlist=MXLE -prod_dir=/home/weblogic/Oracle/Middleware/wlserver_10.3解压补丁unzip p30109677_1036_Generic.zip to {MW_HOME}/utils/bsu/cache_dirunzip p30109677_1036_Generic.zip to /home/weblogic/Oracle/Middleware/utils/bsu/cache_dir报错(Archive: p30109677_1036_Generic.zipcaution: filename not matched: tocaution: filename not matched: /home/weblogic/Oracle/Middleware/utils/bsu/cache_dir)执行命令,正确解压到指定目录$unzip p30109677_1036_Generic.zip -d /home/weblogic/Oracle/Middleware/utils/bsu/cache_dir查看补丁$cd pwd /...
    总共268页,当前第7页 | 页数:
  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17