本站用于记录日常工作内容,虚拟化云计算,系统运维,数据库DBA,网络与安全。
 
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.
PHP versions supportedMagento requires:7.0.2–7.0.6 except for 7.0.5 (supported by Magento version 2.0.1 and later only)There is a known PHP issue that affects our code compiler when using PHP 7.0.5. We recommend you not use PHP 7.0.5; instead, use PHP 7.0.2–7.0.4 or 7.0.6.PHP 5.6.xPHP 5.5.x, where x is 22 or greater Magento no longer supports PHP 5.4.Help if you're just starting outIf you’re new to all this and need some help getting started, we suggest the following:Is the Magento software installed already?What is the software that the Magento server needs to run?What operating system is my server running?How do I log in to my Magento server using a terminal, command prompt, or SSH?Verify PHP is installedTo verify if PHP is installed already, enter php -v. If PHP is installed, messages similar to the following display:PHP 5.6.4 (cli) (built: Dec 20 2014 17:30:46) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies with Zend OPc...
您所在的组无权查看该日志
subversion配置及权限管理1、工具准备及安装:        1)Subversion下载地址:http://subversion.tigris.org 其中setup-Subversion-1.6.31.msi为安装版本,svn-win32-1.6.3为绿色免安装版本。        Windows常用客户端TortoiseSVN下载地址:http://tortoisesvn.net/downloads       2)安装subversion和tortoiseSVN默认安装即可。2、安装svnservice     以前的svnserve要想成为windows服务,必须依赖于svnservice或其他工具。从Subversion1.4开始,Subversion本身就集成Windows服务的工具。     在Windows NT中(包括Windows XP, Windows 2000, Windows 2003 Server)本身包含了一个安装服务的工具,叫做"Service Control",也就是sc.exe。        例如我的Subversion安装在"D:"Subversion",版本库(资源文件存放的总目录)在"D:"svnroot",而我希望对应的Subversion服务名为svnservice,安装这个svn服务的命令就可以这样写:sc create svnservice bin...
一、下载所需文件  服务器:Subversion    http://sourceforge.net/projects/   客户端:Tortoisesvn   http://tortoisesvn.net/downloads.html二、在Windows安装  解压文件,双击安装包,这个你会的,最傻瓜安装方式就是一直地Next。。。三、创建项目(一库一项目)1、建立目录,存放所有仓库,这里为 "D:\svnhome"。2、创立独立仓库,存放各个项目(web web2)    svnadmin create D:\svnhome\web    svnadmin create D:\svnhome\web2当然,你也可以使用Tortoisesvn创建仓库,先建立一个仓库目录D:\svnhome\web,在web上面点击右键,如下3、启动服务器 svnserve -d -r D:\svnhome至此,你的SVN服务器已经可以访问了!访问地址为:svn://127.0.0.1/web svn://127.0.0.1/web2如果不是在本机访问,必须把回路IP改成局域网或公网IP四、服务器简单配置1、编辑文件 D:\svnhome\web\conf\svnserve.conf (库配置文件),请将下面几行内容前面的#号与空格删除!每行前面不能有任何字符,不然会报错!anon-access = noneauth-access = writepassword-db = passwdauthz-db = authz 2、编辑文件 D:\svnhome\...
您所在的组无权查看该日志
您所在的组无权查看该日志
1 背景2014年我研发了负载均衡软件G5,作为开源项目发布到网上,被很多公司采用,反馈了大量意见和建议,比如希望增加后端心跳功能等,在这里感谢广大朋友们的支持和帮助。近两年的开源发展,G5已经趋近成熟,也暴露了不少设计不足,比如没有充分利用多核环境。两周年之际,我决定重新研发G5第二版,名字就叫做G6,重点解决G5设计不足,也从代码架构上深度优化性能。2 概述G6是一款高性能、易使用、支持远程管理的TCP负载均衡分发器&&桥接器,基于Linux的epoll事件驱动非堵塞全异步框架实现。G6工作在网络4层TCP,这意味着不仅可以用于网站HTTP协议,还能用在SMTP、POP、TELNET、SSH等协议上。2.1 使用场景       * 网站反向代理       * 与无负载均衡功能的通讯软件配合实现负载均衡分发       * 双网卡桥接不同网段2.2 支持几乎所有主流负载均衡算法       * 主备       * 轮询       * 最少连接数       * 最小响应时间   ...
 
0
本程序正式名称为httpgate,顾名思义http的大门,所有的http请求都要通过httpgate。httpgate为web server及后端的业务逻辑提供良好的保护功能,最大限度屏蔽恶意访问。同时,针对apache,httpgate能够与客户端保持大量的长连接,提高了系统的整体性能。 1.3      简介 httpgate是一个http 7层代理软件,专注于http代理及http防攻击,具备如下特点: 1.       采用事件驱动、异步、非阻塞的设计模式。性能优秀,开启http防攻击的情况下,性能接近nginx 2.       对客户端ip和客户端cookie的访问情况进行统计,支持基于客户端ip和客户端cookie的防攻击。 3.       代理层采用读取转发的方式,有效保护后端web server 4.       支持ip白名单,黑名单 5.       支持细致的客户端连接参数配置,可针对不同的应用类型、可能的攻击方式,配置不同的参数,提升攻击的代价。比如客户端连接超时、客户端写入超时、客户端读...
    总共47页,当前第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