本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
前言     HTTPS 即将在 2017 年获得广泛的普及和支持,这里介绍一下 Apache Httpd 设置 HTTPS 并开启 HTTP/2 (以下会简称 h2)的教程。 不过呢,在目前的条件下,个人还是建议一些强 Apache Httpd 的环境例如 LAMP 可以考虑前面加一层 Nginx,来更灵活的实现 HTTPS + HTTP/2 的新特性,例如目前 Apache Httpd 对 CHACHA20-POLY1305 的算法弄起来就灵活。   准备   Apache Httpd ≥ 2.4.17 ,Apache Httpd 从 2.4.17 开始支持 mod_http2 ,并且编译时加入 --enable-http2OpenSSL ≥ 1.0.2 浏览器客户端例如 Chrome 51(2016 年 5 月 31 日发布)之后,已经不支持对没有 ALPN 协议网站的 h2 支持,OpenSSL 1.0.2 起开始支持 ALPN 协议。nghttp2 ≥ 1.12,其为是基于 C 实现的 HTTP/2 库,为实现 Apache Httpd 支持 h2 所必须(编译、Win二进制)Apache Httpd ≥ 2.4.25 ,如果是自己编译或者 Win 采用二进制编译包的 Apache Httpd 并且开启 mod_http2 支持,版本必须大于 2.4.25,因为之前的版本存在 DDOS 漏洞   非编译       Debian     Debian 在 stretch(9)才有 Apache Httpd(apa...
Linux windows php5.4+oracle instant clients OCI安装过程。 See the version for PHP 5.5 and Oracle Database 12c The easiest way to configure PHP to access a remote Oracle Database is to use Oracle Instant Client libraries. This note describes how to install PHP with the OCI8 Extension and Oracle Instant Client on Windows and Linux. The free The Underground PHP and Oracle Manual explains other installation options and contains more detail.OCI8 is the PHP extension for connecting to Oracle Database. OCI8 is open source and included with PHP. The name is derived from Oracle's C "call interface" API first introduced in version 8 of Oracle Database. OCI8 links with Oracle client libraries, such as Oracle Instant Client.Oracle Instant Client is a free set of easily installed libraries that allow programs to connect to local or remote Oracle Database instances. To use Instant Client an existing database is needed - Instant Client does not include one. Typically t...
RHEL6.5,Centos6.5配置NTP服务器并调整时区,供内网服务器使用NTP同步时间内部有一台web服务器可以上外网,但是内网其它很多机器不能上网,需要同步时间,就把这台web服务器作成NTP服务器供内部网络使用。网上有不少资料,但是都是人云亦云,实际配置后,根本不能用,其实很简单。至于什么iptables防火墙,selinux,修改时区tzselect命令 ,自行脑补。这里我将硬件时间与系统时钟,修改成一样的,采用本地时钟。[root@web ~] #   vi /etc/adjtime-4.943613 1478145537 0.0000001478145537LOCAL将UTC修改成LOCAL。注意系统时间不能相差太大。首先安装软件,比较简单,不说了。[root@web ~] #  yum install ntp* -y修改NTP服务器端配置文件:[root@web ~]# cat /etc/ntp.conf # For more information about this file, see the man pages# ntp.conf(5), ntp_acc(5), ntp_auth(5), ntp_clock(5), ntp_misc(5), ntp_mon(5).driftfile /var/lib/ntp/drift# Permit time synchronization with our time source, but do not# permit the source to query or modify the service on this system.restrict default nomodify notrap noqueryrestrict -6 default nomodify&...
/user_projects/domains/base_domain/config/configCache is not readable.        at weblogic.management.bootstrap.BootStrap.find(BootStrap.java:474)        at weblogic.management.bootstrap.BootStrap.find(BootStrap.java:480)        at weblogic.management.bootstrap.BootStrap.getConfigFiles(BootStrap.java:458)        at weblogic.management.provider.internal.ConfigurationVersion.<init>(ConfigurationVersion.java:76)        at weblogic.management.provider.internal.EditAccessImpl.<init>(EditAccessImpl.java:192)        Truncated. see log file for complete stacktrace> <Oct 31, 2016 3:32:56 PM CST> <Error> <Management> <BEA-141265> <Could not get configuration lock used to serialize access to configuration files.> 一般有这种情况,是用不同用户启动过...
GridLink是WebLogic 10.3.4版本推出的新特性,引入Jdbc 11g version驱动,全面支持Oracle 11G RAC AWM的特性,包括我之前写的SCAN新特性。至今WebLogic提供了五种配置对于Jdbc Thin方式连接Oracle RAC,如下:1.GridLink Data Sources 2.Configuring Connections to Services on Oracle RAC Nodes(XA)3.Configuring Connections to Services on Oracle RAC Nodes(No-XA)4.Multi Data Sources with Global Transactions5.Multi Data Sources without Global Transactions其中GridLink Data Sources方式支持使用services,实现Load Balancing(负载均衡)和Failover(故障转移)。Weblogic Server GridLink是WLS10.3.4新推出的Data Source类型,提供了针对Oracle RAC数据库与WLS之间的连接功能。GridLink通过Oracle通知服务(ONS)来获取Oracle RAC实例的状态变化。WLS可以通过Oracle RAC灵活的数据库服务设计来满足其需求,也可以由数据库服务的增加而扩展而不需要关注RAC 集群中的物理结构变化。GridLink提供了以下功能:1.简化和统一了对RAC连接配置的模块。2.支持Fast Connection Filover(FCF)。3.支持Runtime Connection Load Balancing(RCLB)。4.支持Single ...
Installing Magento 2 with Composer With the Magento 2 Developer Beta out in the open, it’s time to revise our old guide and have a fresh, clear, step-to-step guide which helps with installing Magento 2 with Composer.IntroductionIn June, we hosted Tim which wrote a guide on installing Magento 2 with Composer on an nginx webserver. The Magento 2 project structure has changed a lot and that guide is not really applicable anymore.There is official documentation. This is merely an alternative step-to-step guide if you just want to get to it without reading the documentation thorough. We plan to keep this guide updated with newer Magento 2 code drops.This guide assumes you already have a functioning LAMP-stack with the minimum Magento 2 requirements (>= PHP 5.4.11 & &...
 
0

centos linux安装mp4box

发表者:admin分类:应用服务2016-07-26 20:42:50 阅读[2784]
您所在的组无权查看该日志
tomcat jsp网站从wiindows迁移到Linux后,打开程序,提示 数据库查询没有成功,检查tomcat 日志发现以下错误:ERROR UserOper:385 - select a.*,b.CORP_NAME,b.PARENT_ID,b.SYSTEM_LEVEL from tab_sys_user a,V_corp b where a.CORP_ID=b.CORP_ID  order by b.order_code,a.truenamecom.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'sjmobile.V_corp' doesn't exist ERROR UserCache:69 - findDatacom.tw.publicclass.base.CException: 数据库查询没有成功经测试发现,是mysql 严格限制了sql语句的大小写。修改mysql 配置文件里面的内容,增加下面一行之后解决,报错误。[mysqld] lower_case_table_names=1解决登陆报错问题后,又发现web网站不能显示内容。报错如下:09-Jul-2016 02:08:45.111 WARNING [http-nio-9080-exec-5] org.apache.jasper.compiler.Compiler.removeGeneratedClassFiles Failed to delete generated class file [/usr/local/tomcat/work/Catalina/localhost/ROOT/org/apache/jsp/jsp/system/myAccount_005fnew_jsp.class]09-Jul-2016 02:08:45.111 WARNING [http-nio-9080-exec-5] org.apache.jasper.compiler.Comp...
 
2
L2TP/IPSec一键安装脚本本脚本适用环境:系统支持:CentOS6+,Debian7+,Ubuntu12+内存要求:≥128M更新日期:2016 年 06 月 10 日关于本脚本:名词解释如下L2TP(Layer 2 Tunneling Protocol)IPSec(Internet Protocol Security)IKEv2 (Internet Key Exchange v2)能实现 IPsec 的目前总体上有 openswan,libreswan,strongswan 这3种。libreswan 是基于 openswan 的 fork,所以现在各个发行版基本已经看不到 openswan 的身影了。当然也有使用 strongswan 的。之所以要更新 L2TP 一键安装脚本,是因为随着各个 Linux 发行版不断推陈出新,原有的脚本已经不适应现在的需求。本脚本通过编译安装最新版 libreswan 来实现 IPSec(CentOS7 下则是全部 yum 安装),yum 或 apt-get 来安装 xl2tpd,再根据各个发行版的使用方法不同,部署防火墙规则。写在前面:基于 OpenVZ 虚拟化技术的 VPS 需要开启TUN/TAP才能正常使用,购买 VPS 时请先咨询服务商是否支持开启 TUN/TAP。纠正:OpenVZ 虚拟的 VPS 需要系统内核支持 IPSec 才行。也就是说,母服务器的内核如果不支持的话那就没办法,只能换 VPS。如何检测是否支持TUN模块?执行命令:cat /dev/net/tun如果返回信息为:cat: /dev/...
Exception errors are stored as number named files in var/report/ except if the directory permissions are so messed up that Magento either cannot write there or tries to store its cache in the system /tmp directory.Use an sftp client to locate and read the files in the var/report/ directory.The hack used in Magento 1.x to show the stack trace on screen instead of writing it to a file is a security hole if not reversed on a live site. The best example available in the old Magento forums was a stack trace posted with clearly visible login credentials. Bad if you get a Google Dork (archived stack trace) off it.For Magento 2, /errors/local.xml is moved to /pub/errors/local.xmlCopy local.xml.sample to local.xml and make modifications to fit your server environment.
    总共48页,当前第20页 | 页数:
  1. 10
  2. 11
  3. 12
  4. 13
  5. 14
  6. 15
  7. 16
  8. 17
  9. 18
  10. 19
  11. 20
  12. 21
  13. 22
  14. 23
  15. 24
  16. 25
  17. 26
  18. 27
  19. 28
  20. 29
  21. 30