1、checking for SSL_set_cert_store... no
configure: error: ... Error, SSL/TLS libraries were missing or unusable
安装openssl,在编译参数中添加--with-ssl=/usr/local/ssl (ssl安装路径,根据安装的实际路径设置)
本日志由 flyinweb 于 2012-01-13 10:47:45 发表到 WEB服务器 中,目前已经被浏览 187 次,评论 0 次;
作者添加了以下标签: Apache compile fails;
At Gigahost we are managing a lot of mailboxes for our users.
At the moment these are all located on one high speced server with the outgoing SMTP split to another server.
We allow our users to connect via both IMAP and POP3 and support STARTTLS on ports 110/143 and SSL/TLS on ports 993/995.
Since we are constantly adding new users and these in turn add new mailboxes we are running out of options as to upgrade the current server. Hosting mailboxes via Courier, Dovecot or similar is very IO intensive and therefore in the long run disk IO becomes a problem.
The solution to this is ofcourse to scale the setup to more servers. Some hosting providers do this by simply adding users to a new mail server eg. mail2.example.com, mail3.example.com and so on.
What we would like to do is use a reverse proxy so that the user always connects to mail.gigahost.dk and the proxy ensures that the user is send to the correct server.
本日志由 flyinweb 于 2012-01-12 11:55:12 发表到 WEB服务器 中,目前已经被浏览 245 次,评论 0 次;
作者添加了以下标签: Reverse Proxy;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
本日志由 flyinweb 于 2012-01-07 16:35:20 发表到 WEB服务器 中,目前已经被浏览 226 次,评论 0 次;
作者添加了以下标签: Apache SSL,SSL certificates;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
If you get this error when starting Apache 2 here is the fix…
Performing sanity check on apache22 configuration:
httpd: apr_sockaddr_info_get() failed for someserver1.host-name.net
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
Syntax OK
Starting apache22.
httpd: apr_sockaddr_info_get() failed for someserver1.host-name.net
httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName
The repair is very easy, just fix your hosts file locate at `/etc/hosts`.
First, determing your hostname of the machine that you are on…
#> hostname
someserver1.host-name.net
Then open your hosts file…
#> vi /etc/hosts
Then change all the host items to match
::1 localhost.someserver1.host-name.net localhost
127.0.0.1 localhost.someserver1.host-name.net localhost
192.1.0.123 someserver1.host-name.netsomeserver1
192.1.0.123 someserver1.host-name.net.
Then start the server again…
#> apachectl start
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
#> …
All set!!!
本日志由 flyinweb 于 2011-12-09 10:10:25 发表到 WEB服务器 中,目前已经被浏览 323 次,评论 0 次;
作者添加了以下标签: apr_sockaddr_info_get() failed;
A reverse proxy is a proxy server that is installed in a server network. Typically, reverse proxies are used in front of Web servers such as Apache, IIS, and Lighttpd. How do I setup nginx web server as SSL reverse proxy?
When you've multiple backend web servers, encryption / SSL acceleration can be done by a reverse proxy. Nginx can act as SSL acceleration software. It provided the following benefits:
本日志由 flyinweb 于 2011-12-09 09:38:39 发表到 WEB服务器 中,目前已经被浏览 300 次,评论 0 次;
作者添加了以下标签: Nginx,SSL Reverse Proxy,Load Balanced SSL Proxy;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
Keepalived provides a strong and robust health checking for LVS clusters. It implements a framework of health checking on multiple layers for server failover, and VRRPv2 stack to handle director failover. How do I install and configure Keepalived for reverse proxy server such as nginx or lighttpd?
If your are using a LVS director to loadbalance a server pool in a production environment, you may want to have a robust solution for healthcheck & failover. This will also work with reverse proxy server such as nginx.
本日志由 flyinweb 于 2011-12-09 09:36:24 发表到 WEB服务器 中,目前已经被浏览 332 次,评论 0 次;
作者添加了以下标签: Nginx,keepalived,IP Failover;
首页只显示了部分日志内容,要查看日志的全部内容请阅读全文;
How do configure to release and obtain VIP (virtual IP) when nginx is dead, down or system is rebooted for the kernel upgrades?
Edit /usr/local/etc/keepalived/keepalived.conf and add the following section to check whether nginx is alive or dead:# vi /usr/local/etc/keepalived/keepalived.conf
Updated file on both lb0 and lb1:
vrrp_script chk_http_port { script "/usr/bin/killall -0 nginx" interval 2 weight 2} vrrp_instance VI_1 { interface eth0 state MASTER virtual_router_id 51 priority 101 authentication { auth_type PASS auth_pass Add-Your-Password-Here } track_script { chk_http_port } virtual_ipaddress {202.54.1.1/29 dev eth1 }}
Save and close the file. Reload keealived:# /etc/init.d/keepalived restart
If nginx died due to any issues keepalived will release master VIP and backup server will become active. When master nginx LB0 comes backs online, the backup LB1 will go down in backup state.
本日志由 flyinweb 于 2011-12-09 09:34:42 发表到 WEB服务器 中,目前已经被浏览 389 次,评论 0 次;
作者添加了以下标签: KeepAlived,Nginx Failover,Nginx;
It is quite useful and interesting too.
VIRT 的上限是64G,也就是36位, cat /proc/cpuinfo的结果是:addre
昨天要准备用线程重写webbench,试验了下Fedora Linux 2.6.35.14
不明白您的具体的意思是什么?
已经发送到你QQ邮箱
http://www.2mysite.net/scriptencoder/screnc.asp 站长你好,看
你好,我发现一个问题,就是从mysqld2同步过来的数据,在mysqld1的
晕,我说是怎么回事情,原来我和你一样,忘记设置了活动分区