搜索""的结果
Oracle启动监听报错:The listener supports no services解决 $ lsnrctl start报错提示:The listener supports no services The command completed successfully 如图所示: 这样启动后远程连接会报错: oracle ORA-12514:TNS:listener does not currently know of service requested in connect descriptor 问题原因:数据库实例没注册到listener 解决方法一: 在listener.ora里面添加了一行 SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = orcl) (SID_NAME = orcl) ) ) 注:里面的orcl根据你安装的数据库实例名确定,我用此法解决了这个报错。 解决方法二: 登录数据库: $sqlplus / as sysdba 显示服务名: SQL>show parameter service_names 强制注册服务: SQL>alter system register; 查看监听状态: $lsnrctl status
Centos7/RHEL安装haproxy实现http与tcp负载均衡HAProxy提供高可用性、负载均衡以及基于TCP和HTTP应用的代理,支持虚拟主机,它是免费、快速并且可靠的一种解决方案。HAProxy特别适用于那些负载特大的web站点, 这些站点通常又需要会话保持或七层处理。HAProxy运行在当前的硬件上,完全可以支持数以万计的并发连接。并且它的运行模式使得它可以很简单安全的整合进您当前的架构中, 同时可以保护你的web服务器不被暴露到网络上。1、下载&安装haproxy:wget http://haproxy.1wt.eu/download/1.4/src/haproxy-1.4.20.tar.gz tar zxvf haproxy-1.4.20.tar.gz cd haproxy-1.4.20 uname -a //查看linux内核版本 make TARGET=linux26 PREFIX=/usr/local/haproxy make install PREFIX=/usr/local/haproxy2、编写haproxy.cfg文件,可适用于haproxy-1.5版本 :vi /usr/local/haproxy/haproxy.cfg粘贴如下内容至haproxy.cfg:global    maxconn 51200    chroot /usr/local/haproxy    uid 99    gid 99    daemon    #quiet    nbpro...
haproxy使用多内网ip做负载均衡突破64k连接(突破单ip 65535端口限制)  前言当我们使用haproxy 做负载均衡器的时候,负载均衡多个后端服务器,但是有一个问题,负载均衡后端的服务器的是需要占用haproxy机端口的.tcp的端口一共65535个除去保留端口,基本也就64k可用的样子.那么f5之类套着硬件皮的负载均衡器是怎么做到的可以负载几十万的连接数的?其实f5机本身自己使用了多个内网ip地址,一个f5上的内网ip地址拥有连接后端64k连接的能力.那么haproxy支持这样的功能么,从而负载更高的连接数么?经过灿哥的分享,我们知道是可以的,只要给haproxy机配置多个lan内网ip,haproxy机可以通过多个lan内网ip去负载均衡后端服务器.一个内网ip去负载一台后端服务,这样一个haproxy内网ip就有了长64k连接的负载能力了.配置haproxy 用多个lan内网ip做负载均衡,以突破haproxy机只支持64k连接(突破单ip 65535端口限制)配置例子haproxy负载均衡机外网ip: 8.8.8.8haproxy内网ip1: 10.8.8.2haproxy内网ip2: 10.8.8.3haproxy内网ip3: 10.8.8.4后端web1内网ip: 10.8.8.10后端web2内网ip: 10.8.8.11后端web3内网ip: 10.8.8.12server web1 10.8.8.10 : 80 check source&n...
Install Pen to configure Load Balance server. Pen is a light weight simple load balancer. This example shows to configure on the environment like follows(1) rackspace-jon [192.168.58.154] – Pen Server(2) rackspace-nfs01 [192.168.58.152] – Web Server#1(3) rackspace-nfs02 [192.168.58.153] – Web Server#2[root@rackspace-jon ~]# yum -y install http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile* base: centos-mirror.magsnet.net* extras: centos-mirror.magsnet.net* updates: centos-mirror.magsnet.netSetting up Install Processepel-release-6-8.noarch.rpm | 14 kB 00:00Examining /var/tmp/yum-root-G_GHvp/epel-release-6-8.noarch.rpm: epel-release-6-8.noarchMarking /var/tmp/yum-root-G_GHvp/epel-release-6-8.noarch.rpm to be installedResolving Dependencies–> Running transaction check—> Package epel-release.noarch 0:6-8 will be installed–> Finished Dependency ResolutionDependencies Resolved=======...
Zen Load Balancer 3.03 发布,TCP 负载均衡Zen Load Balancer 3.03 包含很多新特性、改进和 bug 修复。Zen 是一个基于 Debian 的发行版,主要用于实现 TCP 的负载均衡。可通过定制的脚本来检查后端的运行状态,通过创建 Zen 集群来实现高可用性。通过 rrd 监控服务器状态,使用基于 HTTPS 的界面进行轻松的性能管理、配置和路由表配置等等。相关链接Zen Load Balancer 的详细介绍:请点这里Zen Load Balancer 的下载地址:请点这里
1.概述    G5是一款高性能高并发负载、易配置使用、支持远程管理的轻量级TCP/IP的通讯转发、(负载均衡)通讯分发器软件。基于epoll(ET)事件驱动非堵塞全异步无锁框架实现(在非Linux操作系统上退化为select实现),能运行在Linux、UNIX和WINDOWS等多种主流操作系统上。    G5支持所有TCP应用层协议,这意味着不仅可以用于网站HTTP服务,还能用在SMTP、POP、FTP上等,甚至非常见TCP应用协议。    G5支持几乎所有主流负载均衡算法,如轮询、最少连接数、最小响应时间等。    使用场景如下:    * 简单的TCP通讯转发    * 与无负载均衡功能的通讯软件配合实现负载均衡分发,避免改造通讯软件带来的工作量和风险    * 网站反向代理通讯网关2.开发背景    今天和系统运维的老大聊天,谈到一直在用的F5,行里对其评价为价格过高、功能复杂难懂,没有发挥相应的价值。因为以前我曾经给行里开发过一个通讯中间件,附带软实现了负载均衡,几年使用下来一直效果不错,突然想自己再软实现一个纯负载均衡通讯分发器,并开源分享给大家。    说干...
Centos6 安装pen 实现负载均衡,下面是web安装实例。 Install pen which is lightweight simple Load Balancing software.It is TCP protocol based, so it's possible to balance not only HTTP but SMTP, FTP, LDAP and so on.This example is based on the environment like follows. | --------+-------------------------------------------------------------------- | +-------------------+--------------------+--------------------+ |10.0.0.30 |10.0.0.51 |10.0.0.52 |10.0.0.53 +------+-----+ +-------+------+ +-------+------+ +-------+------+ | Frontend | | Backend#1 | | Backend#2 | | Backend#3 | | Pen Server | | Web Server | | Web Server | | Web Server | +------------+ +--------------+ +--------------+ +--------------+  Configure Pen to load balance to Backend#1, Backend#2, Backend#3 web servers.[1]Install Pen.# install from EPEL[root@dlp ~]# yum --enablerepo=ep...
Centos7 安装配置vsftpd,ftp 530 /ftp 500 报错解决方法首先安装vsftpd 软件,142  yum -y install vsftpd  143  systemctl enable vsftpd.service   144  systemctl start vsftpd.service 启用vsftpd 服务下面是添加ftpadmin 账号与ftp目录  145  useradd -d /var/www/html/ -s /sbin/nologin ftpadmin#vi /etc/vsftpd.conf将配置文件中”anonymous_enable=YES “改为 “anonymous_enable=NO”取消如下配置前的注释符号:local_enable=YESwrite_enable=YESchroot_local_user=YESchroot_list_enable=YESchroot_list_file=/etc/vsftpd.chroot_list保存退出编辑/etc/vsftpd/chroot_list文件,将ftpadmin的帐户名添加进去,保存退出修改ftpadmin 密码  147  passwd ftpadmin   148  systemctl restart vsftpd.service   修改ftp目录的用户组。  169  chown -R ftpadmin /var/www/html使用ftp功能测试,ftp登陆正常。
    Centos6 配置openvpn,windows客户端   首先安装软件包。   1  yum -y install openvpn easy-rsa 复制配置文件    2  cp -R /usr/share/easy-rsa/ /etc/openvpn/    3  cp /usr/share/doc/openvpn-2.3.2/sample/sample-config-files/server.conf /etc/openvpn安装一些工具,可以不装    4  yum -y install gcc gcc-c++ autoconf automake libtool gettext lzo lzo-devel pam-devel    9  cd /etc/openvpn/easy-rsa/2.0/ 初始化证书的授权中心# source ./vars#./clean-all 创建CA证书和密钥./build-ca   创建服务端的证书和密钥    18  ./build-key-server server6.        创建客户端的证书和密钥   19  ./build-key chenshake   20  ./build-dh 修改系统参数,打开路由包转发功能。   21  vi /etc/sysctl.conf # Controls IP packet forwardingnet.ipv4.ip_forward = 1# Controls source route verificationnet...
您所在的组无权查看该日志
    总共269页,当前第112页 | 页数:
  1. 102
  2. 103
  3. 104
  4. 105
  5. 106
  6. 107
  7. 108
  8. 109
  9. 110
  10. 111
  11. 112
  12. 113
  13. 114
  14. 115
  15. 116
  16. 117
  17. 118
  18. 119
  19. 120
  20. 121
  21. 122