一佳互联

展开菜单

Linux版Centos 64位配置HTTPS站点

Linux版Centos 64位配置HTTPS站点
Linux版Centos 64位配置HTTPS站点:1. 验证主机宝Linux版(Centos 64位)中已经安装openssl,并在编译时添加了对openssl模块的支持,如下图:2. 进入/a/apps/nginx-1.4.7/目录,为站点创建私钥文件和签名证书,步骤如下:3. 进入/a/apps/nginx-1.4.7/vhosts目录,新建配置文件https.conf,文件内容如下:4. 通过/etc/init.d/nginx reload 让配置生效5. 因为主机宝...

Linux中PHP如何安装curl扩展方法

Linux中PHP如何安装curl扩展方法
Linux中PHP如何安装curl扩展方法  如果php已经在系统编译好,后来又需要添加新的扩展。一种方式就是重新完全编译php,另一种方式就是单独编译扩展库,以extension的形式扩展。下面以安装curl扩展为例:1、下载curl安装包。(我的php是4.4.4的,下载最新的curl 7.16 不能使用,最后下载7.14的才可以,所以要注意一下版本问题)./configuremakephp要求curl的目录要有include和lib目录,...

How to fake a VMs guest OS CPUID

How to fake a VMs guest OS CPUID
How to fake a VMs guest OS CPUID For the most software products the license verification is done with license keys. During my time in the IT I have also seen some products, where the license is tied to the underlying hardware of your serve...

重定向varnish前端用户的URL请求

重定向varnish前端用户的URL请求
重定向varnish前端用户的URL请求 Rewriting and redirecting URLs in Varnish Rewriting an URL You can easily rewrite the URL using the regsub() function in VCL. This takes place in vcl_recv. if (req.http.host ~ "^(www\.)?example\.com" && req....

IPSEC L2TP VPN on CentOS 6/RHEL6

IPSEC L2TP VPN on CentOS 6/RHEL6
IPSEC L2TP VPN on CentOS 6 / Red Hat Enterprise Linux 6 / Scientific Linux 6This is a guide on setting up a IPSEC/L2TP vpn on CentOS 6 or Red Hat Enterprise Linux 6 or Scientific Linux 6 using Openswan as the IPsec server, xl2tpd as the l2t...

Using StrongSwan for IPSec VPN on CentOS 7

Using StrongSwan for IPSec VPN on CentOS 7
Using StrongSwan for IPSec VPN on CentOS 7StrongSwan is an open source IPsec-based VPN Solution. It supports both the IKEv1 and IKEv2 key exchange protocols in conjunction with the native NETKEY IPsec stack of the Linux kernel. This tutoria...

CentOS7下Strongswan架设IPSec-IKEv1, IKEv2, L2TP VPN

CentOS7下Strongswan架设IPSec-IKEv1, IKEv2, L2TP VPN
CentOS7下Strongswan架设IPSec-IKEv1, IKEv2, L2TP VPN,适用于 IOS9,OSX, Windows, LinuxVPN 隧道协议PPTP、L2TP、IPSec和SSLVPN(SSTP,OpenVPN)中安全性逐级提高,相应的受到墙的干扰相对要弱点,但是现在我们考虑到跨平台,PPTP穿透力及安全性可以忽略,所以这里搭建支持 ikev1/ikev2 的 Ipsec VPN,适用于iOS、Android、Windows 7+ 、MacOS...