记录关于Devops运维,虚拟化容器云计算,数据库,网络安全等各方面问题。
联想笔记本安装win2016,intel ac3165无线断网联想笔记本默认安装win10系统,由于台式机平时使用的是windows server 2008系统,使用win10很不方便,自带一堆软件,占用资源又高,所以换成了windows server 2016,就是触摸板无法使用,其它正常,由于只能使用wifi网络,所以hyper-v 虚拟机需要通过无线网卡作为网关上外网,就安装了win2016系统自带的 路由与远程访问 功能,配置好后,发现无线网路 每过一段时间就找不开网页,ping 外网的Ip,又是可以ping通,换DNS后,还是一样的问题,最后关闭 路由与远程访问 功能后,恢复正常,由于没时间测试,hyper-v虚拟机上网又只能搞ICS了。
下面是tomcat-8.5.37原生server.xml配置,删除了所有自有注释Connector主要属性: protocol 监听的协议,默认是http/1.1 port 连接端口号 minThread 初始化线程数 maxThread 最大线程数,生产配置800-1000 minSpareThreads="100" 最大空闲线程 enableLookups="false" 如果为true,则可以通过调用request.getRemoteHost()进行DNS查询来得到远程客户端的实际主机名,若为false则不进行DNS查询,而是返回其ip地址,生产环境建议设置false redirectPort 指定服务器正在处理http请求时收到了一个SSL传输请求后重定向的端口号 acceptCount="800" 指定当所有可以使用的处理请求的线程数都被使用时,可以放到处理队列中的请求数,超过这个数的请求将不予处理,相当于多线程的队列 connectionTimeout 指定超时的时间数(以毫秒为单位) SSLEnabled 是否开启 sll 验证,在Https 访问时需要开启&nbs...
Tomcat安全配置参考0x01 基本配置1 删除默认目录 安装完tomcat后,删除$CATALINA_HOME/webapps下默认的所有目录文件 rm -rf /srv/apache-tomcat/webapps/2 隐藏tomcat版本信息修改$CATALINA_HOME/conf/server.xml,在Connector节点添加server字段,示例如下<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" /> server="WVS1.1" <!-- A "Connector" using the shared thread pool-->3 自定义错误页面修改tomcat/ conf/web.xml,自定义40x、50x等容错页面,防止信息泄露。(1)配置tomcat/conf/web.xml文件:在最后</web-app>一行之前加入以下内容:<error-page> <error-code>404</error-code><location>/noFile.htm</location> </error-page>……………<error-page><exception-t...
Oracle11gr2/12c 安装提示[INS-30131]执行安装程序验证所需的初始设置失败总是报错:[INS-30131]执行安装程序验证所需的初始设置失败(原因:无法访问临时位置)网上很多同样错误,都是让共享下C盘啥的,结果照着做了,没啥用。。废了老半天劲也没搞定,于是在metalink上搜了下,咳咳,第一篇文章就是我所遇到的问题:Bug 21452473 Windows: INS-30131 while Installing 12.1.0.2 Database/Client on Windows姑且称为bug吧,解决方法在文档中也提供了:针对客户端安装,在cmd中执行命令;setup.exe -ignorePrereq -J"-Doracle.install.client.validate.clientSupportedOSCheck=false" 针对服务端安装,在cmd中执行命令:setup.exe -ignorePrereq -J"-Doracle.install.db.validate.supportedOSCheck=false"
How to Enable Wireless in Windows Server 2016?Enable Wireless Networking on Windows Server 2016 and Windows Server 2012 R2 The wireless network card is disabled in Windows Server. If you want to connect your server through WiFi, you need to enable Wireless Networking first. By default in Windows Server 2016, you are not able to browse the internet with an admin account. So all these limitations are for security. Enable Wireless in Windows Server 2016 With two methods you can enable Wireless in Windows Server. First by GUI using server manager and install it through Windows features. It’s really easy for all. But the command line is a sysadmin daily Windows Server configuration and maintenance tools. Then enable Wireless using the command line in Windows Server 2016. Note: You can apply this article on all version of Windows Server 2008 to Windows Server 2016. I haven’t tested on Server Core, it must work well. 1. While you are login as admin on your Windows Server,...
Centos7/RHEL7 安装zabbix4.2,监控华为S6700交换机方案具体如何安装LAMP或LNMP环境,然后安装zabbix4.2 这里就不再说了。可以看本博客的其它文章。一、安装SMNP软件。yum install -y net-snmp net-snmp-utils利用snmpwalk工具来查看华为交换机相关的MIB信息。1,查看交换机的端口描述与OID关系,找到自己需要监控的端口。这里我需要监控 XGigabitEthernet0/0/45-48与Eth-Trunk1端口[root@zabbixserver ~]# snmpwalk -v2c -c HaNanSwitch -On 111.43.165.1 ifDescr.1.3.6.1.2.1.2.2.1.2.52 = STRING: XGigabitEthernet0/0/47.1.3.6.1.2.1.2.2.1.2.53 = STRING: XGigabitEthernet0/0/48.1.3.6.1.2.1.2.2.1.2.54 = STRING: 40GE0/0/1.1.3.6.1.2.1.2.2.1.2.55 = STRING: 40GE0/0/2.1.3.6.1.2.1.2.2.1.2.60 = STRING: Vlanif200.1.3.6.1.2.1.2.2.1.2.61 = STRING: Eth-Trunk12,查看端口的出口OID信息[root@zabbixserver ~]# snmpwalk -v2c -c HaNanSwitch -On 111.43.165.1 ifHCOutOctets.1.3.6.1.2.1.31.1.1.1.10.50 = Counter64: 1672801388477899.1.3.6.1.2.1.31.1.1.1.10.51 = Counter64: 1679011920768835.1.3.6.1.2.1.31.1.1.1.10.52 = Counter64: 1672421786661095.1.3.6.1...
【Oracle】详解Oracle中NLS_LANG变量的使用目录结构:contents structure [+]关于NLS_LANG参数NSL_LANG常用的值 在MS-DOS模式和Batch模式中设置NLS_LANG注册表中NLS_LANG和系统环境变量中的NLS_LANG参考文章1,关于NLS_LANG参数Oracle provides Globalization Support that enables users to interact with a database in their own language, as defined by the NLS_LANG parameter. When you install Oracle Database Client components, Oracle Universal Installer sets the NLS_LANG parameter in the registry.The locale setting of your operating system determines the value of the NLS_LANG parameter at installation. Table C-1 lists the operating system locale and NLS_LANG value mappings.The NLS_LANG parameter is stored in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG subkey, where ID is the unique number identifying the Oracle home.The NLS_LANG parameter uses the following format:NLS_LANG = LANGUAGE_TERRITORY.CHARACTER_SET Oracle提供全球化的支持,通过定义NLS_LANG参数能够让用户用他们自己的语言...
详解Oracle中NLS_LANG变量的使用目录结构:contents structure [+]关于NLS_LANG参数NSL_LANG常用的值 在MS-DOS模式和Batch模式中设置NLS_LANG注册表中NLS_LANG和系统环境变量中的NLS_LANG参考文章1,关于NLS_LANG参数Oracle provides Globalization Support that enables users to interact with a database in their own language, as defined by the NLS_LANG parameter. When you install Oracle Database Client components, Oracle Universal Installer sets the NLS_LANG parameter in the registry.The locale setting of your operating system determines the value of the NLS_LANG parameter at installation. Table C-1 lists the operating system locale and NLS_LANG value mappings.The NLS_LANG parameter is stored in the registry under the HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE\HOMEID\NLS_LANG subkey, where ID is the unique number identifying the Oracle home.The NLS_LANG parameter uses the following format:NLS_LANG = LANGUAGE_TERRITORY.CHARACTER_SET Oracle提供全球化的支持,通过定义NLS_LANG参数能够让用户用他们自己的语言使用数据库...
Install Oracle 12C Release 1 (12.1) on Oracle Linux 7 (OEL7) Posted on May 3, 2014 This article presents how to install Oracle 12C(12.1) Release 1 on Oracle Enterprise Linux 7 (OEL7). Read following article how to install Oracle Enterprise Linux 7: Install Oracle Linux 7 (OEL7) (for comfort set 4G memory for your virtual machine before proceeding with Oracle software installation). Software Software for 12CR1 is available on OTN or edelivery OTN: Oracle Database 12c Release 1 (12.1.0.2) Software (64-bit). edelivery: Oracle Database 12c Release 1 (12.1.0.2) Software (64-bit) Database softwarelinuxamd64_12102_database_1of2.zip
linuxamd64_12102_database_2of2.zip OS configuration and preparation OS configuration is executed as root. To login as root just execute following command in terminal.su - root The “/etc/hosts” file must contain a fully qualified ...
qemu-4.0.0 Introduction to qemu qemu is a full virtualization solution for Linux on x86 hardware containing virtualization extensions (Intel VT or AMD-V). This package is known to build and work properly using an LFS-8.4 platform. Package Information Download (HTTP): http://download.qemu-project.org/qemu-4.0.0.tar.xz Download MD5 sum: 0afeca336fd57ae3d3086ec07f59d708 Download size: 53 MB Estimated disk space required: 878 MB (add 414 MB for tests) Estimated build time: 1.0 SBU (using parallelism=4; add 2.4 SBU for tests) ...
最新评论